TyFlow Particle Interface Bug (SDK) - Printable Version +- tyFlow Forum (https://forum.tyflow.com) +-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html) +--- Forum: Bugs and Issues (https://forum.tyflow.com/forum-3.html) +--- Thread: TyFlow Particle Interface Bug (SDK) (/thread-843.html) |
TyFlow Particle Interface Bug (SDK) - boomerlabs - 06-30-2019 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); RE: TyFlow Particle Interface Bug (SDK) - tyFlow - 07-01-2019 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. |