glNormal?
Can someone tell me what exactly does glNormal do, what does it affect, and how is it used? Thanks.
glnormal specify the normal,orthogonal perpendicolar or whatever you want to call it for you polygon.
it affect most lighting ,clipping and can be used for collision
it affect most lighting ,clipping and can be used for collision
I knew that
So basically for every triangle I draw I should specify glNormal? What if I don''t specify it, can you tell me exactly what differences I''m gonna have?
So basically for every triangle I draw I should specify glNormal? What if I don''t specify it, can you tell me exactly what differences I''m gonna have?
Normals are used for lighting. If you use lighting, you must specify normals. If you don''t specify them, they''ll be lit incorrectly (if at all).
Hope that helps,
Nicodemus.
----
"When everything goes well, something will go wrong." - Murphy
Hope that helps,
Nicodemus.
----
"When everything goes well, something will go wrong." - Murphy
if you don''t calculate the normal for every polygon when you enable lighting the model appear as 2d!
i have solved yesterday this,it was getting me mad!
i have solved yesterday this,it was getting me mad!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement