You will have to write code to do this One way I have done this in thee past is to (once you have the node) , calculate the picked nodes bounding box, create a simple wire frame box 1x1x1 add under a transformation node then scale that node to min and max of the bounding box you calculated and then add the transformation node to the node you selected. It works, then you can simply remove the transformation node when your done, Another old school Performer way, would be to double draw your node once in normal mode and then a second time in wire frame mode
_____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Romain Blanchais Sent: Friday, February 15, 2008 8:28 AM To: OpenSceneGraph Users Subject: [osg-users] Modify Object After Picking Hello, I would like to know if there is a simple way to show if an object is selected ? When I load a mesh from a osg file I use readNodeFile. When I pick the object I get this osgNode return by thefunction readNodeFile but I don't know really how to modify the mesh (colour or something else) to show that this mesh is selected. Regards ______ Romain
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

