Customize the find visitor to find the switch node you want then do a dynamic_cast<osgSim::MuiltiSwitch>() to cast the node to the approrpiate type.
On 7/4/07, Claudio Arduino <[EMAIL PROTECTED]> wrote:
thanks Robert!! this is a very beautiful thing ,i have tried to make the conversion and in the result .osg file the osgSim::MultiSwitch is correctly created...but i don't understand how i can access at this node in my code... for example after the loading of the model: osg::Node *model=osgDB::readNodeFile("sw.flt"); how i can obtain a reference to this multiswitch node for make operation to the switch(to switch the mask for example)? thanks _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/