OpenGL renderer requires CCW front face
Posted: Sun Nov 14, 2010 10:46
Hi, just to let you know: I got this wonderful library working, but what had me stumped for a while is the fact that the OpenGL-renderer requires the triangle winding to be set to counter-clockwise.
This of course is easily fixed by adding to void OpenGLRenderer::beginRendering() the line:
This of course is easily fixed by adding to void OpenGLRenderer::beginRendering() the line:
Code: Select all
glFrontFace(GL_CCW);