Page 1 of 1

Lunar eclipse - why black?

Posted: 09.10.2012, 12:22
by Mariusz Kuźmiński
A question for all users: can you see only black surface of the Moon (instead dark red one) when an eclipse is in full phase? It's simply a bug or it depends on graphic card? I'm dreaming about really looking, dark red eclipses of our Moon :?

Re: Lunar eclipse - why black?

Posted: 09.10.2012, 12:31
by Hungry4info
Celestia is currently designed to render planet shadows onto moons as simple shadows, and it doesn't simulate effects of the host planet's atmosphere onto those shadows.

Re: Lunar eclipse - why black?

Posted: 10.10.2012, 21:15
by Mariusz Kuźmiński
In Stellarium the problem was solved with a special texture called "Earth shadow".

Re: Lunar eclipse - why black?

Posted: 10.10.2012, 21:41
by t00fri
Mariusz Ku?mi?ski wrote:In Stellarium the problem was solved with a special texture called "Earth shadow".

Celestia (in render.cpp) uses shadow textures along with a ShadowTextureFunction class that is a function object for creating shadow textures used for rendering eclipses.

Apparently, this ShadowTextureFunction needs just to be slightly modified to produce the desired effect. I'll surely look at this for celestia.Sci if I find some time.

Fridger