[osg-users] osg::LOD node not being considered in compute intersections

Josiah Bailey Josiahb425 at gmail.com
Tue Feb 19 10:53:02 PST 2019


Hi,

I have a scenegraph which carries an LOD top level node with 2 children.

Each child has it's own range values, 0 to 5000 and 5001 to 25000.

I have an osgGA::GUIActionAdapter computing the intersections on a mouse click area in a handle function.  It recognizes any node in the LOD that has a minimum range value of 0.  Anything over 0 and it isn't considered by compute intersections.  It displays properly in the scene graph when within the ranges, so what is happening?  Why can't I click on something outside the range?

For more detail,  I have geodes under the two children in the LOD node.  These geodes hold an svg image drawable and displays those in the scene.  I want to select the svg nodes when they are visible.




Thank you!

Cheers,
Josiah

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75639#75639







More information about the osg-users mailing list