POV-Ray : Newsgroups : povray.beta-test : sphere sweep bounding boxes calculated incorrectly : Re: sphere sweep bounding boxes calculated incorrectly Server Time
30 Jul 2024 04:16:46 EDT (-0400)
  Re: sphere sweep bounding boxes calculated incorrectly  
From: Thorsten Froehlich
Date: 11 Jan 2002 18:07:07
Message: <3c3f701b@news.povray.org>
In article <3c3f6ab2$1@news.povray.org> , "Slime" <noo### [at] hotmailcom> 
wrote:

> I posted this a long time ago, but just realized the bug still exists, and
> it's not in the known bugs list.
>
> In the following scene, even though the camera shouldn't be able to see any
> of the three sphere_sweeps or their bounding boxes, if you render with +UD,
> to show the vista buffer, you can see that the bounding boxes of the sphere
> sweeps are extended to include the point <0,0,0>. It doesn't happen if you
> remove any of the three sphere_sweeps.
>
> I noticed this when trying to render a scene with hundreds of sphere_sweeps,
> and it took forever to render. Turning on +UD showed tons of bounding boxes,
> all extended to include the origin.

While the bounding boxes can probably be changed for efficiency, you should
be aware that there is and cannot be any guarantee that an automatic
bounding box will be a tight bound around an object, no matter what the
object type is.  All the bounding box has to be is somewhere outside the
object, but you simply cannot expect it to be a tight bound.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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