Hi Paul, Thanks for the response. In regards to question 2, if I'm understanding you right this will work if the node in question is the direct child of a switch. However, if there are intervening nodes (such as a switch at the root of a sub-graph, with a number of levels of nodes underneath it), I would essentially need to follow the node path (obtained from the node visitor) all the way up to the camera, checking to see if any of the nodes are switches with the child along the path set to off. Does that sound right? Last question - since I only need to know if any given node is on/off occasionally, like when a collision is detected, would it be safe to apply a method to traverse the node path in this way from a separate thread without halting the viewer loop or using a callback? I suspect it would not be safe, that it would cause crashes...
Thank you! Cheers, Tom ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=31172#31172 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

