|
![](/i/fill.gif) |
> Here's a rather artificial case where a bounding sphere is faster
>
> #include "functions.inc"
> camera { location <0, 0, -4> look_at <0, 0, 0> angle 50}
> light_source {<-100,200,-100> colour rgb 1}
>
> #declare Thing =
> isosurface {
> function { x*x + y*y + z*z - 1 + f_noise3d(x*10, y*10, z*10)*0.3}
> max_gradient 5
> contained_by{sphere{0,2}}
> pigment {rgb 1}
> bounded_by {box {-1,1}}
> //bounded_by {sphere {0,1}}
> }
>
> object {Thing}
Thanks... I see what I was missing now.
Carl
Post a reply to this message
|
![](/i/fill.gif) |