Archived

This topic is now archived and is closed to further replies.

jgb_irish

Triangle front or back facing??

Recommended Posts

Could you clarify your question a bit?

Usually when the back face culling is implemented in screen space, you perform a test to see if the winding order of the vertices is clockwise or counter-clockwise (the coordinate system (LH/RH) will determine which of these two is front-facing).

You say that you already know the triangle''s vertices are counter-clockwise in screen space so I don''t understand what you''re asking.

Share this post


Link to post
Share on other sites
At least in OpenGL, you can specify either clockwise or
counter-clockwise as the "front" (GL_CW, GL_CCW). So the
question is, which one are you using as the "front"? Since
you already know your triangle is counter-clockwise...


~~~~
Kami no Itte ga ore ni zettai naru!

Share this post


Link to post
Share on other sites