# Participating Media Physics

Let us take a look at the physics of how light behaves in a participating medium

# Basics:

## Absorption is how the radiance is reduced because light absorbed and converted into other forms of energy such as heat.

The absorption cross section, describes the probability that light gets absorbed in the medium, typically varying with position and sometimes also direction .

Emission is how the radiance is increased due to particles that emit light. One very obvious example of this is fire where the oxidation process gives off energy in a so called exothermic reaction.

Scattering is how light collides with particles inside a medium and changes direction. Depending on the sizes of particles inside the medium either Rayleigh scattering or Mie scattering predominates. Rayleigh scattering describes how light scatters when the particles are much smaller than the wavelength , so phenomena like clouds or smoke can typically be modelled by Mie scattering.

Consider a point, , along a ray within some participating media. There are two main types of scattering events namely out-scattering and in-scattering.Out-scattering reduces the total radiance carried along the ray due to light deflected in different directions. In-scattering raises the radiancel, other rays are out-scattered and thus lowers the total radiance.

Out-scattering is determined by the scattering coefficient, , which is the probability of out-scattering per unit distance:

The combined loss of radiance due to both absorption and out-scattering is referred to as attenuation. The two constants are commonly combined into an attenuation constant, .

The change of radiance can now be describes as

The extinction equation, how much radiance is transmitted between two points distance , apart can now be derived:

note: The transmittance is multiplicative:

note: The transmittance is 1 (no attenuation) in a vacuum:

The optical thickness, ,between two points in a material is the negated exponent in the beam transmittance:

When the medium in homogeneous the attenuation is constant yielding an optical thickness of , which in turn yields Beer’s law for transmission:

In-scattering is light that scatters from other directions in the view direction. The added radiance per unit distance from in-scattering and emission is described as follows:

where the added radiance is a spherical integral of the phase function times the incident radiance . The in-scattering is the product of all added radiance and the scattering probability .

The albedo of the medium is the ratio the scattering and extinction probabilities: .

Phase Functions are analogues to the Bidirectional Scattering Distribution Function, describing the probability distribution of light from a particular direction scattering in another particular direction .

The normalization constraint tells us that a phase function integrates to the whole sphere:

By averaging the cosine of a phase function we can retrieve the preferred scattering direction :

The Henyey Greenstein phase functions are simpler, analytical, phase functions:

The Schlick phase function is a simpler version which gets rid of the costly exponent:

# The Transfer Equation

We can now derive a radiative transfer equation which describes the total change of radiance for light travelling in a participating medium. It is the sum of things that add to the radiance, in-scattering and emission, and the things that reduces the radiance, out-scattering and absorption.

Consider a ray that has bounced of a surface at , travelling through a participating medium towards the viewer at .

PICTURE

The outgoing radiance in direction from is which is attenuated in the medium according to the extinction equation. The added radiance is the in scattering which is the sum of all light’s radiance which are also attenuated in the medium.

## References

http://proquest.safaribooksonline.com.focus.lib.kth.se/9780125531801/571#X2ludGVybmFsX0J2ZGVwRmxhc2hSZWFkZXI/eG1saWQ9OTc4MDEyNTUzMTgwMS81NzI=

Backlog:

Anisotropic Scattering:

Spherical Harmonics:

Contextualize, introduce visibility function:

Single Scattering Formulation: