using new atmosphere code

Post requests, images, descriptions and reports about work in progress here.
Topic author
jgrillo2002
Posts: 132
Joined: 26.07.2002
Age: 38
With us: 22 years 8 months
Location: New York, USA

using new atmosphere code

Post #1by jgrillo2002 » 07.12.2006, 20:47

I know this is a stupid question but im not sure on how I use this new atmosphere code that is with the new version. how do I use it and how does it work?

Topic author
jgrillo2002
Posts: 132
Joined: 26.07.2002
Age: 38
With us: 22 years 8 months
Location: New York, USA

Post #2by jgrillo2002 » 10.12.2006, 05:48

sry to say but anyone willing to help

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 23
With us: 23 years
Location: Hamburg, Germany

Post #3by t00fri » 10.12.2006, 08:38

The six new atmosphere parameters characterize Rayleigh scattering and more generally Mie scattering of light with the particles of the atmosphere. One has to know some physics to /understand/ their function.

To use the new artmosphere degrees of freedom in a /conscious/ manner, you should first of all know about the physics and composition of the atmosphere in question. There are no simple rules of usage.

Otherwise here is a brief description that you could easily have found by just using the search engine!

--------------------------------------
Mie
A float value giving the fraction of light scattered per kilometer at the planet's surface ('sea level')

MieAsymmetry
Henyey-Greenstein phase function parameter for wavelength independent scattering. A floating point value between -1 and 1, with -1 indicating complete backscattering, 1 complete forward scattering, and 0 isotropy.

MieScaleHeight
Scale height for wavelength independent scattering particles. Height in kilometers at which wavelength independent scattering is 1/e of the value at the surface

Rayleigh
Wavelength dependent scattering coefficients. Three values giving fraction of red, green, and blue light scattered per kilometer at the planet's surface. To simulate Rayleigh scattering, they should be in ratios that fit the 1/wavelength^4 behavior, though this is not required.

RayleighScaleHeight
Scale height for wavelength dependent scattering. Currently ignored; MieScaleHeight is used for both Rayleigh and Mie scattering.

Absorption
Three values giving the fraction of red, green, and blue light absorbed per kilometer at the planet's surface.


---------------------------------------------------

To get a feel, here are some respective values for Earth
and for Titan:

Earth:
=====
Mie 0.001
MieAsymmetry -0.25
Rayleigh [ 0.001 0.0025 0.006 ]
MieScaleHeight 12

Titan:
====

Mie 0.0001
MieAsymmetry -0.55
Rayleigh [ 0.0 0.0 0.00017 ]
Absorption [ 0.000075 0.00030 0.00025 ]
MieScaleHeight 220.0

These parameters should appear within the
Atmosphere {} blocks in solarsys.ssc.
Image

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 6 months
Location: MinneSNOWta
Contact:

Post #4by PlutonianEmpire » 10.12.2006, 13:19

And for a swamp world with a green atmosphere?

Anyhoo, thank you! i'm so bookmarking this! 8)
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 23
With us: 23 years
Location: Hamburg, Germany

Post #5by t00fri » 10.12.2006, 14:35

PlutonianEmpire wrote:And for a swamp world with a green atmosphere?

Anyhoo, thank you! i'm so bookmarking this! 8)


As I emphasized: due to the many degrees of freedom which the new atmosphere code has, a basic physics understanding of Mie and Rayleigh scattering is unavoidable for own /creative/ applications.

The net is FULL of explanations and the respective formulae. Just search for Mie scattering or Mie theory etc. Similarly, with Rayleigh scattering being an important special case in atmospheric physics with a 1/wavelength^4 dependence of the scattering cross section.

Since the present code represents a far more professional approach to atmospheres, its use also requires more specific knowledge in physics/meteorology....

Here is another non-physics suggestion:

TRIAL & ERROR ;-)

Bye Fridger
Image

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 6 months
Location: MinneSNOWta
Contact:

Post #6by PlutonianEmpire » 10.12.2006, 14:58

Ok, thanks :)
Terraformed Pluto: Now with New Horizons maps! :D


Return to “Add-on development”