CLI, along with several examples, plus model downloading
This commit is contained in:
1 parent
4f9e73a418
commit
51ace681a7
22 files changed
+1804
-18
No files matched your search
@@ -0,0 +1,20 @@
|
||||
# The Advanced Composition Explorer (26k triangles). The real ACE sits at the
|
||||
# Sun-Earth L1 point; here it is put in low orbit, in an isometric view with
|
||||
# Earth's limb behind it. Generated by scripts/make-example-scenes.py; the model
|
||||
# comes from scripts/fetch-models.sh.
|
||||
#
|
||||
# resolved render --scene examples/scenes/ace.toml --preview ace.png
|
||||
|
||||
sun = [111172883513, -100100513931, 0]
|
||||
moon = [0, 0, -3.844e8]
|
||||
|
||||
[observer]
|
||||
position = [7000036.38, -73.51, 0.00]
|
||||
look_at = [7000000.00, 0.00, 0.00]
|
||||
up = [1, 0, 0]
|
||||
|
||||
[[target]]
|
||||
model = "../models/nasa/ace.glb"
|
||||
scale = 0.00485
|
||||
position = [7000000.0000, 0.0000, 0.0000]
|
||||
attitude = [0.218913627, -0.630230282, 0.320639661, -0.672366584]
|
||||
@@ -0,0 +1,18 @@
|
||||
# The same view at a real epoch, with the Sun, Moon and Earth's orientation from
|
||||
# astrokit's ephemerides (needs the astrokit feature and its kernels). The geometry of
|
||||
# boxwing.toml is rotated as a whole so its Sun direction matches the real Sun's at
|
||||
# this epoch: same limb, same isometric view, same lighting.
|
||||
#
|
||||
# resolved render --scene examples/scenes/boxwing-epoch.toml --preview epoch.png
|
||||
|
||||
epoch = "2026-10-14T12:00:00 UTC"
|
||||
|
||||
[observer]
|
||||
position = [-3309620.6, -6112901.3, -824149.4]
|
||||
look_at = [-3309561.3, -6112904.1, -824140.5]
|
||||
up = [-0.472794, -0.873272, -0.117734]
|
||||
|
||||
[[target]]
|
||||
model = "../models/boxwing.gltf"
|
||||
position = [-3309561.3, -6112904.1, -824140.5]
|
||||
attitude = [0.411662751, 0.017111321, -0.752389012, 0.51395696]
|
||||
@@ -0,0 +1,29 @@
|
||||
# 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
|
||||
|
||||
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]
|
||||
|
||||
[[target]]
|
||||
model = "../models/boxwing.gltf"
|
||||
position = [7000000.0, 0.0, 0.0]
|
||||
attitude = [0.218913627, -0.630230282, 0.320639661, -0.672366584]
|
||||
@@ -0,0 +1,19 @@
|
||||
# ICESat-2 (752k triangles) in its 496 km orbit; the heavy model for benchmarks,
|
||||
# in an isometric view with Earth's limb behind it. Generated by
|
||||
# scripts/make-example-scenes.py; the model comes from scripts/fetch-models.sh.
|
||||
#
|
||||
# resolved render --scene examples/scenes/icesat2.toml --preview icesat2.png
|
||||
|
||||
sun = [105781668823, -105781668823, 0]
|
||||
moon = [0, 0, -3.844e8]
|
||||
|
||||
[observer]
|
||||
position = [6874182.69, -103.11, 0.00]
|
||||
look_at = [6874137.00, 0.00, 0.00]
|
||||
up = [1, 0, 0]
|
||||
|
||||
[[target]]
|
||||
model = "../models/nasa/icesat2.glb"
|
||||
scale = 1.0
|
||||
position = [6874133.2074, 2.1303, -1.3429]
|
||||
attitude = [0.204578316, -0.623275321, 0.333957893, -0.676866097]
|
||||
@@ -0,0 +1,19 @@
|
||||
# Landsat 8 (85k triangles) in its 705 km orbit, in an isometric view with
|
||||
# Earth's limb behind it. Generated by scripts/make-example-scenes.py; the model
|
||||
# comes from scripts/fetch-models.sh.
|
||||
#
|
||||
# resolved render --scene examples/scenes/landsat8.toml --preview landsat8.png
|
||||
|
||||
sun = [111172883513, -100100513931, 0]
|
||||
moon = [0, 0, -3.844e8]
|
||||
|
||||
[observer]
|
||||
position = [7083216.12, -150.19, 0.00]
|
||||
look_at = [7083137.00, 0.00, 0.00]
|
||||
up = [1, 0, 0]
|
||||
|
||||
[[target]]
|
||||
model = "../models/nasa/landsat8.glb"
|
||||
scale = 1.0
|
||||
position = [7083133.0811, -2.1094, -2.6020]
|
||||
attitude = [0.227385402, -0.634228406, 0.312656887, -0.669549012]
|
||||
@@ -0,0 +1,19 @@
|
||||
# OSTM / Jason-2 (65k triangles) in its 1336 km orbit, in an isometric view with
|
||||
# Earth's limb behind it. Generated by scripts/make-example-scenes.py; the model
|
||||
# comes from scripts/fetch-models.sh.
|
||||
#
|
||||
# resolved render --scene examples/scenes/ostm.toml --preview ostm.png
|
||||
|
||||
sun = [125463331183, -81476839938, 0]
|
||||
moon = [0, 0, -3.844e8]
|
||||
|
||||
[observer]
|
||||
position = [7714190.15, -72.55, 0.00]
|
||||
look_at = [7714137.00, 0.00, 0.00]
|
||||
up = [1, 0, 0]
|
||||
|
||||
[[target]]
|
||||
model = "../models/nasa/ostm.glb"
|
||||
scale = 3.5
|
||||
position = [7714137.0021, -0.1237, -0.1237]
|
||||
attitude = [0.276078628, -0.655532500, 0.265098361, -0.650984325]
|
||||
@@ -0,0 +1,19 @@
|
||||
# An SSL-1300 communications satellite (182k triangles) in geostationary orbit,
|
||||
# in an isometric view with Earth's limb behind it. Generated by
|
||||
# scripts/make-example-scenes.py; the model comes from scripts/fetch-models.sh.
|
||||
#
|
||||
# resolved render --scene examples/scenes/ssl1300.toml --preview ssl1300.png
|
||||
|
||||
sun = [144500446867, 38718778044, 0]
|
||||
moon = [0, 0, -3.844e8]
|
||||
|
||||
[observer]
|
||||
position = [42164291.13, -34.20, 0.00]
|
||||
look_at = [42164000.00, 0.00, 0.00]
|
||||
up = [1, 0, 0]
|
||||
|
||||
[[target]]
|
||||
model = "../models/nasa/ssl1300.glb"
|
||||
scale = 0.1
|
||||
position = [42163999.7300, 0.2428, 0.3631]
|
||||
attitude = [0.513066177, -0.706858772, -0.018726374, -0.486583084]
|
||||
Reference in new issue
Block a user