Skip to main content

File format

COLOR and DEPTH share one frame, sample and paging contract.

Reference the transparent COLOR PNG, big-endian RG16 orthographic DEPTH PNG, atlas paging and JSON manifest contract used by Sprite Capture Studio.

COLOR PNG

COLOR pages contain transparent sprite pixels in a fixed cell. Transparent RGB values are cleaned, dithering is off by default and output sampling follows the selected standard or pixel-block mode.

DEPTH PNG

DEPTH pages encode normalized orthographic depth as big-endian RG16. The red and green channels form one unsigned 16-bit value. Surface values use0..65534; transparent background uses the sentinel65535. DEPTH alpha is always opaque.

Wearable compositing

Consumers select the smallest RG16 depth first. Exact encoded-depth ties use the lower slot compositePriority, followed by the lexicographically smaller stable entity ID. The manifest names this contract nearest_rg16_then_priority_then_stable_id_v1.

Atlas paging

Atlas pages are capped at 4096 × 4096. Page planning uses the active fixed cell size and deterministic frame order, so large Actions can span multiple pages without changing their timing or origin.

Manifest fields

  • direction names and angles
  • source and output frame maps
  • sample time and playback FPS
  • camera near/far and frame size
  • cell, origin and pixels per unit
  • capture and asset hashes
  • PNG paths and hashes
  • entity slot and composite priority
  • requested, resolved and suppressed slots
  • pixel-block and output mode