Hi Paul,

Thanks for your attention and suggestions. The old osg plugins and
wrappers will still be used before we could have an enougn robust and
flexible new format. Don't worry about the compatibility. :)

At present only the osg namespace wrappers are finished. So I'm
working on the osgParticle and osgText wrappers now, and expect these
be finished next week. After that I'd like to write a tutorial about
how to use the new format and contribute to it. Maybe I could add them
to the wiki pages?

For a quick view, just type:

# osgconv cow.osg cow.osg2
# osgviewer cow.osg2 -e osg

to get a second-generation osg binary format cow. And,

# osgconv cow.osg cow.osg2 -O Ascii
# osgviewer cow.osg2 -e osg

to obtain an ascii one.

To write out the property orders of all classes at the same time,

# osgconv cow.osg cow.osg2 -O SchemaFile=currentSchema.txt

And to force reading in specifed property orders, which may help keep
backwards and forwards compatibilities,

# osgviewer cow.osg2 -e osg -O SchemaFile=currentSchema.txt

There are a few other options, like WriteImageHint (write the image
file inside or not) and Compressor (use a zlib or user-defined
compressor), are also included. I'm very willing to listen to your
opinions about this new mechanism and its developments. I'll try to
explain all my work to the public soon, with the hope that my English
is not too hard to understand. :)

Regards,

Wang Rui

2010/1/22 Paul Martz <[email protected]>:
> I think it'd be worthwhile to announce / discuss this in osg-users in a
> different thread, one with a subject line that makes it clear that backwards
> compatibility is being broken. I, for one, was under the assumption that
> this new format was a feature addition, not a feature replacement.
>
> The new discussion thread should probably contain the reason for this
> compatibility break, to save people from wading through emails to try to
> find out why this is happening.
>
> As for me looking into how to make this work with external NodeKits, I'm
> very interested in helping out and learning the new mechanism, and will add
> this to my to-do list.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to