DOCS // PYRO 0.4.1

What a bake writes

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.

Files

FileHolds
<view>_pos.pngLit from the right (R), from above (G) and from behind (B), with opacity in A.
<view>_neg.pngLit from the left (R), from below (G) and from the front (B), with flame brightness in A.
<view>_colour.pngFlame color in RGB, with the smoke-to-dust mix in A.
<view>_aux.pngMotion to the next frame (R, G) and depth (B), with temperature in A when asked for.
layout.jsonGrid, tile size, frame times, loop flag, meters per tile, ground anchor, scales and how to decode each channel.
preview_strip.png, preview_contact_sheet.pngStill previews for the agent to open and judge the look; not for the engine.
preview_anim.pngAn animated preview for a person to watch: the clip at true speed, in any browser.
bake_report.jsonThe report, also written when a run fails: see The report.

Sheets are 8 x 8 tiles of 256 px by default (export.grid, export.tile_px). Six-direction lighting lets an engine relight the smoke from any sun angle. 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

When a spec has obstacles, a solid with holdout on hides the gas behind it and leaves a clean hole in the sheets for the engine's own model. A solid with shadow on blocks the light, so gas in its shade is darker in the lit sheets.