Thanks Wang Rui, I've merged and checked in all the changes except the ones of PagedLOD and ProxyNode. For these we'll need to discuss how to implement them so that they only write out the children that aren't read in from an external file. I presume this will mean implementing a loop to do the reading of the children separately from the Group implementation.
Robert. On Wed, Jan 27, 2010 at 9:18 AM, Wang Rui <[email protected]> wrote: > Hi Robert, > > This is the newest update of the osg2 serialization functionalities, > including the submission of osgParticle libraries and its wrappers I > made yesterday. So please ignore the thread "osgParticle serializers > and fixes" if you haven't reviewed it. > > Changes: > > 1. Rewrite the reading/writing exception handlers to work like the ive > plugin exceptions. > 2. Write a header writing/checking function in ReaderWriterOSG2.cpp, > which may help decide if the stream is ascii or binary. The > readInputIterator() function will return null pointer if the input > file is nither osgb nor osgt format, which indicates that the old .osg > format could be used here, in case we've merged the two plugins > together. > 3. Add a new ForceReadingImage option in the InputStream, which will > allocate an empty image object with the filename if specifed external > image file is missed. It may be useful for format converting in some > cases. > 4. Add new osgParticle wrappers, as well as some modification to the > osgParticle headers, for instance, change isEnabled() to getEnabled(). > 5. Some fixes to the osg serialization wrappers. > > I'll continue working with the osgText wrappers tomorrow. > > Cheers, > > Wang Rui > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
