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 > length() functi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 765 of 788
Post > Topic >>

length() function accepts point, not vector -- how?

by Jason <jdoucette@[EMAIL PROTECTED] > Apr 4, 2008 at 10:46 AM

I am reading a computer graphics book which contains information
admittedly written originally as a technical paper, and uses RenderMan
code to explain an algorithm, without explaining what the code does or
what the variables mean. I don't know RenderMan code, but with a bit
of research, I've figured out what most of the code does...

I am lost in the length() function, though.  The RenderMan spec says
it returns the length of a vector, but the code p***** it a point.  I
assume it converts the point into a vector, but what is this other
point?

Is it the origin (0,0,0)?
Is it a global variable?  (The length() function is called from within
a 'volume' function, in case this matters.)

Any help is appreciated!
Thanks,
 




 3 Posts in Topic:
length() function accepts point, not vector -- how?
Jason <jdoucette@[EMAI  2008-04-04 10:46:57 
Re: length() function accepts point, not vector -- how?
"jjcoolkl@[EMAIL PRO  2008-04-06 05:12:33 
Re: length() function accepts point, not vector -- how?
Jason <jdoucette@[EMAI  2008-04-07 12:09: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 13:01:32 CST 2008.