Added the delta-tooling

This commit is contained in:
connor committed 2026-10-17 20:14:08 -04:00
1 parent cc70cea7f6
commit a3f62301f4
5 files changed
+470 -10

No files matched your search

+13 -1
View File
@@ -150,6 +150,16 @@ camera C1, into `gallery/` with `--pretty`, skipping any whose model or data
is missing, and `scripts/serve-gallery.py` serves the result as a web page on
port 8000 of every interface, each scene captioned from its file.
`scripts/gallery-delta.py` shows what a change did to the images: it renders
the example scenes at two revisions, noiseless, and the gallery's Delta tab
shows each changed image before, after, and with its changed pixels colored
(orange brighter, blue darker), with the change in DN. With no arguments it
compares HEAD with uncommitted changes, or HEAD~1 with HEAD when there are
none; `--base` and `--head` pick others. Each commit is built in a git worktree
under `target/delta/` and its renders are kept, so comparing the next commit
reuses them. About 40 s on the RTX 3060 once built; it needs numpy, Pillow and
ImageMagick.
`crates/resolved-showcase` makes a 30-second movie at lighting L1 and camera
C1: an inspector holding station behind a Landsat 8 model 705 km up, which
astrokit propagates with J2. Time runs fast over the daylit Earth, slows as
@@ -189,7 +199,9 @@ cargo run --release -p resolved-showcase -- --serve 0.0.0.0:8010
2 x 2). A tier the scene or the data cannot support stops with an error naming
what is missing.
- `--seed N` and `--frame N` pick the detector noise at camera C1 (default 0
and 0): the same seed and frame give the same image.
and 0): the same seed and frame give the same image. `--noiseless` leaves out
the noise, dark current and fixed pattern, so two renders differ only where
their light does.
- `--data DIR` says where the tiers' data is (`earth/bmng-2004-MM.jpg`,
`moon/wac-hapke-643.png` and `stars/stars.bin`).
Without it the CLI tries `RESOLVED_DATA`, then `./data`, then the