Ratatoskr/scripts/ridge-bake
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nibu 52c1fb674c ridge-bake: planes export (relight_planes, export.py, manifest schema)
relight_planes splits the opaque relight into three straight-alpha planes
by the affine-haze trick; the premultiplied colour is made exact over the
reference haze per channel (a scalar alpha alone drifts 34/255 on the far
plane, because the haze share differs per channel).  export.py bakes a
place, writes WebP planes, manifest.json and index.json under a budget.

Tests: the straight-alpha test compared a hazy body with a few solid ink
pixels (fixture, not code); the rebake fixture replaced a plane with one
that had no solid pixel; an everywhere-opaque plane decodes as RGB, now
read back as RGBA.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 01:03:57 +00:00
..
tests ridge-bake: planes export (relight_planes, export.py, manifest schema) 2026-11-14 01:03:57 +00:00
.gitignore ridge-bake: ignore bytecode, untrack the pyc that slipped into the move 2026-11-13 23:20:27 +00:00
export.py ridge-bake: planes export (relight_planes, export.py, manifest schema) 2026-11-14 01:03:57 +00:00
places.json ridge-bake: move the A+D baker, tests and mutation runner into scripts/ 2026-11-13 23:19:01 +00:00
ridge-bake.schema.json ridge-bake: planes export (relight_planes, export.py, manifest schema) 2026-11-14 01:03:57 +00:00
ridge.py ridge-bake: planes export (relight_planes, export.py, manifest schema) 2026-11-14 01:03:57 +00:00
sun.py ridge-bake: move the A+D baker, tests and mutation runner into scripts/ 2026-11-13 23:19:01 +00:00