Hi John, Could you post the .osg file that is revealing this problem? I can run an osgconv on my system and see if the problem exists in OSG-3.2.x or svn/trunk.
It does sounds like a bug. This is OSG-3.0.1 which was the first stable release that had the new serializers. A great deal of improvements to the serializers has happened since then a range of problems have been resolved. There have also been lots of other bug fixes and other improvements to the OSG since 3.0.1, there are lots of reasons to update. Robert. On 3 March 2015 at 12:42, John Pasnom <[email protected]> wrote: > Hi, > > using 3.0.1 I created the following test code: > > > Code: > osg::ref_ptr<osg::Group> group = new osg::Group(); > group->setName( "dummy group" ); > > auto path = destDir_ + "/group.osg"; > osgDB::writeNodeFile( *group, path ); > osgDB::writeNodeFile( *group, path+"t" ); > > > > The resulting group however is entirely different when comparing the osg > file to the osgt file: > > > osg file: > > > Group { > > name "dummy group" > > nodeMask 0xffffffff > > cullingActive TRUE > > } > > > osgt file: > > > #Ascii Scene > > #Version 80 > > #Generator OpenSceneGraph 3.0.1 > > > > osg::Group { > > UniqueID 1 > > } > > > > They do not contain the same information. The name I've set for instance > is lost, when storing to osgt. While I am aware that default values can be > skipped during osgt serialization I doubt that the name string should be > skipped at all. > > How can this behaviour be explained? > > > Thank you! > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=62929#62929 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

