COMPONENTS



FLT2PT

Click box to see full description


This function takes a float, A and returns the point (A,A,A).

FLT2NORM

Click box to see full description


This function takes a float, A and returns the normal (A,A,A).

FLT2VECT

Click box to see full description


This function takes a float, A and returns the vector (A,A,A).

FLT2COLOR

Click box to see full description


This function takes a float, A and returns the color(A,A,A).

COLOR2RGB

Click box to see full description


This function returns the red, green and blue components of the color.

RGB2COLOR

Click box to see full description


This function takes the three floats and
returns a color with those red green blue components.

COLOR2PT

Click box to see full description


This function takes a color, C and returns the point (R,G,B).

COLOR2NORM

Click box to see full description


This function takes a color, C and returns the normal (R,G,B).

COLOR2VECT

Click box to see full description


This function takes a color, C and returns the vector (R,G,B).

CTRANSFORM

Click box to see full description


This function transforms the input color, C 
from the "FROM" color space into the "TO" color space.
The available color spaces are: rgb, hsv, xzy, xyY, YIQ.

PT2XYZ

Click box to see full description


This function returns the xyz components of a point.

XYZ2PT

Click box to see full description


This function takes the three floats and
returns a point with those xyz components.

PT2NORM

Click box to see full description


This function takes a point and returns a normal.

PT2VECT

Click box to see full description


This function takes a point and returns a vector.

PT2COLOR

Click box to see full description


This function takes a point and returns the color(X,Y,Z).

NORM2XYZ

Click box to see full description


This function returns the xyz components of a normal.

XYZ2NORM

Click box to see full description


This function takes the three floats and
returns a normal with those xyz components.

NORM2PT

Click box to see full description


This function takes a normal and returns a point.

NORM2VECT

Click box to see full description


This function takes a normal and returns a vector.

NORM2COLOR

Click box to see full description


This function takes a normal and returns the color(X,Y,Z).

VECT2XYZ

Click box to see full description


This function returns the xyz components of a vector.

XYZ2VECT

Click box to see full description


This function takes the three floats and
returns a vector with those xyz components.

VECT2PT

Click box to see full description


This function takes a vector and returns a point.

VECT2NORM

Click box to see full description


This function takes a vector and returns a normal.

VECT2COLOR

Click box to see full description


This function takes a vector and returns the color(X,Y,Z).

GETARRAY

Click box to see full description


Gets the value of one component of an array.

SETARRAY

Click box to see full description


Sets the value of one component of an array.

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