CAM

From Foone Wiki
Revision as of 10:30, 5 January 2019 by Foone (talk | contribs) (Created page with "A CAM chunk represents a single camera angle for a frame. It's associated with a Mbmp Chunk and a Zbmp Chunk, representing the background image and depth buf...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A CAM chunk represents a single camera angle for a frame. It's associated with a Mbmp Chunk and a Zbmp Chunk, representing the background image and depth buffer of that camera angle, respectively.

Chunk Type:

Byte 3 2 1 0
ASCII C A M (sp)
Hex 43 41 4D 20
Meaning CAMera

Length: 100 bytes

00: Chunk Signature (4 bytes)

12: FOV (br_angle, 2 bytes)

28: Camera Transform (br_matrix34, 48 bytes)