TyFlow Particle Interface Bug (SDK)
#1
Hello,

It appears that the TyFlow particle interface does not like updating outside of the animation range.   Some renderers will request frames outside of the animation range in support of motion blur.    Sample code below:


            ObjectState tos =  node->EvalWorldState(t,TRUE);

            // See if it is particle
            IParticleObjectExt* epobj = (IParticleObjectExt*)tos.obj->GetInterface(PARTICLEOBJECTEXT_INTERFACE);
            if (epobj) {
                //   The below will fail for values of "t" less than 0
                epobj->UpdateParticles(node, t);
  Reply
#2
Can you describe the failure you're experiencing? Is it crashing?

A simple test with Frost meshing a tyFlow using IParticleObjectExt doesn't reveal any issues when rendering (using VRay w/moblur on) outside of the animation range, and internally tyFlow is completely anim-range-agnostic.
  Reply


Forum Jump: