Maybe I'm oversimplifying, but:

 osg::ref_ptr<osg::Group> root = new osg::Group();
 osg::ref_ptr<osg::Node> mars = osgDB::readNodeFile(marsfilename);
 root->addChild(mars.get());
 root->addChild(someOtherNode.get();
 viewer->setSceneData(root.get());

Where viewer == osgProducer::Viewer

On 6/8/07, K Galloway <[EMAIL PROTECTED]> wrote:
Hi,

I have a quick (hopefully) question about Database paging.  Basically, I
have a model made using osgdem (of Mars), and I have a viewer that needs to
be able to read the file from osgdem, as well as being able to add nodes to
it inside the viewer.

I know the 1.9.x viewer has built in support for this, but I'm afraid I'm
stuck using 1.2, because the 1.9.x series doesn't quite work on the setup we
have here.  So, where would be a good place to start to look at this
functionality?  I've been looking at the osgsimplepager example, but so far
have come up with little to work on it.

Any help would be much appreciated.

Thanks,
Kevin

_______________________________________________
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/

Reply via email to