POV-Ray : Newsgroups : povray.newusers : isosurface question : Re: isosurface question Server Time
4 Nov 2024 19:21:34 EST (-0500)
  Re: isosurface question  
From: Mike Williams
Date: 7 Apr 2003 13:40:18
Message: <j94UREAOebk+EwWY@econym.demon.co.uk>
Wasn't it J Tellings who wrote:
>Hi,
>
>Is it possible to make a noise3d isosurface on a sphere_sweep ?

It's possible to approximate some sphere_sweeps with isosurfaces, using
the spline functions as parameters to the isosurface function.

Observe the fourth and fifth examples on 
<http://www.econym.demon.co.uk/isotut/more.htm>
and imagine also using a second spline function to specify the square of
the radius instead of using the fixed value (0.05 in the example)
(assuming you do want to vary the radius in your particular example).

You have to use a second spline, because spline functions only have
three co-ordinates whereas the splines used within sphere_sweeps control
an <x,y,z> position plus a radius.

Those examples are actually "hoop sweeps" rather than a sphere_sweeps,
but if your particular sphere_sweep doesn't twist too much, such a hoop
sweep might well look reasonable. 

Once you've got it as an isosurface, you can add f_noise3d() to it.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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