MSH Format
Version 0.1
1 October 2000
General Information: This is a file format for volumetric datasets. Multiple datasets can be stored in a single file. Each dataset has a header which defines the dataset's attributes like voxel spacing, field layout, etc. The order that the fields are defined in the header is the order they must be in the file. For example if the mesh contains red, green, blue and alpha in that order, that is the order they will be written into the file. Likewise, if the header lists the dimensions of the grid as XYZ (Z increasing the most rapidly), that is the order in which the data will be read from the file.
This format is in binary. You move though the file from the table of contents by seeking to the correct file offset of what you want to read.
This format is also meant to be extensible by the addition of extra opcodes.
Datatypes:
- Byte 8 bits
- Short 16 bits
- Int 32 bits
- Float 32 bits (IEEE)
- Double 64 bits (IEEE)
- Long 64 bits
All data in MSB


