Hi everyone:
I’m using opengl integrated with the cad software “solid edge”.
I need to create a mesh of triangles, all with different colors, according to a specific criterion that is not important right now.
My problem is that if I use glBegin with GL_TRIANGLES, creating a lot of independent triangles, it gets to heavy to work with solid edge, but I can’t figure out any other solution because if I use glBegin with GL_TRIANGLE_STRIP, which would optimize the visualization in solid edge, I can’t give different colors to different triangles.
Can anyone help me?