<kungfuelmosan@[EMAIL PROTECTED]
> wrote:
> color CN = color( NN[0], NN[1], depth(P) );
>
> that should work right?
Try:
color CN = color( xcomp(NN), xcomp(NN), depth(P) );
Accessing point components as arrays is possible in some newer versions
of some implementations. However it's not in the RenderMan spec and
certainly isn't a ****table way to write shaders at this time.
Rick LaMont
Dot C Software, Inc.
http://www.dotcsw.com/


|