|
|
In article <3a1524e7@news.povray.org>, "Wlodzimierz ABX Skiba"
<abx### [at] abxartpl> wrote:
> yes, there could be checking for proper mesh
> i.e. looking for declaration of inside_vector or something
Insideness checking won't be enough, the isosurface solving method
requires a continuously changing function, so you would need something
which changes depending on distance from the surface of the mesh and
which has a different sign on the inside of the mesh than on the outside.
A proximity function which decreases/increases linearly from 0 at the
surface of the mesh, negative "inside" the mesh and positive "outside"
the mesh would probably work quite well, but be slow, especially for
large meshes, and not exactly easy to code...
--
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
<><
Post a reply to this message
|
|