Sorry for a stupid question... actually how does it determine which face is "back"?
I have 3 vertex:
and I have the camera:
But when I turn it off or use the Clockwise mode, I clearly see that, with differently colored vertex, my triangle vertex are counterClockwise... (v0 on top, v1 left and v2 right)
Im mad with this, anyone got the same question? I really cant understand this...
I have 3 vertex:
v0: (0, 1, 2)
v1: (0, 0, 2)
v2: (1, 0, 2)
which form a simple right-angled triangle.v1: (0, 0, 2)
v2: (1, 0, 2)
and I have the camera:
position: (0, 0, -5)
lookAt: (0, 0, 0)
Up: (0, 1, 0)
when I use the default culling mode (counterClockwise), I cant see the triangle...lookAt: (0, 0, 0)
Up: (0, 1, 0)
But when I turn it off or use the Clockwise mode, I clearly see that, with differently colored vertex, my triangle vertex are counterClockwise... (v0 on top, v1 left and v2 right)
Im mad with this, anyone got the same question? I really cant understand this...