View Full Version : BackFace Culling Swapping
Is it possible to switch which side of a polygon is treated as the back face during rendering or can it only be set once?
Yes itīs possible....Unforunately I forgot how it is called.Look for something like glPolygonWinding or glWinding.
09-07-2000, 03:25 PM
glFrontFace(GL_CCW) or glFrontFace(GL_CW)
read the red book ...
I have almost finished the red book niko and you are wrong, as far as I know they can only be called in an init routine.
09-08-2000, 10:26 AM
You can call glFrontFace anytime as long there is a valid rendering context and it is not inbetween glBegin/glEnd.
Thanks for the clarification
09-08-2000, 11:36 PM
There is also glCullFace(GL_FRONT) and glCullFace(GL_BACK), glFrontFace() determines what is front and back and glCullFace() determines which side should be culled.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.