- Rendering equation
In
computer graphics , the rendering equation is anintegral equation in which the equilibriumradiance leaving a point is given as the sum of emitted plus reflected radiance under a geometricoptics approximation. It was simultaneously introduced into computer graphics by David Immel et al. [ Citation
last1 = Immel | first1 = David S.
last2 = Cohen | first2 = Michael F.
last3 = Greenberg | first3 = Donald P.
title = A radiosity method for non-diffuse environments
journal = SIGGRAPH 1986
doi = 10.1145/15922.15901] andJim Kajiya [ Citation
last1 = Kajiya | first1 = James T.
title = The rendering equation
journal = SIGGRAPH 1986
doi = 10.1145/15922.15902] 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. 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 of the incoming light (Li) from all directions, multiplied by the surface reflection and cosine of the incident angle.The rendering equation may be written in the form
:
where
* is a particular wavelength of light
* is time
* is the total amount of light of wavelength directed outward along direction at time , from a particular position
* is emitted light
* is an integral over a hemisphere of inward directions
* is the BRDF, the proportion of light reflected from to at position , time , and at wavelength
* is light of wavelength coming inward toward from direction at time
* is the attenuation of inward light due to incident angleTwo 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.
Note this equation's spectral and
time dependence— may be sampled at or integrated over sections of thevisible spectrum to obtain, for example, atrichromatic color sample. A pixel value for a single frame in an animation may be obtained by fixing ;motion blur can be produced by integrating over . [cite web
last = Owen
first = Scott
title = Reflection: Theory and Mathematical Formulation
date = September 5, 1999
url = http://www.siggraph.org/education/materials/HyperGraph/illumin/reflect2.htm
accessdate = 2008-06-22]Solving the rendering equation for any given scene is the primary challenge in realistic rendering. One approach to solving the equation is based on finite element methods, leading to the
radiosity algorithm. Another approach usingMonte Carlo method s has led to many different algorithms includingpath tracing ,photon mapping , andMetropolis light transport , among others.References
External links
* [http://graphics.stanford.edu/courses/cs348b-00/lectures/lecture12/ Lecture notes] from Stanford University course CS 348B, "Computer Graphics: Image Synthesis Techniques"
Wikimedia Foundation. 2010.