ybenaabud
03-01-2004, 06:03 AM
Hi everybody,
I have a compicated algorithm that gives me à lot of triangles (3D scene)... the problem is that some times it gives me 6 points for a rectangle... and we know that I need only 4 points (using glBegin(GL_TRIANGLE_STRIP)) so how can I do to reoganise my points (triangle) to have minimum points possible (for better performance and less momory)
think you
I have a compicated algorithm that gives me à lot of triangles (3D scene)... the problem is that some times it gives me 6 points for a rectangle... and we know that I need only 4 points (using glBegin(GL_TRIANGLE_STRIP)) so how can I do to reoganise my points (triangle) to have minimum points possible (for better performance and less momory)
think you