PDA

View Full Version : optmisating triangles drawing



ybenaabud
03-01-2004, 06:31 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

Nychold
03-01-2004, 06:52 AM
This seems like a Math/Algorithm problem, and less like an OpenGL problem. Try posting this message there, and give them much more detail than this (ie: source code, algorithm idea, etc.)