Ive made some pyramids and i want to add light, but i have to find the normals. I know what a normal is, but how do i find it? For a cube, it would be pretty easy. But the pyramids triangles have a slant to them. Is there some program that will find it for me? Or is there some formula?
Posted on 2002-05-29 21:18:30 by ChimpFace9000
You use a cross product.

I found this, which explains it reasonably well:

I hope you can survive some C++ code!
Posted on 2002-05-30 00:55:26 by gliptic
Never forget the boards search function, theres a wealth of information here. :)

Calculating Normals
Posted on 2002-05-30 12:07:39 by Eóin