Hi,
I tried to save the osghud example to a osgb file and when I tried to open
the saved file using osgviewer the truck model is there but not the hud group
is not. However if I save the file to a osg or osgt file everything works fine.
I have osg 3.3.7 developer release
below where I have add the writeNodeFile call to the osghud example:
// add the HUD subgraph.
if (scene.valid()) group->addChild(scene.get());
group->addChild(createHUD());
osgDB::writeNodeFile(*group, "hud.osgb");
// set the scene to render
viewer.setSceneData(group.get());
Any ideas?
Thank you!
Cheers,
Roni
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63553#63553
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org