Closed Meldryt closed 2 years ago
You could look into visualizer code to see how triangles can be retrieved and rendered: https://github.com/artem-ogre/CDT/blob/master/visualizer/main.cpp For example, here's the loop that draws triangles: https://github.com/artem-ogre/CDT/blob/master/visualizer/main.cpp#L296
Each triangle is represented by three indices into the cdt.vertices
array.
thx. its working now.
Hi, I am currently trying to figure out how to use processed triangle and vertices to draw them as triangles, but i get weird results. Are the indices and vertices ready to use or do i have to go through neighbors or something? Can you show an example how you to access the processed data?