Hi Paul,

On Fri, Aug 1, 2008 at 9:19 AM, Paul Melis <[EMAIL PROTECTED]> wrote:
> Just to keep a note around, another way to fix this would be to enlarge the
> bounding box of a group of triangles (drawable) by an epsilon-amount in all
> directions. This way an intersection with a triangle is guaranteed to lie
> within the ray-bounding box intersection interval and never on one of its
> endpoints.

With the KdTree intersection code this is just what I did - add an
small expansion of the bounding box.

I have considering putting a similar change into the osg::Drawable's
setBoundingBox() or perhaps the intersection code.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to