Jump to content

Rendering vertex arrays without creating a mesh


photo

Recommended Posts

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

 

Link to comment
×
×
  • Create New...