stellarium icon indicating copy to clipboard operation
stellarium copied to clipboard

Lunar eclipse affects the unlit side of the Moon

Open Atque opened this issue 2 years ago • 10 comments

This is a rarely seen limitation, but I thought I might report it anyway.

Lunar eclipses affect the non-illuminated side of the Moon. This is unrealistic, as the sunrays cannot reach those parts of the Moon during a lunar eclipse, and thus they should remain in total darkness. This is only visible from space, which is why this is a rarely seen limiation. See the screenshot below. stellarium-167

A similar limiation is that the Earthshine is visible evenly across the non-illuminated lunar surface, even the parts from which the Earth is invisible. See the screenshot below. This is also only visible from space. stellarium-169

Atque avatar Feb 09 '23 06:02 Atque

Funny perspectives. Yes, the unilluminated side of the Moon which also points away from Earth should be black when seen from some "observer". From Earth you never see this issue.

The earthshine is modelled as "ambient" light component in the classical OpenGL model, so this is not directional. It is a limitation I have learned to live with.

gzotti avatar Feb 10 '23 23:02 gzotti

It is a limitation I have learned to live with.

Isn't it an artificial limitation? We can just add another uniform to show direction to the Earth and use the BRDF twice instead of once.

10110111 avatar Feb 11 '23 04:02 10110111

@10110111 if you can do that, please go ahead. For me the focus of this program is still earth-bound simulation.

gzotti avatar Feb 11 '23 12:02 gzotti

Hello @Atque!

Thank you for suggesting this feature.

github-actions[bot] avatar Feb 11 '23 12:02 github-actions[bot]

Maybe helpful: https://onlinelibrary.wiley.com/doi/pdf/10.1111/cgf.70017

alex-w avatar Apr 17 '25 07:04 alex-w

Maybe helpful: https://onlinelibrary.wiley.com/doi/pdf/10.1111/cgf.70017

Yeah, I do have a plan to add refraction support to CalcMySky/ShowMySky, and even have made some progress, but it's still far from completion. The Earth's rim does look similar to figure 11 in this paper indeed.

10110111 avatar Apr 17 '25 08:04 10110111

@alex-w Note though, that this physically-based rendering needs a proper tone mapper instead of the bunch of ad hoc hacks that we have for objects' brightnesses and hues.

10110111 avatar Apr 17 '25 08:04 10110111

Maybe helpful: https://onlinelibrary.wiley.com/doi/pdf/10.1111/cgf.70017

Yeah, I do have a plan to add refraction support to CalcMySky/ShowMySky, and even have made some progress, but it's still far from completion. The Earth's rim does look similar to figure 11 in this paper indeed.

If this is the approach we're going for, maybe we could also solve the remaining parts of #483 at the same time.

Atque avatar Apr 17 '25 11:04 Atque

maybe we could also solve the remaining parts of #483 at the same time

Sure. Adding alien atmospheres should be easier than adding refraction and sourcing the look of the planet's atmosphere when rendering the surface of its satellite. But again, this needs attention at the relative brightness of the surface and the atmosphere (as well as extinction applied to the surface's color), and, ideally, a good tone mapper.

10110111 avatar Apr 17 '25 11:04 10110111

Concerning the behaviour of light interacting with the Moon : have also a look at #1804

axd1967 avatar Apr 30 '25 10:04 axd1967