Jad Killian
2018-11-06 10:10:42 UTC
Hi,
I'm trying to do a box selection using osgUtil::PolytopeIntersector. It works nicely but it selects drawables that are occluded behind other drawables.
I tried to use the LIMIT_NEAREST option to only select visible drawables, but nothing changes. Other options (e.g. LIMIT_ONE) works fine. Looking at the source code of the polytope intersector, I can see any use of the LIMIT_NEAREST flag.
Is it not implemented?
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75170#75170
I'm trying to do a box selection using osgUtil::PolytopeIntersector. It works nicely but it selects drawables that are occluded behind other drawables.
I tried to use the LIMIT_NEAREST option to only select visible drawables, but nothing changes. Other options (e.g. LIMIT_ONE) works fine. Looking at the source code of the polytope intersector, I can see any use of the LIMIT_NEAREST flag.
Is it not implemented?
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75170#75170