End of milestone 3

This commit is contained in:
connor committed 2026-10-17 19:29:59 -04:00
1 parent 5e2769faa8
commit cc70cea7f6
13 files changed
+192 -84

No files matched your search

+10 -9
View File
@@ -1,13 +1,14 @@
#!/bin/sh
# Renders every example scene at lighting L0 and L1 into gallery/ (gitignored), as
# <scene>-L0.png and <scene>-L1.png previews made with --pretty: white balanced, with a
# tone curve, from exposures that keep the raw signal short of saturation. A scene whose
# model, maps or kernels are missing is skipped with the reason. Then the showcase
# movie, gallery/movie.mp4 (resolved-movie, which needs ffmpeg). View the result with
# scripts/serve-gallery.py.
# Renders every example scene at lighting L0 and L1, with camera C1, into gallery/
# (gitignored), as <scene>-L0.png and <scene>-L1.png previews made with --pretty: white
# balanced, with a tone curve, from exposures that keep the raw signal short of
# saturation. A scene whose model, maps or kernels are missing is skipped with the
# reason. Then the showcase movie, gallery/movie.mp4 (resolved-movie, which needs
# ffmpeg). View the result with scripts/serve-gallery.py.
#
# Needs: scripts/fetch-models.sh for the NASA models, scripts/fetch-earth.sh and
# scripts/fetch-moon.py for L1, and astrokit's kernels for scenes given by epoch.
# Needs: scripts/fetch-models.sh for the NASA models, scripts/fetch-earth.sh,
# scripts/fetch-moon.py and scripts/fetch-stars.py for L1, and astrokit's kernels for
# scenes given by epoch.
set -e
cd "$(dirname "$0")/.."
@@ -22,7 +23,7 @@ for scene in examples/scenes/*.toml; do
for tier in L0 L1; do
out="gallery/$name-$tier.png"
if error=$(./target/release/resolved render --scene "$scene" --lighting "$tier" \
--preview "$out" --pretty 2>&1); then
--camera C1 --preview "$out" --pretty 2>&1); then
echo "$out"
made=$((made + 1))
else