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

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

by "jjcoolkl@[EMAIL PROTECTED] " <jjcoolkl@[EMAIL PROTECTED] > Apr 6, 2008 at 05:12 AM

Every point in space can be thought of as either a point or a vector
between the origin and that point.  The function probably is doing the
latter.

Euclidian space always has this dual-interpretation, but my
understanding is that Affine spaces do not.

-JK


On Apr 4, 1:46=A0pm, Jason <jdouce...@[EMAIL PROTECTED]
> wrote:
> 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. =A0The RenderMan spec says
> it returns the length of a vector, but the code p***** it a point. =A0I
> 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? =A0(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:04:36 CST 2008.