CelestiaProject / Celestia

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

Weird zooming out bug #1284

Closed Ezebytez closed 2 years ago

Ezebytez commented 2 years ago
Ezebytez commented 2 years ago

Sorry for the bad quaility

SevenSpheres commented 2 years ago

This issue is present only on 1.7.0 (Windows/Qt/Android), not on 1.6.2. I'm able to replicate the change to a negative distance after zooming out very far; however, when returning to Earth, I see an invisible Earth with a slightly flickery background, but not the "stretching" seen in the video. The same "stretching" issue was recently reported by nussun on the Discord server, though.

Ezebytez commented 2 years ago

Yeah there was a flickery background and stretching

ajtribick commented 2 years ago

Issue occurs when the conversion from double to BigFix when building a UniversalCoord out of an Eigen::Vector3d fails when the magnitude exceeds 2^63 microlightyears. Not sure why this triggers the warping of the viewport though, probably some of the parameters get out-of-sync with each other somewhere.

We should probably prevent the observer from moving further than a gigaparsec from the centre.