Torrance Sparrow Model of Reflectance + Oren Nayar Model of Reflectance.

Slides:



Advertisements
Similar presentations
Physically Based Shading
Advertisements

1GR2-00 GR2 Advanced Computer Graphics AGR Lecture 6 Physically Based Reflection Model.
William A.P. Smith and Edwin R. Hancock Department of Computer Science, University of York, UK CVPR 2009 Reporter: Annie Lin.
Computer Vision Radiometry. Bahadir K. Gunturk2 Radiometry Radiometry is the part of image formation concerned with the relation among the amounts of.
1 Graphics CSCI 343, Fall 2013 Lecture 18 Lighting and Shading.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #12.
Local Reflection Model Jian Huang, CS 594, Fall 2002.
Virtual Realism LIGHTING AND SHADING. Lighting & Shading Approximate physical reality Ray tracing: Follow light rays through a scene Accurate, but expensive.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 21: Radiometry Many slides courtesy Pat Hanrahan.
Basic Principles of Surface Reflectance
Physically Based Illumination Models
Advanced Computer Graphics (Spring 2013) CS 283, Lecture 8: Illumination and Reflection Many slides courtesy.
1. What is Lighting? 2 Example 1. Find the cubic polynomial or that passes through the four points and satisfies 1.As a photon Metal Insulator.
Based on slides created by Edward Angel
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 Shading I.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2008 Tamara Munzner Lighting/Shading II Week.
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
Part I: Basics of Computer Graphics
3-D Computer Vision CSc83029 / Ioannis Stamos 3-D Computer Vision CSc Radiometry and Reflectance.
6.1 si31_2001 SI31 Advanced Computer Graphics AGR Lecture 6 Physically Based Reflection Model.
Computer Graphics (Fall 2008) COMS 4160, Lecture 19: Illumination and Shading 2
7M836 Animation & Rendering
Basic Principles of Surface Reflectance
Objectives Learn to shade objects so their images appear three- dimensional Learn to shade objects so their images appear three- dimensional Introduce.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Lighting and Shading Week.
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.
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Shading Week 5, Wed 1 Oct 2003 recap: lighting shading.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Shading I Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
Course Website: Computer Graphics 16: Illumination.
Lighting affects appearance. Light Source emits photons Photons travel in a straight line When they hit an object they: bounce off in a new direction.
Aaron Bloomfield CS 445: Introduction to Graphics Fall 2006
Specular Reflections from Rough Surfaces Lecture #4 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
CS 480/680 Computer Graphics Shading I Dr. Frederick C Harris, Jr.
Computer Vision Spring ,-685 Instructor: S. Narasimhan PH A18B T-R 10:30am – 11:50am Lecture #13.
CS 445 / 645: Introductory Computer Graphics
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Shading / Light Thanks to Srinivas Narasimhan, Langer-Zucker, Henrik Wann Jensen, Ravi Ramamoorthi, Hanrahan, Preetham.
CSC418 Computer Graphics n Illumination n Lights n Lightinging models.
David Luebke 1 10/26/2015 Lighting CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
Taku KomuraComputer Graphics Local Illumination and Shading Computer Graphics – Lecture 10 Taku Komura Institute for Perception, Action.
Advanced Illumination Models Chapter 7 of “Real-Time Rendering, 3 rd Edition”
Diffuse Reflections from Rough Surfaces Lecture #5
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.
BRDF models and their use in Global Illumination Algorithms László Szirmay-Kalos.
Computer Graphics (Spring 2003) COMS 4160, Lecture 18: Shading 2 Ravi Ramamoorthi Guest Lecturer: Aner Benartzi.
02/2/05© 2005 University of Wisconsin Last Time Reflectance part 1 –Radiometry –Lambertian –Specular.
Local Illumination and Shading
Cornell CS465 Spring 2004 Lecture 4© 2004 Steve Marschner 1 Shading CS 465 Lecture 4.
Physically-based Illumination Model
Physically-based Illumination Models (2) CPSC 591/691.
CS552: Computer Graphics Lecture 33: Illumination and Shading.
Computer Graphics Lecture 30 Mathematics of Lighting and Shading - IV Taqdees A. Siddiqi
Reflection Models (1) Physically-Based Illumination Models (2)
Reflectance Models CS 319 Advanced Topics in Computer Graphics John C. Hart.
Computer Graphics: Illumination
MAN-522 Computer Vision Spring
Shading CS 465 Lecture 4 © 2004 Steve Marschner • 1.
Advanced Computer Graphics
Shading Variation in observed color across an object
Previous lecture Reflectance I BRDF, BTDF, BSDF Ideal specular model
Isaac Gang University of Mary Hardin-Baylor
Flat Mirrors.
Computer Graphics (Fall 2003)
Computer Graphics Shading 紀明德
Presentation transcript:

Torrance Sparrow Model of Reflectance + Oren Nayar Model of Reflectance

Torrance-Sparrow Model – Main Points Physically Based Model for Surface Reflection. Based on Geometric Optics. Explains off-specular lobe (wider highlights). Works for only rough surfaces. For very smooth surfaces, electromagnetic nature of light must be used Beckmann-Spizzichinno model. Beyond the scope of this course.

Modeling Rough Surfaces - Microfacets Roughness simulated by Symmetric V-groves at Microscopic level. Distribution on the slopes of the V-grove faces are modeled. Each microfacet assumed to behave like a perfect mirror.

Coordinate System needed to derive T-S model

Torrance-Sparrow or Cook-Torrance BRDF Physically based model of a reflecting surface. Assumes a surface is a collection of planar microscopic facets, microfacets. Each microfacet is a perfectly smooth reflector. D describes the distribution of microfacet orientations. G describes the masking and shadowing effects between the microfacets. F term is a Fresnel reflection term related to material’s index of refraction.

Torrance-Sparrow or Cook-Torrance BRDF Microfacet Distribution Function Statistical model of the microfacet variation in the halfway-vector H direction Based on a Beckman distribution function Consistent with the surface variations of rough surfaces β - the angle between N and H m - the root-mean-square slope of the microfacets

Beckman’s Distribution: Torrance-Sparrow or Cook-Torrance BRDF

Geometric Attenuation Factor: The geometric attenuation factor G accounts for microfacet shadowing. The factor G is in the range from 0 (total shadowing) to 1 (no shadowing). There are many different ways that an incoming beam of light can interact with the surface locally. The entire beam can simply reflect, shown here.

Torrance-Sparrow or Cook-Torrance BRDF Geometric Attenuation Factor: A portion of the outgoing beam can be blocked. This is called masking.

Torrance-Sparrow or Cook-Torrance BRDF Geometric Attenuation Factor: A portion of the incoming beam can be blocked. This is called shadowing.

Torrance-Sparrow or Cook-Torrance BRDF Geometric Attenuation Factor: In each case, the geometric configurations can be analyzed to compute the percentage of light that actually escapes from the surface.

Geometric Attenuation Factor

Torrance-Sparrow or Cook-Torrance BRDF Fresnel Factor: The Fresnel effect is wavelength dependent. It behavior is determined by the index-of-refraction of the material (taken as a complex value to allow for attenuation). This effect explains the variation in colors seen in specular regions particular on metals (conductors). It also explains why most surfaces approximate mirror reflectors when the light strikes them at a grazing angle.

Coordinate System needed to derive T-S model

Components of Surface Reflection – Moving Light Source

Components of Surface Reflection – Moving Camera

Split off-specular Reflections in Woven Surfaces

Next Class – Rough Diffuse Surfaces Same Analysis of Roughness for Diffuse Objects – Oren Nayar Model

Dror, Adelson, Wilsky

Diffuse Reflections from Rough Surfaces

Diffuse Reflection and Lambertian BRDF - Recap viewing direction surface element normal incident direction Lambertian BRDF is simply a constant : albedo Surface appears equally bright from ALL directions! (independent of ) Surface Radiance : Commonly used in Vision and Graphics! source intensity source intensity I

Diffuse Reflection and Lambertian BRDF - Recap Radiance decreases with increase in angle between surface normal and source

Rendered Sphere with Lambertian BRDF Edges are dark (N.S = 0) when lit head-on See shading effects clearly.

Why does the Full Moon have a flat appearance? The moon appears matte (or diffuse) But still, edges of the moon look bright (not close to zero).

Why does the Full Moon have a flat appearance? Lambertian Spheres and Moon Photos illuminated similarly

Surface Roughness Causes Flat Appearance Actual VaseLambertian Vase

Surface Roughness Causes Flat Appearance – More Examples

Surface Roughness Causes Flat Appearance Increasing surface roughness Lambertian model Valid for only SMOOTH MATTE surfaces. Bad for ROUGH MATTE surfaces.

Blurred Highlights and Surface Roughness - RECAP Roughness

Oren-Nayar Model – Main Points Physically Based Model for Diffuse Reflection. Based on Geometric Optics. Explains view dependent appearance in Matte Surfaces Take into account partial interreflections. Roughness represented like in Torrance-Sparrow Model Lambertian model is simply an extreme case with roughness equal to zero.

Modeling Rough Surfaces - Microfacets Roughness simulated by Symmetric V-groves at Microscopic level. Distribution on the slopes of the V-grove faces are modeled. Each microfacet assumed to behave like a perfect Lambertian surface.

View Dependence of Matte Surfaces - Key Observation Overall brightness increases as the angle between the source and viewing direction decreases. WHY? Pixels have finite areas. As the viewing direction changes, different mixes between dark and bright are added up to give pixel brightness.

Torrance-Sparrow BRDF – Different Factors (RECAP) Fresnel term: allows for wavelength dependency Geometric Attenuation: reduces the output based on the amount of shadowing or masking that occurs. Distribution: distribution function determines what percentage of microfacets are oriented to reflect in the viewer direction. How much of the macroscopic surface is visible to the light source How much of the macroscopic surface is visible to the viewer

Slope Distribution Model Model the distribution of slopes as Gaussian. Mean is Zero, Variance represents ROUGHNESS.

Geometric Attenuation Factor No interreflections taken into account in above function. Derivation found in 1967 JOSA paper (read if interested).

Torrance-Sparrow BRDF – Different Factors (RECAP) Fresnel term: allows for wavelength dependency Geometric Attenuation: reduces the output based on the amount of shadowing or masking that occurs. Distribution: distribution function determines what percentage of microfacets are oriented to reflect in the viewer direction. How much of the macroscopic surface is visible to the light source How much of the macroscopic surface is visible to the viewer

Oren-Nayar Model – Different Factors Fresnel term: allows for wavelength dependency Geometric Attenuation: reduces the output based on the amount of shadowing or masking that occurs. Distribution: distribution function determines what percentage of microfacets are oriented to reflect in the viewer direction. How much of the macroscopic surface is visible to the light source How much of the macroscopic surface is visible to the viewer

Oren-Nayar Model – Different Factors Fresnel term: allows for wavelength dependency Geometric Attenuation: reduces the output based on the amount of shadowing or masking that occurs. Distribution: distribution function determines what fraction of the surface area do the facets of the same orientation cover? How much of the macroscopic surface is visible to the light source How much of the macroscopic surface is visible to the viewer

Oren-Nayar Model – Different Factors (contd.) Take into account two light bounces (reflections). Hard to solve analytically, so they find a functional approximation.

Oren-Nayar Model – Final Expression Lambertian model is simply an extreme case with roughness equal to zero.

Comparison to Ground Truth

Real Objects Renderings

Summary of Surfaces and BRDFs Smooth Rough Diffuse Specular Mirror BRDF Torrance-Sparrow BRDF Lambertian BRDF Oren-Nayar BRDF No view dependence Models view dependence Delta Function Speck of reflection Broader Highlights Off-specular lobe Many surfaces may be rough and show both diffuse and surface reflection.

Summary of Surfaces and BRDFs Smooth Rough Diffuse Specular Mirror BRDF Torrance-Sparrow BRDF Lambertian BRDF Oren-Nayar BRDF No view dependence Models view dependence Delta Function Speck of reflection Broader Highlights Off-specular lobe Many surfaces may be rough and show both diffuse and surface reflection.