Hi,
Robert, I've attached both files (or I've tried, looks like it ignores the
second attachment...)
Another interesting part is, as far as I can see, the UserData should be
serialized as well. The patch posted
http://forum.openscenegraph.org/viewtopic.php?t=5561 seems to be already in
3.0.1
Hi,
using OSG 3.0.1 I've implemented a custom class deriving from osg::Object that
should support serialization:
The register object wrapper looks like this:
Code:
REGISTER_OBJECT_WRAPPER( MyLights,
new dx::MyLights,
dx::MyLights,
"osg::Object dx::MyLights" )
{
ADD_USER_SER
Hi,
using 3.0.1 I created the following test code:
Code:
osg::ref_ptr 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 diffe
3 matches
Mail list logo