Re: [osg-users] Enhancement of osgDB::serializer

2010-02-24 Thread Paul Martz
Wang Rui wrote: 2010/2/15 Torben Dannhauer z...@saguaro-fight-club.de: 1. It is only possible to serialize objects inherited from osg::Node or Images. Classes just inherited from osg::Object are not handled. but this function only tries to cast into image or node and fails otherwise. Thanks

Re: [osg-users] Enhancement of osgDB::serializer

2010-02-23 Thread Wang Rui
Hi Torben, 2010/2/15 Torben Dannhauer z...@saguaro-fight-club.de: 1. It is only possible to serialize objects inherited from osg::Node or Images. Classes just inherited from osg::Object are not handled.  but this function only tries to cast into image or node and fails otherwise. Thanks for

Re: [osg-users] Enhancement of osgDB::serializer

2010-02-23 Thread Torben Dannhauer
Hi Wang I hope you had a recreative vacation. I'll post my osgDB::Serializer beginner tutorial/notes in this thread. but this will be in some days, I'm under load for an dev release deadline (well, no good idea to use a software in development stage for presentations. ;)) Thank you for your

[osg-users] Enhancement of osgDB::serializer

2010-02-14 Thread Torben Dannhauer
Hi Wang, I managed to get the serializer working. I have some proposals to enhance the serializer: 1. It is only possible to serialize objects inherited from osg::Node or Images. Classes just inherited from osg::Object are not handled. There is a Function Code: WriteResult writeObject(