On 2/8/07, Robert Osfield <[EMAIL PROTECTED]> wrote:
Hi, With osgProducer::Viewer you'd be best toggling the using a Switch. With osgViewer::Viewer it can handle a setSceneData/getSceneData() without problems.
what is the difference between osgProducer and osgViewer?? whitch is the best? a£++ Robert.
On 2/8/07, elekis <[EMAIL PROTECTED]> wrote: > hi all > > I have a little probleme, > > I have two node who represent two differents things, > > and I would like to render one, and afer pushing a touch, changing on other > > something like that > //init > osg::Group* root = new osg::Group(); > osg::Group* root2 = new osg::Group(); > viewer.setSceneData( root ); > > // after a action > viewer.setSceneData( root2 ); > > // after a other action > viewer.setSceneData( root ); > > I trying that, but that doesn't work. (root 2 is accepted but core dumped > just after) > > > is it possible to do that?? > > other thing > I dunno if it's normal but > http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/classosgProducer_1_1Viewer.html > > there are no getSceneData or my viewer is a osg::Producer > > > thanks a+++ > > > > > _______________________________________________ > 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/
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/