Take a look at examples/osgplanets/osgplanets.cpp. You use a "Visitor"
to traverse the scene graph. In this case the FindNamedNodeVisitor is
collecting the nodes that match a parcticular name eg
FindNamedNodeVisitor fnnv("Moon");.

-Drew

On 12/24/06, GMD GammerMaxyandex.ru <[EMAIL PROTECTED]> wrote:

How can I find objects in scene by name(to the following change of
position, turn and ranging)?
Operation speed is very important.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/




--
Drew Whitehouse
ANU Supercomputer Facility Vizlab
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to