Hello,
I have problems with the backfac culling with lwjgl.
When i enable BackFaceCulling and go with my camera around a object,
the faces will not be drawn.
How can I refresh the backface culling ? (I use a camera with gluLookAt() )
best regards,
g4m0r
Backface culling is implemented by looking at the direction of vertices when rendered (Clockwise or counter-clockwise) specified by the glCullFace function.
My guess is that you are drawing your back vertices in the wrong order so that when you rotate to the other side of your model they are drawn in the wrong direction.
See http://www.opengl.org/wiki/Face_Culling for more information since I'm bad at describing it. :P
EDIT: Here is a more visual explanation (scroll down a little): http://www.devmaster.net/forums/showthread.php?t=487
ok, thx for your help!