POV-Ray : Newsgroups : povray.text.tutorials : Arbaro??? : Re: Arbaro??? Server Time
6 Oct 2024 04:06:27 EDT (-0400)
  Re: Arbaro???  
From: MontanaSteve
Date: 30 Apr 2005 00:00:01
Message: <web.427302208a0e3e24df29ce730@news.povray.org>
Thanks Mike, I tried that and it worked great. Good greif! The inc file is
over 18,700 lines.

Mike Kost <con### [at] povraytashcorpnet> wrote:
> I'm assuming that you've already exported the include file. The include file
> has 3 declares in it:
> - #declare NAME_height = X;
> - #declare NAME_stems = mesh2 { };
> - #declare NAME_leaves = mesh2 { };
>
> When I exported the desert bush (desert_bush.inc), for example, the "NAME"
> was desert_bush_13 and I had:
> - #declare desert_bush_13_height = 3.07616;
> - #declare desert_bush_13_stems =
> - #declare desert_bush_13_leaves = mesh2 {
>
> I don't know where the 13 came from :)
>
> To get a quick look at the tree, I used the following:
> -----<snip>--------
>
> camera { location <0,5,5> look_at <0,1,0> angle 60 }
>
> light_source {
>     <0,20,0> color rgb 1.0
>     area_light
>     <0,0,0.5>, <0.5,0,0>, 3, 3
>     adaptive 2
>     circular
> }
>
> // -+-+-+- Tree -+-+-+-
> #include "desert_bush.inc"
>
> object {
>     desert_bush_13_stems
>     texture {
>         pigment { color rgb <0.57/1.5, 0.41/1.5, 0.37/1.5> }
>         finish { ambient 0.5 }
>     }
> }
>
> object {
>     desert_bush_13_leaves
>     texture {
>         pigment { color rgb <0, 1, 0> }
>         finish { ambient 0.5 }
>     }
> }
>
> -----</snip>-------
>
> Happy rendering,
>
> Mike
> --
> http://povray.tashcorp.net
>
> MontanaSteve wrote:
> > I just downloaded the latest version of Arbaro and find that the
> > documentation is not designed for new users.  All right now, how do I get
> > any trees into a POVray scene?. I did a Google seach and most of the sites
> > are in languages that I cannot read.  Can someone please help me?


Post a reply to this message

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