...@lists.openscenegraph.org] On Behalf Of Bruce
Wheaton
Sent: Monday, February 22, 2010 6:20 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Changing scenes on the fly
Thanks, I have seen Switch nodes. Some wrinkles though - I need a
dynamic system, and there may be multiples active at a time
Bruce,
I would recommend using the switch node osg::Switch to change between
scenegraphs. You can add the scenegraphs that the switch node can render at
any one time during setup and then select which one you want rendered using
the method setSingleChildOn.
Hope this helps...
-Shayne
Thanks, I have seen Switch nodes. Some wrinkles though - I need a
dynamic system, and there may be multiples active at a time, for
instance in between a cross-fade. But my main question still applies -
should I load the .osg file and attach the whole graph downstream of
the switch on the
3 matches
Mail list logo