BRDFs Randy Rauwendaal.

Slides:



Advertisements
Similar presentations
The Radiance Equation.
Advertisements

Technische Universität München Fakultät für Informatik Computer Graphics SS 2014 Lighting Rüdiger Westermann Lehrstuhl für Computer Graphik und Visualisierung.
Computer Vision Radiometry. Bahadir K. Gunturk2 Radiometry Radiometry is the part of image formation concerned with the relation among the amounts of.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 21: Radiometry Many slides courtesy Pat Hanrahan.
Radiometry. Outline What is Radiometry? Quantities Radiant energy, flux density Irradiance, Radiance Spherical coordinates, foreshortening Modeling surface.
Physically Based Illumination Models
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
Computer Vision - A Modern Approach Set: Radiometry Slides by D.A. Forsyth Radiometry Questions: –how “bright” will surfaces be? –what is “brightness”?
Based on slides created by Edward Angel
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 Shading I.
University of New Mexico
University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2006 Don Fussell Previous lecture Reflectance I BRDF, BTDF, BSDF Ideal specular.
Computer Graphics (Spring 2008) COMS 4160, Lecture 20: Illumination and Shading 2
Computer Graphics (Fall 2008) COMS 4160, Lecture 19: Illumination and Shading 2
Introduction to Computer Vision CS / ECE 181B Tues, May 18, 2004 Ack: Matthew Turk (slides)
Rendering General BSDFs and BSSDFs Randy Rauwendaal.
Objectives Learn to shade objects so their images appear three- dimensional Learn to shade objects so their images appear three- dimensional Introduce.
Basic Principles of Surface Reflectance Lecture #3 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Computer Graphics (Fall 2004) COMS 4160, Lecture 16: Illumination and Shading 2 Lecture includes number of slides from.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Shading I Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
Illumination and Direct Reflection Kurt Akeley CS248 Lecture 12 1 November 2007
CS 480/680 Computer Graphics Shading I Dr. Frederick C Harris, Jr.
CS 445 / 645: Introductory Computer Graphics
EECS 274 Computer Vision Light and Shading. Radiometry – measuring light Relationship between light source, surface geometry, surface properties, and.
Reflectance Map: Photometric Stereo and Shape from Shading
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell Reflection Models I Today Types of reflection models The BRDF and.
02/25/05© 2005 University of Wisconsin Last Time Meshing Volume Scattering Radiometry (Adsorption and Emission)
MIT EECS 6.837, Durand and Cutler Local Illumination.
CSC418 Computer Graphics n Illumination n Lights n Lightinging models.
Taku KomuraComputer Graphics Local Illumination and Shading Computer Graphics – Lecture 10 Taku Komura Institute for Perception, Action.
Bi-Directional Reflectance Distribution Functions (BRDF’s) Matthew McCrory.
Advanced Illumination Models Chapter 7 of “Real-Time Rendering, 3 rd Edition”
111/17/ :21 Graphics II Global Rendering and Radiosity Session 9.
Radisoity Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts Director, Arts Technology Center University of New.
Announcements Office hours today 2:30-3:30 Graded midterms will be returned at the end of the class.
Reflection models Digital Image Synthesis Yung-Yu Chuang 11/01/2005 with slides by Pat Hanrahan and Matt Pharr.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
CSCE 641 Computer Graphics: Reflection Models Jinxiang Chai.
Computer Graphics (Spring 2003) COMS 4160, Lecture 18: Shading 2 Ravi Ramamoorthi Guest Lecturer: Aner Benartzi.
Radiosity 1. 2 Introduction Ray tracing best with many highly specular surfaces ­Not real scenes Rendering equation describes general shading problem.
02/2/05© 2005 University of Wisconsin Last Time Reflectance part 1 –Radiometry –Lambertian –Specular.
Local Illumination and Shading
CS348B Lecture 10Pat Hanrahan, Spring 2005 Reflection Models I Today Types of reflection models The BRDF and reflectance The reflection equation Ideal.
COMPUTER GRAPHICS CS 482 – FALL 2015 OCTOBER 27, 2015 SCATTERING LIGHT SCATTERING PHYSICALLY BASED SCATTERING SUBSURFACE SCATTERING AMBIENT OCCLUSION.
OpenGL Shading. 2 Objectives Learn to shade objects so their images appear three-dimensional Introduce the types of light-material interactions Build.
Physically-based Illumination Model
Illumination Study of how different materials reflect light Definition of radiance, the fundamental unit of light transfer in computer graphics How the.
Physically-based Illumination Models (2) CPSC 591/691.
1 Ch. 4: Radiometry–Measuring Light Preview 。 The intensity of an image reflects the brightness of a scene, which in turn is determined by (a) the amount.
Reflection Models (1) Physically-Based Illumination Models (2)
Computer Graphics: Illumination
CS580: Radiometry Sung-Eui Yoon ( 윤성의 ) Course URL:
Advanced Computer Graphics
THE RADAR EQUATION ELC 451.
Advanced Computer Graphics
Radisoity Ed Angel Professor Emeritus of Computer Science
THE RADAR EQUATION ELC 451.
Radiometry (Chapter 4).
© 2002 University of Wisconsin
Previous lecture Reflectance I BRDF, BTDF, BSDF Ideal specular model
Terminology.
Introduction to Computer Graphics with WebGL
Introduction to Computer Graphics with WebGL
© 2003 University of Wisconsin
Isaac Gang University of Mary Hardin-Baylor
The Rendering Equation
Computer Graphics (Fall 2003)
CS 480/680 Computer Graphics Shading.
Presentation transcript:

BRDFs Randy Rauwendaal

Acronyms BRDF – Bidirectional Reflectance Distribution Function SPDF – Scattering Probability Density Function BSDF – Bidirectional Scattering Distribution Function BTDF – Bidirectional Transmission Distribution Function BSSRDF – Bidirectional Scattering Surface Reflectance Distribution Function

What is a BRDF? We’ll get to that later, but first we must understand how light interacts with matter

Light & Matter Interaction depends on the physical characteristics of the light as well as the physical composition and characteristics of the matter Incoming Light Transmitted Light Reflected Light Scattering and Emission Internal Reflection Absorption

Light & Matter Three types of interactions when light first hits a material Reflection Absorption Transmittance

Conservation of Energy A BRDF describes how much light is reflected when light makes contact with a certain material The degree to which light is reflected depends on the viewer and light position relative to the surface normal and tangent BRDF is a function of incoming (light) direction and outgoing (view) direction relative to a local orientation at the light interaction point

Wavelength When light interacts with a surface, different wavelengths of light may be absorbed, reflected, and transmitted to varying degrees depending upon the physical properties of the material itself This means that a BRDF is also a function of wavelength

Positional Variance Light interacts differently with different regions of the surface, this is know as positional variance Noticeable in materials that reflect light in manner that produces surface detail (wood, marble, etc.)

Notation  is wavelength I and i, represent the incoming light direction in spherical coordinates o and o represent the outgoing reflected direction in spherical coordinates u and v represent the surface position parameterized in texture space

Position-Invariant BRDFs When the spatial position is not included as a parameter to the function the reflectance properties of the material do not vary with spatial position Only valid for homogenous materials A spatially variant BRDF can be approximated by adding or modulating the result of a BRDF lookup with a texture

Spherical Coordinates x y z   v 1.0 Cartesian coordinates (vx,vy,vz) Spherical coordinates (, )

Differential Solid Angles Since BRDFs measure how light reflects off a surface when viewed we must know how much light arrives at a surface element from a particular direction Light is measured as energy per-unit surface area (i.e. Watt/meter2) Units are in radians squared or steradians We must consider flow through a neighborhood of directions when determining the amount of light that arrives at or leaves a surface Small surface element Normal Small area Incoming light direction wi Neighborhood of directions

Differential Solid Angles The differential solid angle is defined to be the area of the small blue patch Given spherical coordinates (,) and small differential angular changes denoted d, d, the differential solid angle, dw, is defined to be sin   d d sphere of radius 1 The area quantity has units of radians squared, or steradians

Definition of a BRDF wi=incoming light direction wo=outgoing reflected direction Lo=quantity of light reflected in direction wo Ei=quantity of light arriving from direction wi

Definition of a BRDF n wi light source Small surface element Differential solid angle dwi θi The amount of light arriving from direction wi is proportional to the amount of light arriving at the differential solid angle The region is uniformly illuminated as the same quantity of light, Li, arrives for each position on the differential solid angle, meaning the total amount of incoming light arriving through the region is Li*dwi To determine the amount of light with respect to the surface element, the incoming light must be projected onto the surface element by modulating by This projection is similar to that which happens with diffuse Lambertian lighting and is accomplished by modulating that amount by cosθi=N·wi. This means Ei=Licosθidwi, as a result, the BRDF is given by cosθi=N·wi

Classes and Properties of BRDFs There are two classes of BRDFs, isotropic BRDFs and anisotropic BRDFs The important properties of BRDFs are reciprocity and conservation of energy BRDFs that have these properties are considered to be physically plausible

Isotropic BRDFs The term isotropic is used to describe BRDFs that represent reflectance properties that are invariant with respect to rotation of the surface around the surface normal vector. Smooth plastics

Anisotropic BRDFs BRDFs that describes reflectance properties that do exhibit change with respect to rotation of the surface around the surface normal vector Most real world surfaces

Reciprocity If the incoming and outgoing directions are swapped, the value of the BRDF does not change =

Conservation of Energy Surface Incoming light Reflected light The quantity of light reflected must be less than or equal to the quantity of incident light The sum of all outgoing directions of the BRDF times the project solid angle must be less than one

The BRDF Lighting Equation Surface Outgoing light Incoming light E The amount of light reflected in the outgoing direction is the integral of the amount of light reflected in the outgoing direction from each incoming direction Where Lo due to i(wi,wo) represents the amount of light reflected in direction wo

The BRDF Lighting Equation The intensity of the light reflected in the outgoing direction is defined by modulating the intensity of the light arriving at the surface point with the corresponding BRDF Where Ei is the amount of light arriving from direction wi Again we project the light by modulating with cosθi=N·wi This means Ei=Licosθidwi, but in practice, in the discrete case, the dwi term indicates that all incoming directions are equally weight and Ei=Licosθi And the light reflected in the outgoing direction is

The BRDF Lighting Equation Often, rather than computing a sum of light contributions from many incoming light directions and summing these results to determine the final output color, a small number of individual point light sources define the set of incoming directions and light intensities to use in the evaluation of the lighting equation Where Lij is the intensity of the jth light source and wij=(θijθij) is the direction of the jth light source For a single point light source, the light reflected in the direction of an observer is

BRDFs and the Phong Model Notice that the final expression is very similar to the general BRDF lighting equation The Phong lighting model can be considered a special case of the BRDF based lighting The Phong model is convenient to use for materials with reflectance properties approximated by

Acquiring BRDF Data Many simple analytical models have been developed Cook-Torrance model Modified Phong model Ward’s model BRDFs can be obtained through physical measurement with a device called a gonioreflectometer By using real data there is no need to try to determine which analytical model to use to achieve a certain visual lighting effect

References Chris Wynn. An Introduction to BRDF-Based Lighting, NVIDIA Corporation Peter Shirley, Helen Hu, Brian Smits, and Eric Lafortune. A Practitioners’ Assessment of Light Reflection Models. In Pacific Graphics, pages 40-49, October 1997 M. Ashikhmin and P. Shirley. An Anisotropic Phong BRDF Model. Journal of Graphics Tools: JGT, 5(2), pages 25-32, 2000