DOCS // pyrofx

Same spec, same result

Bake the same spec twice and you get the same sheets back. We ran the official fire example twice at draft quality, and every sheet had the same SHA-256 hash.

Contents4 sections
  1. Two bakes (compiles) of the official fire example
  2. SHA-256 of the outputs
  3. Open a bake in Godot
  4. Questions

Two bakes (compiles) of the official fire example

We sent the official fire.pyro.toml spec to the hosted service twice, both at draft quality, with seed 0. Those were two separate bakes, not a cached copy of the first.

Every sheet, the layout, and the preview had the same SHA-256 hash. The reports only differed in how long each bake took: 3.8 s and 3.4 s. Each draft was priced at $0.05.

The looping preview from the first bake. The second bake produced the same preview.

Bake 1 and bake 2 of the official fire example, shown at the same moment. The two frames match.
The same frame from bake 1 and bake 2.

SHA-256 of the outputs

These hashes are the same for both bakes. The baked result is the sheets and the layout. The preview images matched as well.

FileSHA-256
main_pos.pngcfafc55c7b03adab8ba1ce29bdfa76a9e1174a7278c4923424bffcbb49c42465
main_neg.png84a3e2f7f24ad9fb8e8f3d92a1eab25319ac99bd6b79b72ea282c9bb34f4f0fc
main_colour.pngdd962ab850a3df06cc14d9908c2c74a1bcdca1ca33ccde959fe9683d27cba2ac
main_aux.png513d902308a49f56f70f4c8b19e01dd2807398e9b7615d240fd0a1cd104653eb
layout.json4032e1865f832832d318efbad6e2cc8c38c3f3339dd5d6f902078326980a5c1b
preview_anim.png5143113b1eada7d195a845d518454e03d14dda3b9a225972180214363268833b
preview_contact_sheet.png8e6f2fe0a5169c41fa41d7db30e3749e5714951cbad0b23ecf6b001dfac4edd7
preview_strip.png717eb926c412cacd8157923486109c6ea99a557d0f8b6c847eed69a87d0147b0

Both reports recorded the same spec hash, sha256:a364a0651f71e23b6adb514af4fc856173ec2233ada0ecf74b195a8200eae761.

Open a bake in Godot

Download a Godot 4 project with the official fire and fireball already wired in. Open the folder and press Play. You do not need an API key to watch them.

Download the Godot 4 sample

The sample project running in Godot 4, with a looping fire on the left and a fireball on the right.
The sample project after you press Play: fire on the left, fireball on the right.

To wire a bake of your own, see Bake and wire. To copy a starting spec, see the examples.

Questions

Does baking the same pyrofx spec twice produce identical files?

Yes, two separate draft bakes of fire.pyro.toml with seed 0 produced identical SHA 256 hashes for every sheet, layout and preview.

What differed between the two separate fire.pyro.toml draft bakes?

Only the bake duration differed in the reports at 3.8 seconds and 3.4 seconds, while every output file matched.

How much did each separate draft bake of fire.pyro.toml cost?

Each draft bake of the official fire example was priced at $0.05.