Re: [osg-users] Changing scenes on the fly

2010-02-23 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
...@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

Re: [osg-users] Changing scenes on the fly

2010-02-22 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
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

Re: [osg-users] Changing scenes on the fly

2010-02-22 Thread Bruce Wheaton
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