aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-01-09 21:23:18 +0100
committerAdrian Kummerlaender2020-01-09 21:23:18 +0100
commit073fe4643e0616694a3d390da6d7dcfd3af120f3 (patch)
tree3f82c0358b55f359e1c9627a9e71bb3439fa622d
parentace393dbc86ad332c0ecd374157640cbbd909938 (diff)
downloadfirmament-073fe4643e0616694a3d390da6d7dcfd3af120f3.tar
firmament-073fe4643e0616694a3d390da6d7dcfd3af120f3.tar.gz
firmament-073fe4643e0616694a3d390da6d7dcfd3af120f3.tar.bz2
firmament-073fe4643e0616694a3d390da6d7dcfd3af120f3.tar.lz
firmament-073fe4643e0616694a3d390da6d7dcfd3af120f3.tar.xz
firmament-073fe4643e0616694a3d390da6d7dcfd3af120f3.tar.zst
firmament-073fe4643e0616694a3d390da6d7dcfd3af120f3.zip
Calculate Rayleigh coefficients using Nishita and Hillaire
i.e. plugging the values for n and N given in [1, Sec. 3.3] into eqs. (1) resp. (3) given by [2]. [1]: Hillaire. “Physically Based Sky, Atmosphere and Cloud Rendering in Frostbite” [2]: Nishita et. al. “Display of the Earth Taking into Account Atmospheric Scattering”
-rw-r--r--planets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/planets.py b/planets.py
index 50f6bd0..4570019 100644
--- a/planets.py
+++ b/planets.py
@@ -5,7 +5,7 @@ earth = {
'rayleigh_atmos_height': 7994,
'mie_atmos_height' : 1200,
- 'rayleigh_beta': (5.196e-6, 12.142e-6, 29.645e-6),
+ 'rayleigh_beta': (5.4717e-6, 12.7853e-6, 31.2142e-6),
'mie_beta' : (21e-6),
'mie_g' : 0.75
}