CAM

From Foone Wiki
Jump to navigation Jump to 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)