add The Moon™

This commit is contained in:
yuni 2024-10-10 23:53:45 +02:00
parent 2469b613eb
commit 614105558b
5 changed files with 25 additions and 1 deletions

View file

@ -5,6 +5,7 @@
- Add sparkles to Jupiter's ring ✨😍✨ best visible from Farview Station
- Add oxygen tank near Luna's workshop, refills oxygen on interaction
- Add new avatars for Augmented Reality: Cat Ears, Skirt
- Add The Moon™
# v0.12.0

View file

@ -10,6 +10,10 @@
- Earth: By Yuni, CC0 License. A simple addition of
- [base image, by NASA, public domain](https://visibleearth.nasa.gov/images/74318/april-blue-marble-next-generation-w-topography)
- [clouds, by NASA, public domain](https://visibleearth.nasa.gov/images/57747/blue-marble-clouds)
- Moon: [By Solar System Scope, CC BY 4.0](https://www.solarsystemscope.com/textures/)
- Downscaled by 2x with LoHalo interpolation
- Applied GIMP's Sharpen (Unsharp Mask) filter with Radius=2, Amount=0.5, Threshold=0
- Exported as 70% quality JPEG
- Mars: [By Solar System Scope, CC BY 4.0](https://www.solarsystemscope.com/textures/)
- Jupiter: [By Björn Jónsson, CC BY 3.0](https://www.planetary.org/space-images/merged-cassini-and-juno)
- Downscaled by 2x with LoHalo interpolation

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

View file

@ -897,7 +897,8 @@ fn spawn_entities(
let orbited_mass: Option<f64> = if let Some(id) = &state.orbit_object_id {
match id.as_str() {
"jupiter" => Some(nature::JUPITER_MASS),
"sol" => Some(nature::JUPITER_MASS),
"earth" => Some(nature::EARTH_MASS),
"sol" => Some(nature::SOL_MASS),
_ => {
error!("Found no mass for object `{id}`");
continue;

View file

@ -48,6 +48,24 @@ actor 0 0 0
only_in_map_at_dist 1e10 jupiter
clickable no
physics off
actor 0 0 0 luna
name Luna
relativeto earth
id themoon
orbitaround earth 384399e3
tidally locked
angularmomentum 0 0 0
scale 1737.4e3
rotationz 90
sphere yes
moon yes
physics off
actor 0 0 0 orbitring
relativeto earth
scale 384399e3
only_in_map_at_dist 1e8 themoon
clickable no
physics off
actor 0 0 0 mars
name Mars
planet yes