Earth and moon eclipse

This commit is contained in:
connor committed 2026-10-14 21:56:11 -04:00
1 parent ff2ef10804
commit 85896b17a4
16 files changed
+575 -24

No files matched your search

+6 -5
View File
@@ -96,9 +96,10 @@ assert!(frame.dn_at(960, 540, 1) > 1000);
observer, Sun and Moon positions (or an epoch, with the `astrokit` feature) and
targets with their models. `examples/scenes/` has commented examples:
`boxwing.toml` and `boxwing-epoch.toml` use a small generated model that is
in the repository, and the rest use NASA spacecraft models (Landsat 8,
ICESat-2, OSTM/Jason-2, an SSL-1300 and ACE) that `scripts/fetch-models.sh`
downloads into `examples/models/nasa/`. That script needs Node (for `npx`),
in the repository, `lunar-eclipse.toml` and `solar-eclipse.toml` show two
real eclipses at lighting L1, and the rest use NASA spacecraft models
(Landsat 8, ICESat-2, OSTM/Jason-2, an SSL-1300 and ACE) that
`scripts/fetch-models.sh` downloads into `examples/models/nasa/`. That script needs Node (for `npx`),
because most NASA models are Draco-compressed and are decoded on the way in.
At lighting L1, Earth's surface comes from NASA's Blue Marble, which
`scripts/fetch-earth.sh` downloads and resizes (with ImageMagick) into
@@ -143,8 +144,8 @@ cargo run --release -p resolved-cli -- render \
M1 is complete: the library renders Earth, Moon, Sun and targets to DN
through `Renderer`, the CLI renders scene files, and the benchmarks give the
L0 / C0 baseline above. M2 is in progress: lighting L1 so far draws Earth's
surface from Blue Marble, shadows on the target, and light from Earth and the
Moon on it. The work is tracked as
surface from Blue Marble, shadows on the target, light from Earth and the
Moon on it, and eclipses on Earth and the Moon. The work is tracked as
Gitea milestones, each split into one issue per change:
| Milestone | Scope |