Optical models for direct volume rendering view the volume as a cloud of particles [30]. Light from a source can either be scattered or absorbed by particles. In practice, models that take into account all the phenomena tend to be very complicated. Therefore, practical models use several simplifications. A common approximation for the volume rendering integral is given by [32]:
Hereby, is the amount of light of wavelength
coming from a ray direction
that is received at location
on the image plane.
is the length of the ray
and
is the density of volume particles which receive light from the light sources and reflect it towards the observer according to their material properties.
is the light of wavelength
reflected and/or emitted at location
in the direction of
. The equation takes into account emission and absorbtion effects, but discards more advanced effects such as scattering and shadows.
In general, Equation 2.1 cannot be computed analytically. Hence, most volume rendering algorithms use a numeric solution of the equation. This results in the common compositing equation:
Here are the opacity samples along a ray and
are the local color values derived from the illumination model.
and
are referred to as transfer functions. These functions assign color and opacity to each intensity value in the volume.