| 159 | | Yes, the OSG actually has two native file formats. The first is a text format and has extension ".osg". The second is a binary representation similar in scope to the .osg format, and has extension ".ive". |
| 160 | | |
| 161 | | The .osg format is the most portable as it has no byte-order dependencies and is fully backwards-compatible. It can also be easily hand-edited or generated. |
| 162 | | |
| 163 | | The .ive format '''is''' byte-order dependent, meaning that you can't read files on a system with a different byte-order than where they were written. The format is also not backwards compatible. |
| | 159 | From OpenSceneGraph-3.0 onwards we have new native file formats based on generic serializers that are extensible and support forward/backward compatibility, there is a .osgt ascii text file format, .osgx xml format and .osgb binary format. The extensible of the new formats enables end user application to add serializer wrappers for their own classes enabling them to extend the formats for their own application needs. |
| | 160 | |
| | 161 | Prior to OpenSceneGraph-3.0 there were two native file formats, .osg for ascii, and .ive for binary. The .osg format is extensible and flexible but is slower and less compact than the .ive binary format, but the later suffers from not being forwards compatible and is not extensible so is only suitable for scene graphs that aren't extended by end user applications. |