|
![](/i/fill.gif) |
Christoph Hormann wrote:
> ...
> #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 } }
> }
OK - Now I understand what you mean.
Thank you for showing me this.
Tor Olav
--
mailto:tor### [at] hotmail com
http://www.crosswinds.net/~tok/tokrays.html
Post a reply to this message
|
![](/i/fill.gif) |