POV-Ray : Newsgroups : povray.advanced-users : next step (long and perhaps nothing interesting) : Re: next step (long and perhaps nothing interesting) Server Time
29 Jul 2024 22:20:04 EDT (-0400)
  Re: next step (long and perhaps nothing interesting)  
From: Chris Huff
Date: 17 Nov 2000 19:13:04
Message: <chrishuff-BF865D.19132217112000@news.povray.org>
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

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