Hi Bob, On Dec 20, 2007 5:24 PM, Robert Balfour <[EMAIL PROTECTED]> wrote: > So, what is the expected response when picking an LOD object - which > child gets picked? - it doesn't seem to always be the one currently > being drawn? Can the LOD node be queried to know which child is active?
The IntersectionVisitor by default just picks the highest resolution child. The old IntersectVisitor used to have a feature where one could set a custom eye point to use for LOD distance calculation, I don't recall if this has been added to IntersectionVisitor yet, if it hasn't this is something that could be added to solve your problem. As for LOD nodes, they don't maintain any record of what child was last active, since the OSG is mulit-threaded and one single traversal can have multiple cameras view it it can effectively have multiple LOD children that might be in use at any one time, this all makes it better to avoid trying to cache state. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

