Rendering Polygons In OpenGL ES 1.x


I have a question about rendering polygons in OpenGL ES ! Can i Render the polygon with 3 vertices like a triangle and polygon with 4 vertices Like 2 triangle ?

Yes, you can draw either separate triangles or triangle strips. However if you have faceculling, you need to be aware that triangles have a front and back faces based on the order of the verts. (e.g. clockwise, counter clock wise). Think right handed rule, like cross product. You can also control which direction should be the front face.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.