normals and quad strips
Any help in the following problem would be greatly appreciated.
I''m using a quad strip to draw four polygons (4 sides of a cube, and then drawing the left and right sides in another statement), and trying to figure out where to specify the normals for each polygon. Since each pair of vertices is used basically to specify 2 different polygons, i''m not sure where to put my glNormal3f call (assuming i''m just using one normal per polygon surface).
I read somewhere u specifiy, for the i''th polygon, before the (2i + 2) polygon (So for the first polygon i''m specifying in between my 3rd and 4th calls for glVertex3f), but it doesn''t seem to look exactly right.
any help would be greatly appreciated (if the above looks like i''m doing it correctly already, then it''s probably the normals i''m using, not where i''m specifying them, but that''s another matter). Thanks a lot.
MelvinElvin.
GSACP: GameDev Society Against Crap PostingTo join: Put these lines in your signature and don't post crap!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement