Hi Robert,

I believe .osg would be the most appropriate extension, the header
could declare which version of the format it is - whether it's binary,
new ascii or old ascii.  We could possible have a .osgb for binary.

Stupid question, but if .osg is used for both binary and ascii how would we specify which one we want in this line of code:

osgDB::writeNodeFile(*scene, "saved_scene.osg");

?

Would we need to add an option? I don't see how this line of code in user apps could work with this new plugin that would use the same extension for both binary and ascii, unless ascii is the default or something...

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to