|
 |
Tor Olav Kristensen wrote:
>
> > On the other hand it does not work with 'method 2' and things like surface
> > perturbation with noise3d and pigment functions.
>
> Ehhh... I know nothing about this.
> You see - I'm a newbie to MegaPOV and iso-surfaces.
>
just have a function like:
#declare fnBumps=function { noise3d(x*12, y*12, z*12) }
or
#declare fnBumps=function { pigment { agate color_map {[0 rgb 0][1 rgb 1]} } }
and add/substract it to/from the isosurface function like this:
isosurface{
function { (sqrt(x*x + y*y + z*z) -0.9) -fnBumps(x,y,z)*0.1 }
method 2
accuracy 0.001
eval
contained_by{ sphere{ <0,0,0> 1.2 } }
}
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |