Jump to content

Rendering vertex arrays without creating a mesh


photo

Recommended Posts

Posted

Hi,

I'm have code that renders a hierarchy of vertex buffers in Unigine and I have to create an ObjectMeshDynamic for each vertex array to render it.

The problem with that, is ObjectMeshDynamic objects are persistent, so if on the next frame i don't want to render that ObjectMeshDynamic i have to manually set it to be disabled, or delete it, which is really annoying because then i have to track all of the objects i have created.

What would be better if i could just pass a vertex / index array to Unigine to render that frame. Is that possible?

Cheers

 

Posted

Is there much of an associated performance penalty if i'm creating multiple MeshDynamics per frame?

 

Posted

Looks like MeshDynamic doesn't exist in Unigine 2.6.1, is there an equivalent?

×
×
  • Create New...