You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want use IntersectionVisitor to do intersection with highest level detail of LOD, so I call setLODSelectionMode(USE_HIGHEST_LEVEL_OF_DETAIL),but the results always the current rang LOD.
the code for setting the mode:
osgUtil::IntersectionVisitor iv;
osgUtil::PlaneIntersector pi;
iv.setTraversalMode(osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN); // Neither will TRAVERSE_ALL_CHILDREN
iv.setLODSelectionMode(osgUtil::IntersectionVisitor::USE_HIGHEST_LEVEL_OF_DETAIL);
iv.setIntersector(pi);
iv.apply(*modelnode); // modelnode is the root node
somebody help?
The text was updated successfully, but these errors were encountered:
I want use
IntersectionVisitor
to do intersection with highest level detail of LOD, so I callsetLODSelectionMode(USE_HIGHEST_LEVEL_OF_DETAIL)
,but the results always the current rang LOD.the code for setting the mode:
somebody help?
The text was updated successfully, but these errors were encountered: