AcDbSubDMesh::setVertexTextureArray() too slow

AcDbSubDMesh::setVertexTextureArray() too slow

AsuniLands
Explorer Explorer
269 Views
0 Replies
Message 1 of 1

AcDbSubDMesh::setVertexTextureArray() too slow

AsuniLands
Explorer
Explorer

Hi,

I noticed that:

  1. AcDbSubDMesh::setVertexTextureArray() requires the mesh entity to had been appended to the database in order to work.
  2. When the number of vertices is large (+10000) it takes a long long time to end (several seconds or even minutes)

Is the function creating some sort of subentities? Is there a way to avoid it? I'm using simple meshes, with subd level set to 0, and I don't need subd.

 

Thanks!

0 Likes
270 Views
0 Replies
Replies (0)