I read niko's blog and know that the new .irrmesh format is XML-based. Although it's good for interchanging data, especially exporters, it is surely slower and have more overhead than a binary format. So I suggest a "hybrid" format(like .x mesh):
For text mode:
Code: Select all
<mesh type="text">
everything is like the current format
</mesh>
For binary mode:
Code: Select all
<mesh type="binary">
<data size=" ... ">//size is needed because there is no such thing as a line break in binary
binary mesh data
</data>
</mesh>
It somehow breaks the XML rule