Ah... Anyone remember PHIGS? Built-in pick highlighting that was almost
guaranteed to not be what your app wanted? :-) And a PITA to implement too.
 
You could take a look at the Scribe decorator node in osgFX. Just insert it
into your scene graph above the picked object, then the object will render
with a wireframe overlay.
 
Hope that helps,
 
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com <http://www.skew-matrix.com/> 
303 859 9466


  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Romain
Blanchais
Sent: Friday, February 15, 2008 6: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

Reply via email to