Hi,
* Can someone point me to an explanation on how LOD is used in
intersection testing?
* When doing intersection testing, can I specify the LOD for the
testing?
* I'm trying to find all of the drawable objects that fit inside a
given PolytopeIntersector but that appear only at a given LOD
range ( I'm only interested in the highest resolution drawables
objects ).
Something like:
picker = new osgUtil::PolytopeIntersector(
osgUtil::Intersector::MODEL, polytypeDesc );
osgUtil::IntersectionVisitor iv( picker );
// Set the level of detail for the intersection testing
osg::ref_ptr<osg::LOD> lod = new osg::LOD();
// Configure the lod object.
// ....
iv.apply( *lod );
root->accept( iv );
Thanks in advance,
Eyal.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org