Improved atmopheric light scattering
Posted: 13.10.2019, 18:16
While working on my improved atmopheric parameters for Earth I was made aware on the discord that back in the day, chris developed a tool called "scattersim" and posted a compiled version on the Celestial Matters forum. Using the Wayback Machine you can still download the executable. It's a commandline based programm that reads config files, for example provided on github.
A quck run using the titan2 config file:
Gives a stunning result:
Would it be possible to implement atmopheric scattering using the code of this scatter simulator, if it's still saved on github? The current atmospheric modeling is really messy and produces several visible artifacts that are hard to overlook.
Looking at the data, you can clearly see that the scale heights for the different effects (Rayleigh, Mie and Absorption) differ vastly. Would it at the very least be possible to allow for these scale height parameters to be individually defined? Thinking back at a dicussion with steve albers I remember there is code avaliable in Celestia that already defines RayleighScaleHeight but for some reason this parameter is not used.
A quck run using the titan2 config file:
Code: Select all
Radius 2575
SurfaceRed 0.75
SurfaceGreen 0.75
SurfaceBlue 0.75
RayleighScaleHeight 79.0
RayleighRed 0.00106
RayleighGreen 0.0018
RayleighBlue 0.00323
MieScaleHeight 60.0
Mie 0.0001
MieAsymmetry 0.25
AbsorbScaleHeight 79.0
AbsorbRed 0.0018
AbsorbGreen 0.011
AbsorbBlue 0.03
Gives a stunning result:
Would it be possible to implement atmopheric scattering using the code of this scatter simulator, if it's still saved on github? The current atmospheric modeling is really messy and produces several visible artifacts that are hard to overlook.
Looking at the data, you can clearly see that the scale heights for the different effects (Rayleigh, Mie and Absorption) differ vastly. Would it at the very least be possible to allow for these scale height parameters to be individually defined? Thinking back at a dicussion with steve albers I remember there is code avaliable in Celestia that already defines RayleighScaleHeight but for some reason this parameter is not used.