PDA

View Full Version : vertex arrays: one normal per point?



grady
10-02-2000, 10:15 AM
You must have to use one normal per point in a vertex array. If you do, is this normal supposed to be the average of the normals of all the planes that the point touches? I'm trying to get light to work. thanks.

DFrey
10-02-2000, 10:31 AM
Generally speaking, yes, that is the usual method for calculating the normal when you want to produce smooth lighting.

DrakanFyr
10-05-2000, 05:12 AM
Check out this tutorial on Nate Miller's page: http://nate.scuzzy.net/normals/normals.html

He gives a very fast algorithm for calculating vertex normals.