POV-Ray : Newsgroups : povray.general : error in vegetate.inc : Re: error in vegetate.inc Server Time
7 Aug 2024 19:24:44 EDT (-0400)
  Re: error in vegetate.inc  
From: C J  - POV User
Date: 23 Jun 2001 10:51:36
Message: <3b34acf8@news.povray.org>
You win the prize Mark! I found the source of the warning. "TREE" is the
Birch settings from tom tree. Tom Tree and Vegetate both use bounding. To
get around this went into Hammapatch and made a basic palm instead. This
worked OK, but would generate a page falt in windows, if I had more than 200
objects in code (VEGEnumber = 200).  200 was not a high enough number of
objects for my island, so I went and pruned my palm back in Hamma and was
able to generate more than 200. But it was very slow...So I remove the
flower and the palms. Now I'm working with the rocks and a simple grass
model. this allows me to add 10000 objects with out it dying on me. =^)


--
C.J. - POV User
POV Ray Study Gallery
http://hyperion.spaceports.com/~povstudy/
hou### [at] yahoocom
Mark Wagner <mar### [at] gtenet> wrote in message
news:3b3436b3@news.povray.org...
> C.J. - POV User wrote in message <3b323de9@news.povray.org>...
> >I get this error when running the vegetate.inc in my scene...
> >=======================================
> >C:\Program Files\POV-Ray for windows\Include\Vegetate.inc:387 warning:
csg
> >union unnecessarily bounded.
>
>
> >#declare VegeList = array[5]
> >#declare VegeList[0] = object{rock scale 2 }
> >#declare VegeList[1] = object{TREE scale 7 }
> >#declare VegeList[2] = object{flower scale 2}
> >#declare VegeList[3] = object{rock scale 2.5}
> >#declare VegeList[4] = object{flower scale 2.5}
>
> I don't see where that warning could be coming from.  Line 387 of
> Vegetate.inc reads:
>
>  object{VegeList[VEGENUM[VEGEcounter]] transform VEGETrans[VEGEcounter] }
>
> As you can see, I don't add a bounding box to the object.  The only thing
I
> can think of is that one of the objects in your list has an unneeded
> bounding box, but in that case, the error message should be pointing to
> where the object is declared.
>
> The long time spent building bounding slabs is much easier to explain.
You
> specified that Vegetate place 500 objects randomly selected from your
list,
> and presumably one or more of "rock", "flower", and "TREE" is a union of a
> large number of primitives.  A hundred or more of that union will result
in
> a very large number of objects for POV-Ray to generate a bounding tree
for.
>
> --
> Mark
>
>


Post a reply to this message

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