Re: [osg-users] PolytopeIntersector and occlusion

2008-10-22 Thread Jean-Sébastien Guay
Hi Robert, The PolytopeIntersector just detects and records objects that intersect with the Polytope, there is no interrelation between the objects, there are all just independent intersections. So for the functionality you are after you'll need to post process the list of intersections. OK,

Re: [osg-users] PolytopeIntersector and occlusion

2008-10-22 Thread Robert Osfield
Hi J-S, The PolytopeIntersector just detects and records objects that intersect with the Polytope, there is no interrelation between the objects, there are all just independent intersections. So for the functionality you are after you'll need to post process the list of intersections. I'm not 10

[osg-users] PolytopeIntersector and occlusion

2008-10-22 Thread Jean-Sébastien Guay
Hello all, I am implementing box-selection of objects using osgUtil::PolytopeIntersector. When I use LineSegmentIntersector, I know that the first intersection returned is the closest object that was intersected. In the case of PolytopeIntersector, I need something more. Basically, I need to