NTRANSFORM

THE BOX'S MAIN HELP:
This function transforms the input normal, NN from the "FROM" 
coordinate system into the "TO" coordinate system.
The available coordinate systems are: "world", "camera",
"object", "shader", "screen", "NDC" and "raster".
A matrix may also be used to tramsform the normal, NN.

FROM (input):
The point is transformed from this coordinate system.
The default is "current".  The available coordinate systems are:
"world", "camera", "object", "shader", "screen", "NDC" and "raster".

TO (input):
The normal is transformed to this coordinate system or by the matrix.
The default is the "shader" coordinate system.  The available coordinate
systems are: "world", "camera", "object", "shader", "screen", "NDC" 
and "raster".  The matrix defaults to the identity matrix.

NN (input):
The normal to be transformed into a new space.  
The default is the surface normal, N.

OUT (output):
This function transforms the input normal, NN from the "FROM" 
coordinate system into the "TO" coordinate system.
The available coordinate systems are: "world", "camera",
"object", "shader", "screen", "NDC" and "raster".
A matrix may also be used to tramsform the normal, NN.

<-- BACK TO Vector

© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.