WorldWideTelescope / wwt-windows-client

WorldWide Telescope Windows Application
Other
178 stars 55 forks source link

Lunar Eclipse Representation in Solar System mode #31

Open doctorspaceman opened 8 years ago

doctorspaceman commented 8 years ago

Specifically do the math for ray tracing to control lighting for Earth's shadow enabling viewing a lunar eclipse.

If this is done for Earth, perhaps it could be abstracted for other planet/moon systems.

astrojonathan commented 8 years ago

I started working on this over the weekend. The shadow is working, but I need to add rendering for the "Blood Moon" effect. The biggest issue is that the red is always there, but the dynamic range is so high that the lit portion washes it out until it is just a sliver. Cameras and eyes adapt to this by opening the iris and letting in more light, since we are already compressing dynamic range, it's a harder task to simulate.