|
![](/i/fill.gif) |
Warp <war### [at] tag povray org> wrote...
> Peter Popov <pet### [at] usa net> wrote:
> : Because the rendered would have to find all intersections for every
> : object.
>
> But that's what it currently does.
> How can it know which one of the intersections is the closest one if it
> didn't?
Actually, it usually (the feature can be disabled) uses a bounding-box tree
to determine which bounding boxes are closer than others, and if it finds an
intersection in a nearby bounding box, it doesn't test anything that it
knows is farther away. Also, as Ron and others mentioned, many objects only
return the closest intersection for speed reasons.
-Nathan
Post a reply to this message
|
![](/i/fill.gif) |