- Oren–Nayar Reflectance Model
The Oren-Nayar model, developed by Michael Oren and Shree K. Nayar, is a
reflectance model fordiffuse reflection from rough surfaces. It has been shown to accurately predict the appearance of a wide range of natural surfaces, such as concrete, plaster, sand, etc. Today, the Oren-Nayar model is frequently used in the creation ofanimations andspecial effects in movies.Introduction
Reflectance is a physical property of a material that describes how it reflects incident light. The appearance of various materials are determined to a large extent by their reflectance properties. Most reflectance models can be broadly classified into two categories: diffuse and specular. Incomputer vision andcomputer graphics , the diffuse component is often assumed to beLambertian . A surface that obeysLambert's Law appears equally bright from all viewing directions. This model for diffuse reflection was proposed byJohann Heinrich Lambert in 1760 and has been perhaps the most widely used reflectance model in vision and graphics. For a large number of real-world surfaces, such as concrete, plaster, sand, etc., however, the Lambertian model is an inadequate approximation of the diffuse component. This is primarily because the Lambertian model does not take the roughness of the surface into account.Rough surfaces can be modelled as a set of facets with different slopes, where each facet is a small planar patch. Since photo receptors of the
retina andpixels in a camera are both finite-area detectors, substantialmacroscopic (much larger than the wavelength of incident light) surface roughness is often projected onto a single detection element, which in turn produces an aggregate brightness value over many facets. Whereas Lambert’s law may hold well when observing a single planar facet, a collection of such facets with different orientations is guaranteed to violate Lambert’s law. The primary reason for this is that the foreshortened facet areas will change for different viewing directions, and thus the surface appearance will be view-dependent.Analysis of this phenomenon has a long history and can be traced back almost a century. Past work has resulted in empirical models designed to fit experimental data as well as theoretical results derived from first principles. Much of this work was motivated by the non-Lambertian reflectance of the
moon .The Oren-Nayar reflectance model, developed by Michael Oren and Shree K. Nayar in 1993 [S.K. Nayar and M. Oren, " [http://www1.cs.columbia.edu/CAVE/publications/pdfs/Nayar_IJCV95.pdf Generalization of the Lambertian Model and Implications for Machine Vision] ". International Journal on Computer Vision, Vol.14, No.3, pp.227-251, Apr, 1995] , predicts reflectance from rough diffuse surfaces for the entire hemisphere of source and sensor directions. The model takes into account complex physical phenomena such as masking, shadowing and interreflections between points on the surface facets. It can be viewed as a generalization of Lambert’s law. Today, it is widely used in computer graphics and animation for rendering rough surfaces. It also has important implications for human vision and
computer vision problems, such asshape from shading , photometric stereo, etc.The model is available in most commercial and open-source rendering software such as
3ds Max , [http://www.newtek.com/lightwave Lightwave 3D] , Maya,Renderman , [http://www.pbrt.org PBRT] ,Blender 3D , etc.Formulation
The surface roughness model used in the derivation of the Oren-Nayar model is the microfacet model, proposed by Torrance and Sparrow [Torrance, K. E. and Sparrow, E. M. Theory for off-specular reflection from roughened surfaces. J. Opt. Soc. Am.. 57, 9(Sep 1967) 1105-1114] , which assumes the surface to be composed of long symmetric V-cavities. Each cavity consists of two planar facets. The
roughness of the surface is specified using a probability function for the distribution of facet slopes. In particular, theGaussian distribution is often used, and thus thevariance of the Gaussian distribution, , is a measure of the roughness of the surfaces (ranging from 0 to 1).In the Oren-Nayar reflectance model, each facet is assumed to be Lambertian in reflectance. As shown in the image on the right, given the radiance of the incoming light , the radiance of the reflected light , according to the Oren-Nayar model, is
:
where
:,
:,
:,
:,
and is the
albedo of the surface, and is the roughness of the surface (ranging from 0 to 1). In the case of (i.e., all facets in the same plane), we have , and , and thus the Oren-Nayar model simplifies to the Lambertian model::
Results
Here is a real image of a matte vase, along with versions rendered using the Lambertian and Oren-Nayar models. It shows that the Oren-Nayar model predicts the diffuse reflectance for rough surfaces more accurately than the Lambertian model.
Here are rendered images of a sphere using the Oren-Nayar model, corresponding to different surface roughnesses (i.e. different values):
Since the Oren-Nayar model predicts the reflectance more accurately for diffuse rough surfaces than the Lambertian model, it can greatly improve the accuracy of photometric 3D shape recovery methods, such as
photometric stereo andshape from shading . The image below compares the reconstruction accuracy of different reflectance models, using photometric stereo. Note that the reconstruction obtained using the Oren-Nayar model is much closer to the real shape than the one estimated using the Lambertian model.Connection with other microfacet reflectance models
See also
* Lambertian Model
* Phong ModelReferences
External links
* [http://www1.cs.columbia.edu/CAVE/projects/oren/ The official project page for the Oren-Nayar model] at Shree Nayar's [http://www.cs.columbia.edu/CAVE/ CAVE research group webpage]
Wikimedia Foundation. 2010.