POV-Ray : Newsgroups : povray.general : Isosurface media question : Re: Isosurface media question Server Time
11 Aug 2024 11:26:23 EDT (-0400)
  Re: Isosurface media question  
From: Bill DeWitt
Date: 7 Sep 1999 20:36:01
Message: <37d5af71@news.povray.org>
Peter Popov <pet### [at] usanet> wrote in message
news:YEHTN98AgfONAna9Zlxr9xZUrTnB@4ax.com...
> Here's a formula that John VanSickle gave me when I was looking for a
> way to make toroidal media:
>
> sqrt( y*y + (sqrt(x*x+z*z)-1)*(sqrt(x*x+z*z)-1) )
>
> This makes a torus of major and minor radii 1. Some tweaking of the
> frequency and phase keywords might be necessary. Enjoy.
>

    I am having the same problem with this that I have had with other
formulas. It appears to make an intersection of two spheres with a sphere
punched out of the middle.

    This make a good torus in an Isosurface statement, but chops off the
inner curve in media. I tried laying it over a spherical and cylindrical
density and playing with the density in a color_map but all that gave me was
a faded convex edge (see p.b.i.)

    Did you have any better results with media?


Post a reply to this message

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