Re: [osg-users] Plane::intersect(BoundingBox & box) buggy ?

2009-10-19 Thread Tanguy Fautre
bject: Re: [osg-users] Plane::intersect(BoundingBox & box) buggy ? Hi Tanguy, What makes you think its wrong ? I think its very smart code which does only whats really neccessary. _lowerBBCorner and _upperBBCorner are not constant and in fact are relative and precalculated based

Re: [osg-users] Plane::intersect(BoundingBox & box) buggy ?

2009-10-19 Thread Wojciech Lewandowski
before hand which corners of axis aligned bounding box will represent most extreme points of the box. Cheers, Wojtek - Original Message - From: Tanguy Fautre To: OpenSceneGraph Users Sent: Monday, October 19, 2009 3:25 PM Subject: [osg-users] Plane::intersect(BoundingBox &

[osg-users] Plane::intersect(BoundingBox & box) buggy ?

2009-10-19 Thread Tanguy Fautre
Hi, I've used an osg::Polytope to test whether a given convex volume was colliding against a BoundingBox. Unfortunately it wouldn't work. I've tracked the problem down to Plane::intersect(). /** intersection test between plane and bounding sphere. return 1 if the bs is