The example osgsidebyside contains a SwitchDOFVisitor that collects
MultiSwitches and DOFTransforms.
Roland
--
Read this topic online here:
http://osgforum.tevs.eu/viewtopic.php?p=4401#4401
___
osg-users mailing list
osg-users@list
osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of
Francesco Argese
Sent: Friday, January 09, 2009 9:42 AM
To: OpenSceneGraph Users
Subject: [osg-users] finding switch and dof nodes in a 3D model without
name
Hi all,
I have a application that load some 3D
Hi Francesco,
You just need to write a NodeVisitor that traverses through the scene
and detects the osg::Switch and osgSim::DOFTransform. The NodeVisitor
has an apply(osg::Switch&) method, but not a DOFTransform one so
you'll need to implement and apply(osg::Transform&) and then
dynamic_cast this
Hi all,
I have a application that load some 3D models in .flt format. This
models include both switches and Dof and I like to enable it.
To do so i have done a research in OpenSceneGraph documentation and I
have found the tutorials regarding the argument (in particular [1]).
It works well but I
4 matches
Mail list logo