PDA

View Full Version : Maximum vertices for a GL_POLYGON?



10-11-2001, 09:08 AM
When creating polygons with a large number of vertices, OpenGL seems to automatically tesselate the primative such that no more than 60 vertices are listed for a single polygon - effectively, a polygon is decritized into smaller primitives. While I do eventually want to tesselate these primitive, I need more control.

Is there any way to control the number of maximum vertices in a polygon before it is automatically divided?

Much thanks,
Holt

V--man
10-13-2001, 01:50 AM
Its a limitation with your opengl implementation. Dont remember seeing anything about vertex limits for GL_POLYGON. You should try to use GL_TRIANGLE_FAN instead.

V-man