|
|
Usually the top level csg object. But if that tree had two main branches
and many smaller branches on those two, bounding the two main branches
might be a good idea also as once inside the larger bounding object, the
ray is checked against on the inside.
But bounding each and every object in a csg is just about the same as no
bounding. So, bound groups of closely related objects to help reduce the
number of intersection checks made for each ray.
T'vakah wrote:
> > Imagine for a moment that you have a tree-shaped object, with hundreds of
> > branches and leaves in it. To test a ray against each and every object in
> > the tree would take a very long time.
> Do I have to bound each leaf and branch in the tree, or just the top level
> csg object?
>
> --
> T'vakah
>
> ----------------------------------------------------------------------------
> --------------------------------------------------
>
> A small project I am working on now:
> http://backdoor.to/edertav/
Post a reply to this message
|
|