How to add Facets to DzFacetMesh from dword* buffer?
LpProject
Posts: 41
I have float* vertex and normal buffer.
And dword* triangles buffer.
Now, In my project for add each triangle to DzFacetMesh, I call addFacet for each triangle.
But when my triangle buffer large this operation took long time. Example.for 131 328 triangles and 66 117 vertexs it take average 6.5 secs.
Now, question.How can I add triangle(facets) buffer to DzMeshFacet in signle operation, without for/while cycle?
Comments
I went through this a while back and didn't find a way to do it from a buffer, but calling preSize up front makes it much faster. Example below from Ground Control
Regards,
Thanks. It helps.
But it is very bad when we can't work with buffers.