View Full Version : 8 sided solid
08-26-2001, 09:33 PM
I'm trying to draw a 8 sided 3D polygon.
Is there an order to drawing the faces???
like I have to draw the top followed by the right face etc etc???
08-26-2001, 10:15 PM
Do you mean that you want to draw an 8 sided object (with 8 polygons) or one 8 sided polygon ?
By default you draw polygons counter clockwise, but you can change that if you want to, if you mean that you have to draw the polygons in a specific order, then the answer is no, you can draw them in any order you want.
If you use glBegin( GL_POLYGON) then this only works with convex polygons. For non convex polygons you have to use the glu tesselator.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.