POV-Ray : Newsgroups : povray.general : undocumented isosurfaces functions : Re: undocumented isosurfaces functions Server Time
9 Aug 2024 11:27:17 EDT (-0400)
  Re: undocumented isosurfaces functions  
From: Chris Huff
Date: 27 Jul 2000 11:07:24
Message: <chrishuff-29B6FF.10080727072000@news.povray.org>
In article <397FF3F8.1CD236F3@skynet.be>, Fabien Mosen 
<fab### [at] skynetbe> 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] maccom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.