Spring Conference on Computer Graphics 2002
1
2
3
A Survey of Modelling and Rendering
of the Earth’s Atmosphere
4
5
6
7
Jaroslav Sloup
Department of Computer Science and Engineering
Czech Technical University in Prague
8
9
10
11
12
13
14
15
16
17
18
19
Talk Outline
1
2
3
Introduction.
Models of the atmosphere.
4
5
6
7
Atmosphere composition.
Light transfer through the atmosphere.
Rendering of the atmosphere.
8
9
10
11
12
13
14
15
16
17
18
19
Motivation
1
2
Photo-realistic image synthesis of outdoor scenes
3
4
• most of scene objects illumination comes directly from the sun
and sky
• sky forms the background of the scene
• atmosphere causes change of colors of distant objects
Instance of participating media simulation problem
5
6
7
8
9
10
11
• long distances make the effects of atmosphere visible
12
13
14
15
16
17
18
19
Models of the Atmosphere
1
2
Plane-parallel model
Klassen [15]
• approximates the atmosphere as a set of plane-parallel layers
• neglects the sphericity of Earth
• introduces large errors near the horizon
3
4
5
6
7
8
Spherical model
Nishita et al.[20,21], Irwin [8], Jackel et al. [10]
• for each atmospheric component one submodel
• submodel = a set of non-interleaving spherical layers
9
10
11
12
13
14
H1
15
H2
ground
submodel 1
+
ground
=
ground
16
17
18
i−th
spherical layer
submodel 2
combination of
submodel 1 and 2
19
Composition of the Atmosphere
1
2
Major atmospheric constituents
3
•
•
•
•
5
4
clean dry air
aerosols
ozone
water vapour, rain drops and ice crystals
6
7
8
9
10
Constituents characteristics at point P
11
12
• extinction coefficient σeλ(P ) (losses by absorption and scattering)
• scattering function pλ(P, θ) (angular distribution of scattered light)
14
15
16
• single scattering albedo $λ(P )
(relation between absorption and scattering $λ(P ) =
13
17
R
Ω pλ (P,θ) dθ
σe
)
18
19
Composition of the Atmosphere – cont.
1
2
Constituents properties depend on
3
•
•
•
•
5
particle size
wavelength of incident light λ
refractive index of the particle
number of particles in unit volume
4
6
7
8
9
10
Sources of constituents properties
11
12
•
•
•
•
Mie scattering theory
Rayleigh scattering theory
geometric optics
measured data
13
14
15
16
17
18
19
Composition of the Atmosphere – cont.
1
2
Mie Scattering Theory
developed by G.Mie(1908)
3
4
•
•
•
•
general theory - valid for all particle sizes
strong forward scattering
absorption of energy occurs
scattering function depends on particle size and wavelength
rays of scattered light
5
6
7
8
9
10
11
incident
light
θ
12
13
14
scattering function
15
16
17
18
19
Composition of the Atmosphere – cont.
1
2
Rayleigh Scattering Theory
established by Lord Rayleigh (1871)
3
4
•
•
•
•
approximation for particles smaller than wavelength of light
no absorption of light
simple scattering function
radiance of scattered light is proportional to the ratio ∼ λ14
→ blue color of the sky
→ color of the sun (yellow → orange → red)
5
6
7
8
9
10
11
12
6e-05
extinction coefficient
13
5e-05
14
extinction [m^-1]
4e-05
15
3e-05
16
2e-05
17
1e-05
0
350
18
400
450
500 550 600 650
wavelength [nm]
700
750
19
Light Transfer Equation
1
2
L λ (P0 , s)
P0
τ(s0,sE)
3
scattering
volumes
beams of sunlight
penetrating the atmosphere
4
P
5
τ(s0,s)
skylight
s
L λ(P(s0 ), s)
s’
7
incident skylight radiance
L λ(P, s’)
skylight scattered
along direction s
towards the observer
phase function
θ
6
atmosphere
J λ (P, s)
8
9
s
10
Lλ(P (s0), ~
s)
=
11
12
Lλ(P0, ~
s) τ (s0, sE )
+
sRE
13
Jλ(P (s), ~
s) τ (s0, s) σeλ(P (s))ds
s0
initial ray radiance atte-
integral of skylight radiance scattered to-
14
15
16
17
nuated along the viewing
wards the observer by volume elements
ray by transmittance τ
along the viewing ray attenuated by τ
18
19
Light Transfer Equation – cont.
1
2
3
4
5
Source function
6
7
Jλ(P, ~
s)
=
1
4π
RR
Ω
n
P
i=1
$λi (P ) piλ(P, θ) Lλ(P, s~0) dω 0
8
9
10
11
12
13
14
15
16
17
18
19
Light Transfer Equation – cont.
1
2
Boundary condition at the top of the atmosphere
h
i
q
2
fλ 1 − u(1 − 1 − dr2 )
ray hits the solar disc
s
Lλ(P0, ~
s) = {
0.0
outside the solar disc
irradiance decrease factor
4
5
6
7
8
9
1
irradiance
decrease
factor
3
limb darkening
10
0.9
0.8
2.1
0.7
solar irradiance
black body at 5777K
2
11
0.6
12
1.9
0.5
solar irradiance
0.4
0
100000 200000 300000 400000 500000 600000
fλ
distance from the center of solar disc [km]
distance from the center
of solar disc
P0
atmosphere
1.8
13
1.7
1.6
14
1.5
15
1.4
s
L λ (P0 , s)
16
1.3
1.2
17
1.1
18
1
400
450
500
550
600
650
700
750
19
Light Transfer Equation – cont.
1
2
Boundary condition for ground reflection
ZZ
1
Lλ(P0, ~
s) =
ρλ(~
s, s~0) Lλ(P0, s~0) cos ϑ dω,
π
Ω
3
4
5
6
7
8
N
9
dω
s
ϑ
L λ (P0, s)
10
s’
11
12
L λ(P0, s’)
13
14
15
P0
brfd
ρλ
Earth’s surface
x
y
16
17
18
19
Rendering of the Atmosphere
1
2
For rendering we need
3
4
~ date, atm cond) → spectral radiance
• function F (P, dir,
5
6
to simulate the color of the sky and sun
7
~ date, atm cond, Lr (Pr )) → spectral radiance
• function G(P, dir,
to simulate the change of color of distant objects observed through the
8
9
10
atmosphere
11
12
atm_cond
dir
13
F(...)
14
Lr (Pr )
P
G(...)
Pr
15
16
17
18
F and G are based on the light transfer equation
19
Rendering of the Atmosphere – cont.
1
2
Rendering of the sky color
For every pixel covered by the sky do
•
•
•
•
evaluate LTE to determine amount of spectral radiance
convert spectral radiance → CIE XYZ color space
apply tone mapping techniques
convert CIE XYZ color → RGB color to be displayed
3
4
5
6
7
8
9
10
11
Simulation of the aerial perspective
For all pixels not covered by the sky
•
•
•
•
find intersection with the scene object
calculate amount of light reflected towards the observer
evaluate LTE to calculate gains and losses of reflected light
tone mapping and conversion to the RGB color
12
13
14
15
16
17
18
19
Rendering of the Atmosphere – cont.
1
2
Methods to solve the light transfer equation
3
• analytic methods
+ fast and easy to use
– hardly extendable
• numerical methods
Nishita et al.[13,20,21], Jackel et al.[9,10]
– still very difficult to solve
– require a lot of computational time
+ work with arbitrarily complex atmospheric conditions
5
Simplifying assumptions
4
6
7
8
9
10
11
12
13
14
15
• uniform medium, simple geometry or very small albedo
• restriction of order of scattering → single scattering methods
16
17
18
19
Rendering of the Atmosphere – cont.
1
2
Hybrid methods
Dobashi et al.[3,4], Preetham et al.[23]
• numerical solution ⇒ analytical approximation
• sky approximated by hemisphere with a large radius
• numerical solution
⇒ sky spectral radiance distribution for several sun altitudes
⇒ approximation by a series of basis functions / simple
parametrically fitted formulas
⇒ weights / parameters values are stored in tables
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Rendered Images
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Preetham et al.[23]
Walter and Jackel [9,10]
19
Summary
1
2
We discussed
3
• two models of the atmosphere
• atmosphere composition and properties of the major
atmospheric constituents
• light transfer equation
• overview of methods used for rendering of the atmosphere
5
4
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Spring Conference on Computer Graphics 2002
1
2
3
4
5
6
7
QUESTIONS ?
8
9
10
11
12
13
14
15
16
17
18
19
H1
H2
ground
submodel 1
+
ground
=
ground
i−th
spherical layer
submodel 2
combination of
submodel 1 and 2
rays of scattered light
incident
light
θ
scattering function
6e-05
extinction coefficient
extinction [m^-1]
5e-05
4e-05
3e-05
2e-05
1e-05
0
350
400
450
500 550 600 650
wavelength [nm]
700
750
L λ (P0 , s)
P0
τ(s0,sE)
scattering
volumes
beams of sunlight
penetrating the atmosphere
P
τ(s0,s)
skylight
s
L λ(P(s0 ), s)
s’
incident skylight radiance
L λ(P, s’)
skylight scattered
along direction s
towards the observer
phase function
θ
J λ (P, s)
s
atmosphere
irradiance decrease factor
1
irradiance
decrease
factor
limb darkening
0.9
0.8
0.7
0.6
0.5
solar irradiance
0.4
0
100000 200000 300000 400000 500000 600000
fλ
distance from the center of solar disc [km]
distance from the center
of solar disc
P0
atmosphere
s
L λ (P0 , s)
2.1
solar irradiance
black body at 5777K
2
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1
400
450
500
550
600
650
700
750
N
dω
s
ϑ
L λ (P0, s)
P0
brfd
ρλ
Earth’s surface
x
s’
L λ(P0, s’)
y
atm_cond
dir
F(...)
Lr (Pr )
P
G(...)
Pr
[back]
© Copyright 2025 Paperzz