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, 04: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, 11: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-09-2000, 12:36 AM
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.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.