Notifications
Clear all

[Closed] Lots of small issues exporting Particle Flow with sdk

All this is related to particle flow but since I’m using IParticleObjectExt probably it could be extended to others.


 ObjectState os = node->EvalWorldState(currentTime);
      IParticleObjectExt* epobj;
      epobj = (IParticleObjectExt*) os.obj->GetInterface(PARTICLEOBJECTEXT_INTERFACE);
  - The first one is that I'm limited by the % of the particles visible on the viewport but no by the % seen in the Particle View editor. What I tried to fix it? Try to update all them:

 cnode->RenderBegin(currentTime);
      epobj->UpdateParticles(cnode,currentTime);
      Object *pobj = cnode->EvalWorldState(currentTime).obj;
      pobj->RenderBegin(currentTime);

Any idea? Code snippets? Thanks in advance for your time!