POV-Ray : Newsgroups : povray.advanced-users : bounded_by : Re: bounded_by Server Time
28 Sep 2024 18:55:41 EDT (-0400)
  Re: bounded_by  
From: Alain
Date: 14 Jun 2010 19:09:14
Message: <4c16b69a$1@news.povray.org>
Le 2010-06-14 18:01, SharkD a écrit :
> Suppose I have the following CSG object:
>
> difference
> {
> object {obj1}
> object {obj2}
> }
>
> Is there any benefit to adding a bounded_by statement like the following
> where one of the objects is simply duplicated?
>
> difference
> {
> object {obj1}
> object {obj2}
> bounded_by {obj1}
> }
>

It's probably related to your spinner colony.
If you remove a cylindrical piece from a building, you bounding box will 
encompass the building AND the complete cylinder. In that case, YES, 
you'll get some, possibly large, performance improvement.

Also, if you start with a large cylinder, remove an almost as large one 
to get a curved floor, then chop away the sides to only keep the 
buildin's floor, manual bounding with a box can greatly help you.


Alain


Post a reply to this message

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