Jump to content
  • Advertisement
Sign in to follow this  
subflood

OpenGL Front Face vs. Back Face Polygons

This topic is 4922 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

A front face quad in OpenGL would be drawn like this: B. left B. Right T. Right T. Left counter-clockwise. What is you want the back face of a polygon facing the viewer? How would you start? Like this: T. Left T. Right B. Right B. Left ? Say I draw a quad with CCW vertices, would calling glFrontFace(GL_CW) reverse the way the polygon faces?

Share this post


Link to post
Share on other sites
Advertisement
Well, I figured it all out after some trial and error but basically I had a problem with textures positioned the wrong way and I thought that the way I was drawing quads was the problem but in fact it was texture mapping at fault.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!