On 11/17/06, c sklu <[EMAIL PROTECTED]> wrote:
> I am surprised the polytope intersector is return an intersect in the
> case you point out, since no points should be within the box.
That's true, no points are completely within the box, but in the case
I described, all planes returns some points. In Polytope::contains,
the case of when Plane::intersect() returns 0 is not specified, which
means that some points are on either side of the plane.
The first pass at the point code did not work properly like the above
because of bug in osg::Polytope, but I fixed this so a point should
only pass it its within all active planes. Are you using latest in
CVS?
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/