Model.blob: Difference between revisions
Jump to navigation
Jump to search
m (→MBFN) |
m (→MBVR) |
||
Line 2: | Line 2: | ||
This is storing bounding boxes for all models. It was added in Cataclysm to help with streaming data. | This is storing bounding boxes for all models. It was added in Cataclysm to help with streaming data. | ||
=MBVR= | =MBVR= | ||
uint32_t version; | uint32_t version; // even though format has changed, this is still at 0 in {{Template:Sandbox/PrettyVersion|expansionlevel=7}} | ||
=MBBB= | =MBBB= | ||
struct { | struct { |
Revision as of 23:18, 18 August 2017
This is storing bounding boxes for all models. It was added in Cataclysm to help with streaming data.
MBVR
uint32_t version; // even though format has changed, this is still at 0 in
MBBB
struct { #if < uint32_t filenameOffset; // into MBFN chunk #else uint32_t fileDataId; #endif CAaBoxⁱ boundingBox; // No idea of colision or vertex bounding box. } entries[];
MBFN
char filenames[]; // zero-terminated, no file extensions.