Your mesh is in only triangle lines. My program colors inside the triangle, I need to show only vertexes, I mean empty triangles. Just as the photos you shared above, I could not achieve same
I achieved that by setting
material.getAdditionalRenderState().setWireframe(true);
@jayfella thank you so much You are the savior of the day !
I’m interested in how to keep the boundary of my model and reduce the number of meshes. I don’t see how he knows that an edge is a boundary, why all the edges of my model are judged to be boundaries, resulting in no mesh simplification
@collin:
Is your mesh indexed to eliminate duplicate vertices?
Any mesh algorithm that deals with shared edges will probably want an indexed mesh.
@sgold :
Hello, thank you very much for your answer! Yes, my grid index is to eliminate duplicated vertices, and I’m using the GLTF model, which is stitched together from a number of panels, and I want to eliminate excess triangular meshes on the panels, but using this algorithm will create some holes, I think is not open the reserve boundary switch, I do not know if this algorithm can deal with a lot of triangular mesh plane plate, and keep the shape of the plate