POV-Ray : Newsgroups : povray.general : isosurface bushes : Re: isosurface bushes Server Time
31 Jul 2024 18:14:59 EDT (-0400)
  Re: isosurface bushes  
From: Jaime Vives Piqueres
Date: 27 Dec 2006 05:57:53
Message: <459251b1$1@news.povray.org>
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

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