When to define normals
My question is when should glNormal be called?
Whenever i do a triangle strip i end up with a dark spot at the first and last pair of verteces. as i understand it, i should call the first two verteces then a normal, vertex, normal, vertex.... but obviously this isnt right, should i be defining a normal for each vertex instead?
~DemOSh
juha@pacbell.net
What your doing is wrong, dunno where you got that idea from. If you want to use a single face normal you make a glNormal() call before all of the glVertex() calls. If you want to use vertex normals you make a normal call before each vertex call.
Nate Miller
http://nate.scuzzy.net
Nate Miller
http://nate.scuzzy.net
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement