i’m sure it’s a dumb question but I could not find a better solution.
What i have is an already triangulated mesh from a point cloud. Now i want to visualize it in Rhino by creating an ON_Mesh. For this i create a lot of ON_Mesh instances with RhinoMeshFace for each triangle and put it all together with ON_Mesh::Append. But for large meshes it’s pretty slow.
So what i’m looking for is a faster way to create an ON_Mesh directly from the list of triangles?
yes i already tried it by adding the data to the list of vertices and the list of faces, but the mesh does not recognize this data when i add it to the document.
So can you give me a rough idea howto fill the data in an ON_Mesh?