HOME

TheInfoList



OR:

In
computer graphics Computer graphics deals with generating images with the aid of computers. Today, computer graphics is a core technology in digital photography, film, video games, cell phone and computer displays, and many specialized applications. A great de ...
, the rendering equation is an integral equation in which the equilibrium radiance leaving a point is given as the sum of emitted plus reflected radiance under a geometric
optics Optics is the branch of physics that studies the behaviour and properties of light, including its interactions with matter and the construction of instruments that use or detect it. Optics usually describes the behaviour of visible, ultrav ...
approximation. It was simultaneously introduced into computer graphics by David Immel et al. and
James Kajiya James Kajiya is a pioneer in the field of computer graphics. He is perhaps best known for the development of the rendering equation. Kajiya received his PhD from the University of Utah in 1979, was a professor at Caltech from 1979 through 199 ...
in 1986. The various realistic rendering techniques in computer graphics attempt to solve this equation. The physical basis for the rendering equation is the law of
conservation of energy In physics and chemistry, the law of conservation of energy states that the total energy of an isolated system remains constant; it is said to be ''conserved'' over time. This law, first proposed and tested by Émilie du Châtelet, means tha ...
. Assuming that ''L'' denotes radiance, we have that at each particular position and direction, the outgoing light (Lo) is the sum of the emitted light (Le) and the reflected light. The reflected light itself is the sum from all directions of the incoming light (Li) multiplied by the surface reflection and cosine of the incident angle.


Equation form

The rendering equation may be written in the form :L_(\mathbf x, \omega_, \lambda, t) = L_(\mathbf x, \omega_, \lambda, t) \ + \int_\Omega f_(\mathbf x, \omega_, \omega_, \lambda, t) L_(\mathbf x, \omega_, \lambda, t) (\omega_\cdot\mathbf n) \operatorname d \omega_ where *L_(\mathbf x, \omega_, \lambda, t) is the total spectral radiance of wavelength \lambda directed outward along direction \omega_ at time t, from a particular position \mathbf x *\mathbf x is the location in space *\omega_ is the direction of the outgoing light *\lambda is a particular wavelength of light *t is time *L_(\mathbf x, \omega_, \lambda, t) is emitted spectral radiance *\int_\Omega \dots \operatorname d\omega_ is an
integral In mathematics, an integral assigns numbers to functions in a way that describes displacement, area, volume, and other concepts that arise by combining infinitesimal data. The process of finding integrals is called integration. Along with ...
over \Omega *\Omega is the unit
hemisphere Hemisphere refers to: * A half of a sphere As half of the Earth * A hemisphere of Earth ** Northern Hemisphere ** Southern Hemisphere ** Eastern Hemisphere ** Western Hemisphere ** Land and water hemispheres * A half of the (geocentric) celes ...
centered around \mathbf n containing all possible values for \omega_ where \omega_\cdot\mathbf n > 0 *f_(\mathbf x, \omega_, \omega_, \lambda, t) is the bidirectional reflectance distribution function, the proportion of light reflected from \omega_ to \omega_ at position \mathbf x, time t, and at wavelength \lambda *\omega_ is the negative direction of the incoming light *L_(\mathbf x, \omega_, \lambda, t) is spectral radiance of wavelength \lambda coming inward toward \mathbf x from direction \omega_ at time t *\mathbf n is the
surface normal In geometry, a normal is an object such as a line, ray, or vector that is perpendicular to a given object. For example, the normal line to a plane curve at a given point is the (infinite) line perpendicular to the tangent line to the curve ...
at \mathbf x *\omega_ \cdot \mathbf n is the weakening factor of outward
irradiance In radiometry, irradiance is the radiant flux ''received'' by a ''surface'' per unit area. The SI unit of irradiance is the watt per square metre (W⋅m−2). The CGS unit erg per square centimetre per second (erg⋅cm−2⋅s−1) is often used ...
due to incident angle, as the light flux is smeared across a surface whose area is larger than the projected area perpendicular to the ray. This is often written as \cos \theta_i. Two noteworthy features are: its linearity—it is composed only of multiplications and additions, and its spatial homogeneity—it is the same in all positions and orientations. These mean a wide range of factorings and rearrangements of the equation are possible. It is a Fredholm integral equation of the second kind, similar to those that arise in
quantum field theory In theoretical physics, quantum field theory (QFT) is a theoretical framework that combines classical field theory, special relativity, and quantum mechanics. QFT is used in particle physics to construct physical models of subatomic particles and ...
. Note this equation's
spectral ''Spectral'' is a 2016 3D military science fiction, supernatural horror fantasy and action-adventure thriller war film directed by Nic Mathieu. Written by himself, Ian Fried, and George Nolfi from a story by Fried and Mathieu. The film stars J ...
and
time Time is the continued sequence of existence and event (philosophy), events that occurs in an apparently irreversible process, irreversible succession from the past, through the present, into the future. It is a component quantity of various me ...
dependence — L_ may be sampled at or integrated over sections of the
visible spectrum The visible spectrum is the portion of the electromagnetic spectrum that is visible to the human eye. Electromagnetic radiation in this range of wavelengths is called '' visible light'' or simply light. A typical human eye will respond to ...
to obtain, for example, a trichromatic color sample. A pixel value for a single frame in an animation may be obtained by fixing t; motion blur can be produced by averaging L_ over some given time interval (by integrating over the time interval and dividing by the length of the interval). Note that a solution to the rendering equation is the function L_. The function L_ is related to L_ via a ray-tracing operation: The incoming radiance from some direction at one point is the outgoing radiance at some other point in the opposite direction.


Applications

Solving the rendering equation for any given scene is the primary challenge in
realistic rendering Global illumination (GI), or indirect illumination, is a group of algorithms used in 3D computer graphics that are meant to add more realistic lighting to 3D scenes. Such algorithms take into account not only the light that comes directly from ...
. One approach to solving the equation is based on finite element methods, leading to the radiosity algorithm. Another approach using
Monte Carlo method Monte Carlo methods, or Monte Carlo experiments, are a broad class of computational algorithms that rely on repeated random sampling to obtain numerical results. The underlying concept is to use randomness to solve problems that might be deter ...
s has led to many different algorithms including path tracing, photon mapping, and Metropolis light transport, among others.


Limitations

Although the equation is very general, it does not capture every aspect of light reflection. Some missing aspects include the following: *
Transmission Transmission may refer to: Medicine, science and technology * Power transmission ** Electric power transmission ** Propulsion transmission, technology allowing controlled application of power *** Automatic transmission *** Manual transmission ** ...
, which occurs when light is transmitted through the surface, such as when it hits a
glass Glass is a non- crystalline, often transparent, amorphous solid that has widespread practical, technological, and decorative use in, for example, window panes, tableware, and optics. Glass is most often formed by rapid cooling (quenchin ...
object or a
water Water (chemical formula ) is an inorganic, transparent, tasteless, odorless, and nearly colorless chemical substance, which is the main constituent of Earth's hydrosphere and the fluids of all known living organisms (in which it acts as ...
surface, * Subsurface scattering, where the spatial locations for incoming and departing light are different. Surfaces rendered without accounting for subsurface scattering may appear unnaturally opaque — however, it is not necessary to account for this if transmission is included in the equation, since that will effectively include also light scattered under the surface, * Polarization, where different light polarizations will sometimes have different reflection distributions, for example when light bounces at a water surface, *
Phosphorescence Phosphorescence is a type of photoluminescence related to fluorescence. When exposed to light (radiation) of a shorter wavelength, a phosphorescent substance will glow, absorbing the light and reemitting it at a longer wavelength. Unlike fluo ...
, which occurs when light or other
electromagnetic radiation In physics, electromagnetic radiation (EMR) consists of waves of the electromagnetic (EM) field, which propagate through space and carry momentum and electromagnetic radiant energy. It includes radio waves, microwaves, infrared, (visib ...
is absorbed at one moment and emitted at a later moment, usually with a longer
wavelength In physics, the wavelength is the spatial period of a periodic wave—the distance over which the wave's shape repeats. It is the distance between consecutive corresponding points of the same phase on the wave, such as two adjacent crests, tr ...
(unless the absorbed electromagnetic radiation is very intense), * Interference, where the wave properties of light are exhibited, *
Fluorescence Fluorescence is the emission of light by a substance that has absorbed light or other electromagnetic radiation. It is a form of luminescence. In most cases, the emitted light has a longer wavelength, and therefore a lower photon energy, tha ...
, where the absorbed and emitted light have different
wavelength In physics, the wavelength is the spatial period of a periodic wave—the distance over which the wave's shape repeats. It is the distance between consecutive corresponding points of the same phase on the wave, such as two adjacent crests, tr ...
s, *
Non-linear In mathematics and science, a nonlinear system is a system in which the change of the output is not proportional to the change of the input. Nonlinear problems are of interest to engineers, biologists, physicists, mathematicians, and many other ...
effects, where very intense light can increase the energy level of an
electron The electron ( or ) is a subatomic particle with a negative one elementary electric charge. Electrons belong to the first generation of the lepton particle family, and are generally thought to be elementary particles because they have n ...
with more energy than that of a single
photon A photon () is an elementary particle that is a quantum of the electromagnetic field, including electromagnetic radiation such as light and radio waves, and the force carrier for the electromagnetic force. Photons are massless, so they alwa ...
(this can occur if the electron is hit by two photons at the same time), and emission of light with higher frequency than the frequency of the light that hit the surface suddenly becomes possible, and *
Doppler effect The Doppler effect or Doppler shift (or simply Doppler, when in context) is the change in frequency of a wave in relation to an observer who is moving relative to the wave source. It is named after the Austrian physicist Christian Doppler, who ...
, where light that bounces off an object moving at a very high speed will get its wavelength changed: if the light bounces off an object that is moving towards it, the light will be
blueshift In physics, a redshift is an increase in the wavelength, and corresponding decrease in the frequency and photon energy, of electromagnetic radiation (such as light). The opposite change, a decrease in wavelength and simultaneous increase i ...
ed and the
photon A photon () is an elementary particle that is a quantum of the electromagnetic field, including electromagnetic radiation such as light and radio waves, and the force carrier for the electromagnetic force. Photons are massless, so they alwa ...
s will be packed more closely so the photon flux will be increased; if it bounces off an object moving away from it, it will be
redshift In physics, a redshift is an increase in the wavelength, and corresponding decrease in the frequency and photon energy, of electromagnetic radiation (such as light). The opposite change, a decrease in wavelength and simultaneous increase in fr ...
ed and the photon flux will be decreased. This effect becomes apparent only at speeds comparable to the
speed of light The speed of light in vacuum, commonly denoted , is a universal physical constant that is important in many areas of physics. The speed of light is exactly equal to ). According to the special theory of relativity, is the upper limit fo ...
, which is not the case for most rendering applications. For scenes that are either not composed of simple surfaces in a vacuum or for which the travel time for light is an important factor, researchers have generalized the rendering equation to produce a ''volume rendering equation'' suitable for volume rendering and a ''transient rendering equation''{{Cite techreport, first=Adam M., last=Smith , author2=Skorupski, James , author3=Davis, James, title=Transient Rendering, number=UCSC-SOE-08-26, institution=UC Santa Cruz, year=2008 , url=http://classes.soe.ucsc.edu/cmps290b/Fall07/TransientRendering/ucsc-soe-08-26.pdf for use with data from a time-of-flight camera.


References


External links


Lecture notes
from Stanford University course CS 348B, ''Computer Graphics: Image Synthesis Techniques'' Computer graphics