Silicon Graphics

[Prev] [TOC] [Next]



(-) OpenGL Programming Guide
(-) Glossary

normalized

Divide each of the components of a normal by the square root of the sum of their squares. Then, if the normal is thought of as a vector from the origin to the point (nx', ny', nz'), this vector has unit length.

factor = sqrt(nx2 + ny2 + nz2)

nx' = nx / factor

ny' = ny / factor

nz' = nz / factor


[Prev] [TOC] [Next]

OpenGL Programming Guide


Maintained by Maintainer: Send e-mail to .htm">name@address.