I tried to get a better rendering of the (earth) moon eclipse that takes the sun light scattering by the atmosphere. I therefore slightly modify the code (only the render.cpp file) to treat
specifically the moon eclipse, the other eclipses are not modified and I created a specific texture inspired by photos found in the review "Sky and Telescope". This was made under Linux. I did
not succeed to compile the last versions of celestia with Visual C++. The rendering depends of the color balance of the monitor it can easily be improved. The code can also be extended to other
planets with atmospheres but I have no idea of the effect!! Introducing the gas composition and densities in the proper Scattering formula perhaps? Here is an example. Leaves a message here if you are interessed by the render.cpp file.
MB
Moon Eclipse
-
Topic authorMB
moon eclipse
I am sorry. I don't know how to include a .jpg file in this message (Nescape 4.5)!!
[file:///E:/Eclipse%20lune/Ecl_Moon3.jpg]
MB
[file:///E:/Eclipse%20lune/Ecl_Moon3.jpg]
MB
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 9 months
- Location: Seattle, Washington, USA
Celestia does simulate lunar eclipses. Eclipses of the Galilean satellites do look a bit weird because of the fairly low resolution textures used for shadows. Also, satellite-satellite eclipses are simulated, so you can watch the Galilean moons eclipse each other (though I haven't tested this myself yet.)
Shadows cast by rings onto planets aren't handled yet--I'll fix this soon, though. Celestia also doesn't create colored shadows yet, so no lunar eclipses don't look quite right yet.
--Chris
Shadows cast by rings onto planets aren't handled yet--I'll fix this soon, though. Celestia also doesn't create colored shadows yet, so no lunar eclipses don't look quite right yet.
--Chris
-
Topic authorMB
Moon Eclipse
As I already mentioned I slightly modified the code to try to render the color of the moon eclipse without affecting the other eclipses. Unfortunately I don't know how to post pictures in this forum. Post a message at barat@lcam.u-psud.fr I will send your a colored eclipse (.jpg) and the modified render.cpp file if you want to compile it. By the way this was obtained under linux. Unfortunately I did not succeed to in getting a workable version under Windows; it crashes at the opening. I would appreciate such exe complile with my version of the render.cpp file.
MB
MB