Hi Wang Rui,

I haven't done a review yet, so can't comment on specifics of the
design/implementation.

A couple of quick thoughts.  I would love to replace the .osg and .ive
formats with a new single native binary/ascii format.  Would it be
possible to do both with a single plugin?

The extension .osg would be the appropriate thing for a native .osg
format.  An appropriate header could say which version of is
represented in the file.  Perhaps a .osgb could be used for a binary
if needed.

In VirtualPlanetBuilder I experimented with serialization of class
members using a series of templated classes to bind the reading and
writing of members.  Perhaps something similar could be used - perhaps
you already use such an approach, tomorrow I should have chance to
review your code.

I also do wonder about whether osgIntrospection could be used to help
fill out the serialization details, or... perhaps even the reverse,
have the plugin specify accessors to the class members to provide a
form of introspection... and then osgIntrospection could then be
deprecated...

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to