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,


|