DOCS // pyrofx

Outputs

With the default export, each view writes four sheets, <view>_pos.png, _neg.png, _colour.png and _aux.png, plus layout.json, two still previews, the animated preview_anim.png and bake_report.json. Sheets are 8 x 8 tiles of 256 px by default.

Contents3 sections
  1. Files
  2. Holdout and shadow
  3. Questions

Files

FileHolds
<view>_pos.pngLight from right (R), above (G), behind (B); opacity (A).
<view>_neg.pngLight from left (R), below (G), front (B); flame brightness (A).
<view>_colour.pngFlame color (RGB); smoke-to-dust mix (A).
<view>_aux.pngMotion (RG), depth (B); temperature (A) on request.
layout.jsonGrid, tile size, frame times, loop flag, meters per tile, ground anchor and channel decoding.
preview_strip.png, preview_contact_sheet.pngStills for the agent to judge the look.
preview_anim.pngThe clip at true speed, for a person, in any browser.
bake_report.jsonThe report, written even on failure.

When a sequence fills several sheets, filenames gain a numbered suffix such as main_pos_0.png. Read the ordered filenames, sheets and frames_per_sheet from layout.json.

Sheets are 8 x 8 tiles of 256 px by default (export.grid, export.tile_px). export.channels defaults to ["six_way", "emissive", "motion", "depth"], export.pack remaps channels for an existing reader, and export.format is png8, png16 or exr.

Holdout and shadow

With obstacles, holdout leaves a clean hole in the sheets for your model, and shadow darkens gas in its shade.

Questions

What directional lighting channels are packed into main_pos.png and main_neg.png?

main_pos.png stores light from right, above, behind and opacity, while main_neg.png stores left, below, front and flame brightness.

What data does main_aux.png hold in a pyrofx export?

main_aux.png stores motion in red and green, depth in blue and temperature in alpha when requested.

How does pyrofx name sheets when a sequence spans multiple textures?

Filenames gain a numbered suffix such as main_pos_0.png, with ordered filenames listed in layout.json.