Stellarium / stellarium

Stellarium is a free GPL software which renders realistic skies in real time with OpenGL. It is available for Linux/Unix, Windows and macOS. With Stellarium, you really see what you can see with your eyes, binoculars or a small telescope.
https://stellarium.org
GNU General Public License v2.0
7.76k stars 821 forks source link

Mollweide Projection #3095

Open lf0k0nle opened 1 year ago

lf0k0nle commented 1 year ago

The Mollweide projection is used extensively by professional astronomers to show the celestial sphere when referring to surveys of solar system objects as well as deep sky objects , but is missing from Stellarium 1.2. The Hammer-Aitoff projection comes close, but departs from the Mollweide projection as you approach the celestial poles. Therefore I would like to humbly request that the Mollweide projection be added to Stellarium. Thanks.

github-actions[bot] commented 1 year ago

Thanks for adding your first issue to Stellarium. If you have questions, please do not hesitate to contact us.

github-actions[bot] commented 1 year ago

Hello @lf0k0nle!

Thank you for suggesting this feature.

github-actions[bot] commented 1 year ago

This is a good task for the community to participate in the contribution into Stellarium. Who wants to help us?

CurlyQuokka commented 1 year ago

Hi, I'd like to try to implement that, if that's OK with the maintainers. :)

CurlyQuokka commented 1 year ago

Hi all! Sorry for a long time wothput info - sadly I had some other thins to attend to. :( I've tried to implement the feature starting with the code for Hammer-Aitoff projection, but I am still having problem with the assertion in AtmospherePreetham.cpp . Assertion is not passed when value of x coordinate is greater than 100, I think. If I'll comment out the assertion I can get some display, but no ground is being displayed and there are issues with displaying the atmosphere.

I am afraid that I'll be not able to figure this out (at least not on my own). So if anyone would like to take a look at this issue to give me some feedback or just take it from here my current code is available here.

I am really, really sorry for the trouble here. :(

10110111 commented 1 year ago

no ground is being displayed and there are issues with displaying the atmosphere

These (and a few other modules) use the shader version of the projector, and your shaders appear to contain C++ code instead of GLSL. You can look into the logs to find shader compilation errors.

gzotti commented 1 year ago

I doubt the assertions are the problem. These seem unrelated to me.

gzotti commented 1 year ago

@CurlyQuokka any news, or did you give up on this?

gzotti commented 10 months ago

@CurlyQuokka any news, or did you give up on this?