Hi Robert, I just thought of something. The first scene is the blue marble WGS-84. The other scene is a small terrain database. Perhaps it is not being trashed. Perhaps it is actually closer than the near plane when I move up to it because the blue marble model is so huge. It's radius is the actual radius of the earth. Does this sound feasible? If so, what can I do to overcome it?
Thanks, John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Tuesday, July 11, 2006 9:03 AM To: osg users Subject: Re: [osg-users] Multiple Scenes Hi John, Switching between scenes using osg::Switch should work just fine, I do it myself for an presentation tool based ontop of the OSG/osgProducer::Viewer. When you do you mean be scene gets trashed? Robert. On 7/10/06, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote: > > > > What is the best way to maintain two scenes and have one viewer switch > between them? I tried using MultiSwitch and Switch, but the inactive > scene is getting trashed if I set its value in the switch to false. > When I try to set it back to true it does not appear. However, when I > do not set it to false at all and perform the same code, it appears. > There must be a construct that I don't know about. Any input is greatly appreciated. > > Thanks, > John > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
