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`.
23 lines
805 B
TOML
23 lines
805 B
TOML
[package]
|
|
name = "raea-app-lightbake"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "FSL-1.1-ALv2"
|
|
publish = false
|
|
description = "raea bake light: bounce light baked into lightmaps on raea's own ray tracer, and the bar it is held to against Cycles (docs/bake.feature)"
|
|
|
|
[dependencies]
|
|
# the frames' distance in stops, as raea light check measures it (LT1)
|
|
raea-light = { path = "../../engine/light" }
|
|
# the CLI's flag reader and result type
|
|
raea-runtime-bundle = { path = "../../runtime/bundle" }
|
|
# raea's own files (the test set, the Blender library scripts) and the home folder
|
|
raea-io-home = { path = "../../io/home" }
|
|
image = { version = "0.25", default-features = false, features = ["png"] }
|
|
serde_json = "1"
|
|
sha2 = "0.10"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
# wait4: a step's peak memory
|
|
libc = "0.2"
|