Difference between revisions of "BMDL"

From Foone Wiki
Jump to navigation Jump to search
(Created page with "BMDL is the low-level model format used by 3DMM. Length: varies 00: Chunk Signature (4 bytes) 04: Vertex count (2 bytes) 06: Triangle count (2 bytes) 08: Unknown (40...")
 
(No difference)

Latest revision as of 10:28, 5 January 2019

BMDL is the low-level model format used by 3DMM.

Length: varies

00: Chunk Signature (4 bytes)
04: Vertex count (2 bytes)
06: Triangle count (2 bytes)
08: Unknown (40 bytes)
48: First vertex (32 bytes):
00: X coordinate (4 bytes)
04: Y coordinate (4 bytes)
08: Z coordinate (4 bytes)
12: U coordinate (4 bytes)
16: V coordinate (4 bytes)
20: Unknown (12 bytes)
NN: First triangle (32 bytes, at position 48+triangle count*32)
00: Point 1 index (2 bytes)
02: Point 2 index (2 bytes)
06: Point 3 index (2 bytes)
08: Unknown (26 bytes)