Files
resolved/examples/scenes/boxwing.toml
T
2026-10-15 11:30:54 -04:00

35 lines
1.3 KiB
TOML

# A box-wing satellite 7000 km from Earth's center (about 620 km up), seen from 60 m
# with Earth's limb behind it.
#
# The camera looks 63.7 degrees from straight down. At this altitude the limb is
# 65.7 degrees from straight down, so it crosses the image about 2 degrees (320 px)
# above the center, with Earth below and space above. Image up is the local vertical.
#
# The satellite is turned so the camera sees it along its (+1, +1, +1) body diagonal,
# an isometric view of the +X (array side), +Y and +Z faces, with +Z toward image up.
# The Sun is placed to light those three faces and the Earth near the limb.
#
# resolved render --scene examples/scenes/boxwing.toml --preview boxwing.png
# resolved render --scene examples/scenes/boxwing.toml --lighting L1 --preview boxwing.png
sun = [111155951345, -100085268138, 2610842842]
moon = [0, 0, -3.844e8]
# Anything left out keeps the example camera's value.
[camera]
exposure = 1e-4
[observer]
position = [7000026.62, -53.77, 0.0]
look_at = [7000000.0, 0.0, 0.0]
up = [1, 0, 0]
# At lighting L1, Earth's surface shows July (from scripts/fetch-earth.sh).
[appearance]
earth_month = 7
[[target]]
model = "../models/boxwing.gltf"
position = [7000000.0, 0.0, 0.0]
attitude = [0.218913627, -0.630230282, 0.320639661, -0.672366584]