Hi Lee,

How do you manage the scene graph for picked objects? That is, how do you structure the graph to track selected vs. not selected objects? Do you (for example) insert an osgFX::Scribe node between each selected node and its parent? Do you create a single osgFX::Scribe node and move nodes into it? What is the best way to keep track of where they should return to once they are unselected? Is there a better way I am not thinking of?
You can use the UserData of the picked node. It allows you to add arbitrary data to a node.

Cheers
Sebastian

Lee


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to