|
![](/i/fill.gif) |
Hi Alberto:
>
http://www.ignorancia.org/uploads/tools-and-objects/geomorph/wips/demo_geomorph-08.jpg
>
> so, how can I create isosurface bushes like those?
Those are very simple:
#declare tree1=
isosurface{
function{f_sphere(x,y,z,1) + f_granite(x*.125,y*.125,z*.125)*.9 -
f_granite(x*2,y*2,z*2)*.9}
max_gradient 1
contained_by{sphere{0,2}}
texture{t_tree1}
double_illuminate
}
and the texture is a simple granite pattern with several greens on
the color map. About placing them over the landscape, see the trace()
function on the docs: it's very easy to use against any object (a
heightfield in this case).
--
Jaime
Post a reply to this message
|
![](/i/fill.gif) |