CAM

From Foone Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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)