grady

10-02-2000, 11: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.

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

grady

10-02-2000, 11: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, 11: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, 06: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.

He gives a very fast algorithm for calculating vertex normals.

Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.