POV-Ray : Newsgroups : povray.newusers : Merge vs. Union : Re: Merge vs. Union Server Time
6 Sep 2024 02:19:57 EDT (-0400)
  Re: Merge vs. Union  
From: Ron Parker
Date: 20 Sep 1999 11:33:45
Message: <slrn7uckup.v8.parkerr@ron.gwmicro.com>
On 20 Sep 1999 11:15:00 -0400, Nieminen Juha wrote:
>Ron Parker <par### [at] fwicom> wrote:
>: By taking the dot product of each of the six bounding box coordinates 
>: with the ray direction.  If they're all further away, then the object
>: must be.
>
>  You forget that the bounding box is not necesarily around the object...
>nor it is a box... :)

You forget that if it's not around the object, it shouldn't matter to the
ray-intersection routine (obviously in practice it works in such a way that
vampire objects are possible, but that's a side-effect that could easily 
disappear with better optimization.)  And rest assured that finite objects 
have bounding boxes whether or not such boxes are specified in the script; 
that's how the min_extent and max_extent keywords in the superpatch work.


Post a reply to this message

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