CelestiaProject / Celestia

Real-time 3D visualization of space.
https://celestiaproject.space
GNU General Public License v2.0
1.81k stars 304 forks source link

Surface objects are placed above the surface actually #1798

Open 375gnu opened 1 year ago

375gnu commented 1 year ago

Describe the bug We want an object, e.g. a lander, on the surface of some planet, so we add LongLat [X Y Z] into its definition, where Z is 0 or a small value like 0.0001

To Reproduce Steps to reproduce the behavior:

  1. Grab and install "Phoenix Lander on Mars" from http://celestiamotherlode.net/catalog/spacecraft.html
  2. Go to "Phoenix Lander"

Expected behavior The lander should be exactly on the surface of the planet.

Screenshots image

Desktop (please complete the following information):

375gnu commented 1 year ago

To fix this we should take the planet oblatessness into account.

Askaniy commented 1 year ago

I think it's the same issue https://github.com/CelestiaProject/Celestia/issues/1557

375gnu commented 10 months ago

542 must be fixed first