|
![](/i/fill.gif) |
In article <397FF3F8.1CD236F3@skynet.be>, Fabien Mosen
<fab### [at] skynet be> wrote:
> Could someone explain to me, briefly, the meaning of the following
> isosurfaces functions :
>
> r, s, %, min(), max().
min() and max() take two parameters, and return the lesser and greater
of the two respectively. min(A, B) will return A if it is lower than B,
and B if it is lower than A, max() does the opposite, returning the
greater value.
% is modulus
! is factorial
^ is exponentiation
t is the clock value, according to the function pattern documentation,
however, the isoblob functions also use r, s, and t. In isoblobs, they
are the coordinates of something...I'm not sure what, though. Looking at
the code, it seems to be coordinates in "component space", after the
transformations are done, while x, y, and z would be absolute,
non-transformed coordinates.
Take this with a grain of salt though...I find this portion of the code
difficult to read(argh, more global variables!).
--
Christopher James Huff - Personal e-mail: chr### [at] mac com
TAG(Technical Assistance Group) e-mail: chr### [at] tag povray org
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |