Skip to content
Get started

allyhub scenery bake

Bakes a 3D scenery's light into a lightmap once, kept in .allyhub/cache/bake/ and laid on it each time it is built; one baked on a GPU is laid only by that GPU, one baked on the CPU (ALLYHUB_GPU=0) by every renderer

Terminal window
allyhub scenery bake [item]
Argument Type What it is
<item> string The scenery: its id in allyhub.yaml, or its module’s file, listed or not

--dir <value>: the project’s folder; default the one around where it is run. --json: print the result as JSON.

With --json, the command prints an object with these fields:

Field Type What it is
file string
bake string
report string
digest string
renderer string
Terminal window
allyhub scenery bake room
ALLYHUB_GPU=0 allyhub scenery bake room

0 when it succeeds; the others are listed in Exit codes.

3d: Building a 3D scenery and its cameras

add search → add → scenery → scenery view → scenery map → scenery see → scenery measure → scenery motion → scenery solve → scenery bake → inspect fidelity → dev

Was this page helpful?