|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I see this at Jaime Vives Piqueres's site:
http://www.ignorancia.org/uploads/tools-and-objects/geomorph/wips/demo_geomorph-08.jpg
so, how can I create isosurface bushes like those? and particullary, how can
I displace the brushes on the landscape? (I'd like to see a code sample..)
I hope someone can help me..thank you very much..
Alberto.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"albe99" <alb### [at] hotmailit> schreef in bericht
news:web.45914c76ecda17eeb5468cb60@news.povray.org...
>I see this at Jaime Vives Piqueres's site:
>
http://www.ignorancia.org/uploads/tools-and-objects/geomorph/wips/demo_geomorph-08.jpg
>
> so, how can I create isosurface bushes like those? and particullary, how
> can
> I displace the brushes on the landscape? (I'd like to see a code sample..)
>
For placing objects on a surface, use the trace() function. There are demo
scenes coming with POV-Ray in the scenes\language directory. Also, see the
thread "Use slope pattern for planting distribution?" in the
povray.advanced-users. On 13-12-2006 I put there a piece of code that does
it. Please read also the whole thread as there is info there.... and see the
relevant documentation of course :-)
Thomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:
> 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
very good! now I can try to make it...thank you very much for this useful
code..
Alberto.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
> For placing objects on a surface, use the trace() function. There are demo
> scenes coming with POV-Ray in the sceneslanguage directory. Also, see the
> thread "Use slope pattern for planting distribution?" in the
> povray.advanced-users. On 13-12-2006 I put there a piece of code that does
> it. Please read also the whole thread as there is info there.... and see the
> relevant documentation of course :-)
>
> Thomas
...very interesting..thank you Thomas..
Alberto.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |