tmp
Rendering Equation
Hemispherical Formulation
Let us assume that \(L_{e}(x \rightarrow \theta)\) represents theradiance emitted by the surface at x and in the outgoing direction Θ, and \(L_{r}(x \rightarrow \theta)\) represents the radiance that is reflected by the surface at x in that direction \(\theta\).
By conservation of energy, the total outgoing radiance at a point and in a particular outgoing direction is the sum of the emitted radiance and the radiance reflected at that surface point in that direction.
Putting these equations together,the rendering equation is
Area Formulation
One popular formulation is arrived at by considering the surfaces of objects in the scene that contribute to the incoming radiance at the point x. This formulation replaces the integration over the hemisphere by integration over all surfaces visible at the point.
Ray-casting operation(\(r(x,\Psi)\)):finds the point on the closest visible object along a ray originating at point x and pointing in the direction \(\Psi\).
Assuming nonparticipating media, the incoming radiance at x from direction \(\Psi\) is the same as the outgoing radiance from y in the direction \(-\Psi\):
Additionally,the solid angle can be recast as follows
Substituting in Equation 2.29, the rendering equation can also be expressed as an integration over all surfaces in the scene as follows:
The term G(x,y), called the geometry term, depends on the relative geometry of the surfaces at point x and y:
Direct and Indirect Illumination Formulation
Another formulation of the rendering equation separates out the direct and indirect illumination terms.Direct illumination is the illumination,that arrives at a surface directly from the light sources in a scene; indirect illumination is the light that arrives after bouncing at least once off another surface in the scene.It is often efficient to sample direct illumination using the area formulation of the rendering equation, and the indirect illumination using the hemispherical formulation.
posted on 2024-04-08 06:55 Ultraman_X 阅读(10) 评论(0) 编辑 收藏 举报