triangle normal vector

Started by
10 comments, last by lakibuk 23 years, 7 months ago
Witchy... I mean A.Jey

Double post?

something''s wrong here...

-------------------------------
I'll screw up whoever screws around with the gamedev forum!

..-=gLaDiAtOr=-..
Advertisement
quote:
This is why counter-clockwise triangles are culled in D3D and clockwise triangles are culled in OGL.


FYI - You can change the direction of culling with this function in OpenGL: glFrontFace(GL_CCW); or glFrontFace(GL_CW);

In my game I use GL_CCW. It seems to work with all the 3d file formats that I have written code for.

This topic is closed to new replies.

Advertisement