simgear/simgear/ephemeris
Edward d'Auvergne 50d7127c51 Calculation of the illuminance factor for the moon.
This is a number ranging between 0 and 1 based on the log of the illuminance of
the moon outside the atmosphere.  It is calculated as

    factor = (log(I) - max_loglux) / (max_loglux - min_loglux) + 1.0,

where I is the illuminance of the moon outside the atmosphere and min_loglux and
max_loglux are hardcoded to -0.504030345621 and -4.39964634562 respectively.
Although the value should never be outside of [0, 1], for safety it is clipped
to be between these values.  For more background, see
http://forum.flightgear.org/viewtopic.php?f=47&t=28201&start=60#p270516 .
2016-11-08 09:49:57 +01:00
..
celestialBody.cxx Optimisation of the celestialBody ephemeris code. 2016-11-08 09:49:57 +01:00
celestialBody.hxx Const-ify some ephemeris accessors, so they can be tied. 2010-06-14 10:23:06 +01:00
CMakeLists.txt Cmake: restore its original name to the ephemeris library 2011-01-23 21:05:37 +01:00
ephemeris.cxx Modified Files: 2007-02-02 18:16:42 +00:00
ephemeris.hxx Add const accessors. 2009-03-18 07:53:51 +01:00
jupiter.cxx Portability: Fix compile errors on MSVC 2015-03-24 11:05:57 -05:00
jupiter.hxx - new FSF addresses 2006-03-08 18:16:08 +00:00
mars.cxx Portability: Fix compile errors on MSVC 2015-03-24 11:05:57 -05:00
mars.hxx - new FSF addresses 2006-03-08 18:16:08 +00:00
mercury.cxx Portability: Fix compile errors on MSVC 2015-03-24 11:05:57 -05:00
mercury.hxx - new FSF addresses 2006-03-08 18:16:08 +00:00
moonpos.cxx Calculation of the illuminance factor for the moon. 2016-11-08 09:49:57 +01:00
moonpos.hxx Calculation of the illuminance factor for the moon. 2016-11-08 09:49:57 +01:00
neptune.cxx Portability: Fix compile errors on MSVC 2015-03-24 11:05:57 -05:00
neptune.hxx - new FSF addresses 2006-03-08 18:16:08 +00:00
pluto.hxx - new FSF addresses 2006-03-08 18:16:08 +00:00
saturn.cxx Portability: Fix compile errors on MSVC 2015-03-24 11:05:57 -05:00
saturn.hxx - new FSF addresses 2006-03-08 18:16:08 +00:00
star.cxx Portability: Fix compile errors on MSVC 2015-03-24 11:05:57 -05:00
star.hxx Calculation and exposure of the moon's age and phase. 2016-11-08 09:49:57 +01:00
stardata.cxx Building with clean SGPath API 2016-06-30 16:17:52 +01:00
stardata.hxx VS2013 compile fixes. 2016-01-27 14:02:27 +00:00
uranus.cxx Portability: Fix compile errors on MSVC 2015-03-24 11:05:57 -05:00
uranus.hxx - new FSF addresses 2006-03-08 18:16:08 +00:00
venus.cxx Portability: Fix compile errors on MSVC 2015-03-24 11:05:57 -05:00
venus.hxx - new FSF addresses 2006-03-08 18:16:08 +00:00