|
![](/i/fill.gif) |
In article <3d755b14@news.povray.org>, war### [at] tag povray org says...
> I think that the problem would be knowing which bounding box is the nearest.
> This isn't necessarily an unambiguous thing.
The intersections with all bounding boxes will have to be computed anyway
I think?
So the idea is not to check one bounding box, then the object, then the
next bounding box etc, but first check ALL bounding boxes, then sort the
list of objects according to the proximity of the bbox intersections to
the camera, then check intersections with the objects, starting with the
first in the list.
Only additional operation would be the sorting, but if it eliminates at
least one computation intensive object it might be worth the efford I
think...
Lutz-Peter
Post a reply to this message
|
![](/i/fill.gif) |