mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
apps/lightbake (raea-app-lightbake): `raea bake light --compare DIR [--sets FILE] [--set NAME] [--samples N] [--fresh]` runs each set in apps/lightbake/sets.json through Cycles (blender/look.py's still, blender/lightbake.py's bake, both at --samples, 1024 by default, kept in DIR/NAME until the set's .tsx files, flags or samples change) and through raea (the set unbaked, the set with Cycles' maps), and writes DIR/report.json and a table: each frame's RMSE and stops against the Cycles still, lightbake.py's time and peak memory (wait4's rusage on unix), the bar's verdict on the table set. map_stops compares two lightmaps on the same UVs in stops, for BK5's per-mesh numbers. `raea bake light EDIT.tsx` says the bake itself is BK1-BK5. bench/bake: the table set (bevy/realism's example), a Cornell box lit only by an emissive panel, a room lit through one window; each has a raea composition and a -cycles one that draws lightbake.py's maps (media/baked/, ignored). The atelier is listed, reference false with why: its Manifold solids stop `raea blender open`.
14 lines
1.6 KiB
JSON
14 lines
1.6 KiB
JSON
{
|
|
"about": "the bake's test set (docs/bake.feature BK0), for `raea bake light --compare DIR`: each set's Cycles still (blender/look.py, given the composition's own sky, tone and lens) and Cycles bake (blender/lightbake.py), and raea's frames beside them",
|
|
"sets": [
|
|
{ "name": "table", "dir": "bench/bake", "file": "table.tsx", "composition": "table", "cycles": ["table-cycles.tsx", "table-cycles"], "bar": true, "texels": 128,
|
|
"look": ["--hdri", "media/kloofendal_48d_partly_cloudy_puresky_1k.hdr", "--strength", "0.25", "--rotation", "0.6", "--tone", "agx", "--exposure", "-0.8", "--focus", "2.5", "--fstop", "2.8", "--size", "1280x720"] },
|
|
{ "name": "cornell", "dir": "bench/bake", "file": "cornell.tsx", "composition": "cornell", "cycles": ["cornell-cycles.tsx", "cornell-cycles"], "texels": 128,
|
|
"look": ["--tone", "agx", "--exposure", "0", "--size", "1280x720"] },
|
|
{ "name": "window", "dir": "bench/bake", "file": "window.tsx", "composition": "window", "cycles": ["window-cycles.tsx", "window-cycles"], "texels": 64,
|
|
"look": ["--hdri", "media/kloofendal_48d_partly_cloudy_puresky_1k.hdr", "--strength", "0.25", "--rotation", "0.6", "--tone", "agx", "--exposure", "1.5", "--size", "1280x720"] },
|
|
{ "name": "atelier", "dir": "~/Studio/raea/projects/atelier", "file": "compositions/atelier.tsx", "composition": "set", "texels": 64, "reference": false,
|
|
"why": "a test agent's project, still being built; its Manifold solids stop `raea blender open` (filed with raea bug), so its Blender bake runs through its own tools/bake.sh. It joins at BK5, with that bake as the comparison" }
|
|
]
|
|
}
|