Triangle Strips and the lighting thereof
I was putsing around with triangle strips, when I had the need to light them up. I can gleefully generate the face normal of the first triangle, but everything after that (yes, I''m using proper ordering) doesn''t display correctly.
In a desperate attempt, I tried every possible order of vertex coords in my face normal rendering function, and none of them worked. Eventually, I tried inputing the normal myself (the second of my triangles has a normal of 0, -1, 0) and that didn''t even work.
Exhausting my poor, little brain on Google, I was unable to find a solution. I''d like some information on what''s happening, and what are the specifics on lighting a triangle strip per-side.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement