Model.blob: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Template:SectionBox/VersionRange|min_expansionlevel=4}}
{{Template:SectionBox/VersionRange|min_expansionlevel=4}}
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 (m2). It was added in Cataclysm to help with streaming data.
=MBVR=
=MBVR=
  uint32_t version;    // even though format has changed, this is still at 0 in {{Template:Sandbox/PrettyVersion|expansionlevel=7}}
  uint32_t version;    // even though format has changed, this is still at 0 in {{Template:Sandbox/PrettyVersion|expansionlevel=7}}
Line 11: Line 11:
   uint32_t fileDataId;
   uint32_t fileDataId;
  #endif
  #endif
   {{Template:Type|CAaBox}} boundingBox;      // No idea of colision or vertex bounding box.
   {{Template:Type|CAaBox}} boundingBox;      // Colision bounding box.
  } entries[];
  } entries[];



Revision as of 23:49, 19 March 2020

This section only applies to versions ≥ Cata.

This is storing bounding boxes for all models (m2). 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 Legion

MBBB

struct {
#if < Legion
  uint32_t filenameOffset;  // into MBFN chunk
#else
  uint32_t fileDataId;
#endif
  CAaBox boundingBox;      // Colision bounding box.
} entries[];

MBFN

This section only applies to versions < Legion.
char filenames[]; // zero-terminated, no file extensions.