Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > RenderMan interface > Referencing a `...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 745 of 788
Post > Topic >>

Referencing a `normal` array element?

by kungfuelmosan@[EMAIL PROTECTED] Sep 15, 2007 at 03:47 AM

I just went to compile my shader (3Delight 6.5) and im getting errors
for trying to get an array element from a normal variable? I just
compiled the same shader at work with same version of 3Delight
yesterday morning and it worked fine?

    normal NN = normalize(N);
    color CN = color( NN[0], NN[1], depth(P) );

returns:

    ERROR: variable 'NN' is not an array

that should work right?

Thanks in advance
 




 3 Posts in Topic:
Referencing a `normal` array element?
kungfuelmosan@[EMAIL PROT  2007-09-15 03:47:26 
Re: Referencing a `normal` array element?
Rick LaMont <lamont@[E  2007-09-15 20:02:48 
Re: Referencing a `normal` array element?
Olivier3001@[EMAIL PROTEC  2007-09-17 06:21:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 12:57:53 CST 2008.