Archived

This topic is now archived and is closed to further replies.

Eight

N-Gons?

Recommended Posts

I was just looking at the documentation for the Wavefront (.obj) format. It seems this format creates faces/planes using a mininum of three vertices but doesn''t specify a maximum. In terms of writing an OpenGL renderer for these objects, is it possible to set OpenGL to render polygons with more than 3 or 4 vertices? I came across talk of using something like GL_POLYGONS which might wait until you specify a closed loop of vertices before it renders. Is this right? Can anyone point me to an example of it Kind regards, E

Share this post


Link to post
Share on other sites