July 2015
Intermediate to advanced
912 pages
25h 5m
English
The SBM model file format is a simple geometry data file format devised specifically for this book. The format is chunk-based and extensible, with several chunk types defined for use in the book’s examples. This appendix documents the file format. SBM files begin with a file header, followed by a number of chunks, each started with a header, followed by raw data that may be referenced by chunks. Multi-byte fields in structures are defined to follow little-endian byte ordering. All structures are tightly packed.
All SBM files start with a header of the following form:
typedef struct SB6M_HEADER_t{ union { unsigned int magic; char magic_name[4]; ...
Read now
Unlock full access