Re: [osg-users] OSG Serialization - changes on custom Classes

2012-09-17 Thread Regina Howard
Interesting. The mechanism is nice and fits it. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49672#49672 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org

Re: [osg-users] OSG Serialization - changes on custom Classes

2012-08-25 Thread Wang Rui
Hi Peter, I've just submitted a patch which adds user version to the serializers. Could you please have a look at it in the osg-submissions archive and test if it could work for your cases? Thank you, Wang Rui 2012/8/21 Peter Bako > Hi mr. Rui Wang. > > Thank you for your help. > It would be

Re: [osg-users] OSG Serialization - changes on custom Classes

2012-08-23 Thread Wang Rui
Hi Peter and Robert, I'm glad to consider a backward-compatible way to add custom versioning mechanism to current plugin. I would submit it as soon as possible so Peter and everyone else could test it and see if it suitable for pratical uses. Wang Rui 2012/8/23 Robert Osfield > Hi Peter and R

Re: [osg-users] OSG Serialization - changes on custom Classes

2012-08-23 Thread Robert Osfield
Hi Peter and Rui, On 21 August 2012 12:59, Peter Bako wrote: > It would be nice if we can set an auxiliary version number manually, when > writing or reading files. > This mechanism would be perfect! > Can I assume that this modification will be implemented in the next month? > Or what do you su

Re: [osg-users] OSG Serialization - changes on custom Classes

2012-08-21 Thread Peter Bako
Hi mr. Rui Wang. Thank you for your help. It would be nice if we can set an auxiliary version number manually, when writing or reading files. This mechanism would be perfect! Can I assume that this modification will be implemented in the next month? Or what do you suggest to me to do? It is not t

Re: [osg-users] OSG Serialization - changes on custom Classes

2012-08-21 Thread Wang Rui
Hi Peter, Oh there is another feature of the osgb plugin that I almost forget. :-) It supports serializer control using the version number. You may read about it at this page: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/2010-November/007273.html Unfortunately the

Re: [osg-users] OSG Serialization - changes on custom Classes

2012-08-21 Thread Peter Bako
Hi mr. Wang Rui. Thank you for your response. I am actually an owner of your OSG book :-). I tried your suggestion, it works, but the limitation is that we can have only 2 versions of osgb files (old format - with the schema) and the new (actual format). Does this mean that there is no way to ma

Re: [osg-users] OSG Serialization - changes on custom Classes

2012-08-20 Thread Wang Rui
Hi Peter, Yes, there is a schema mechanism in the osg plugin which could record a serializer name list (a schema) at the beginning of every .osgb file and the reader will automatically check and read the schema to decide each serializer order and existence. For your situation, the best way I thin

[osg-users] OSG Serialization - changes on custom Classes

2012-08-20 Thread Peter Bako
Hello guys, I am using OSG serialization on my custom classes derived from osg::MatrixTransform and osg::Geometry. I already use this serialization for some time, so I have many .osgb files exported on my disk, but now, I want to add some new properties to my Class and serialize them (new ADD_B