From Wang Rui, "I'd like to submit my inbuilt schema data support of
the OutputStream/InputStream implementations, which was just finished last weekend with a few tests on Windows and Ubuntu. Hope it could work and get more feedbacks soon. I've added a new option "SchemaData" to the osg2 plugin. Developers may test the new feature with the command line: # osgconv cow.osg cow.osgb -O SchemaData It will record all serializer properties used in the scene graph, at the beginning of the generated file. And when osgviewer and user applications is going to read the osgb file, the inbuilt data will be automatically read and applied first, to keep backwards compatibility partly. This will not affect osgb files generated with older versions. "
This commit is contained in:
@@ -103,7 +103,8 @@ public:
|
||||
supportsOption( "Ascii", "Import/Export option: Force reading/writing ascii file" );
|
||||
supportsOption( "XML", "Import/Export option: Force reading/writing XML file" );
|
||||
supportsOption( "ForceReadingImage", "Import option: Load an empty image instead if required file missed" );
|
||||
supportsOption( "SchemaFile=<file>", "Import/Export option: Use/Record a ascii schema file" );
|
||||
supportsOption( "SchemaData", "Export option: Record inbuilt schema data into a binary file" );
|
||||
supportsOption( "SchemaFile=<file>", "Import/Export option: Use/Record an ascii schema file" );
|
||||
supportsOption( "Compressor=<name>", "Export option: Use an inbuilt or user-defined compressor" );
|
||||
supportsOption( "WriteImageHint=<hint>", "Export option: Hint of writing image to stream: "
|
||||
"<IncludeData> writes Image::data() directly; "
|
||||
|
||||
Reference in New Issue
Block a user