|
|
In article <3A1E9A74.B6428D71@schunter.etc.tu-bs.de>,
chr### [at] gmxde wrote:
> Every CSG made of cylinders, spheres, cones, boxes, torii should be quite
> easy to convert to a smooth isosurface function, the more difficult things
> are lathe, prism and meshes.
A sor should be pretty easy, a lathe shouldn't be extremely difficult. A
mesh may not be a huge problem either. Simple convex prisms also
wouldn't be hard, but concave or self-intersecting prisms could be a
bigger problem.
Basically the distance of the nearest point on the surface, with a
negative sign if inside the object and a positive sign if outside.
This is what my proximity pattern will eventually do.
--
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
|
|