optmisating triangles drawing

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

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.)