Advanced Illumination Models Chapter 7 of “Real-Time Rendering, 3 rd Edition”

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.
1 Graphics CSCI 343, Fall 2013 Lecture 18 Lighting and Shading.
Week 9 - Monday.  What did we talk about last time?  BRDFs  Texture mapping and bump mapping in shaders.
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.
Physically Based Illumination Models
Advanced Computer Graphics (Spring 2013) CS 283, Lecture 8: Illumination and Reflection Many slides courtesy.
1 Computer Graphics By : Mohammed abu Lamdy ITGD3107 University of Palestine Supervision: Assistant Professor Dr. Sana’a Wafa Al-Sayegh.
Chapter 32Light: Reflection and Refraction. Electromagnetic waves can have any wavelength; we have given different names to different parts of the wavelength.
Light Issues in Computer Graphics Presented by Saleema Amershi.
Torrance Sparrow Model of Reflectance + Oren Nayar Model of Reflectance.
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 New Mexico
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 (Fall 2005) COMS 4160, Lecture 16: Illumination and Shading 1
Computer Graphics (Spring 2008) COMS 4160, Lecture 20: Illumination and Shading 2
Lighting and Shading Wen-Chieh (Steve) Lin
Part I: Basics of Computer Graphics
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
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.
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,
Course Website: Computer Graphics 16: Illumination.
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.
FLAT MIRRORS Chapter 13: Section 2. Learning Targets  Describe how the angle of incidence is related to the angle of reflection  Explain how surface.
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 (introduction to rendering). Rendering  We know how to specify the geometry but how is the color calculated.
Shading / Light Thanks to Srinivas Narasimhan, Langer-Zucker, Henrik Wann Jensen, Ravi Ramamoorthi, Hanrahan, Preetham.
Reflections Specular reflection is the perfect reflection of light from a surface. The law a reflection states that the direction of the incoming ray and.
MIT EECS 6.837, Durand and Cutler Local Illumination.
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.
Diffuse Reflections from Rough Surfaces Lecture #5
Illumination and Shading
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Global Illumination: Radiosity, Photon Mapping & Path Tracing Rama Hoetzlein, 2009 Lecture Notes Cornell University.
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.
How Light Behaves at a Boundary
02/2/05© 2005 University of Wisconsin Last Time Reflectance part 1 –Radiometry –Lambertian –Specular.
Local Illumination and Shading
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
Physically-based Illumination Models (2) CPSC 591/691.
Illumination Models. Introduction 1 Illumination model: Given a point on a surface, what is the perceived color and intensity? Known as Lighting Model,
Computer Graphics Lecture 30 Mathematics of Lighting and Shading - IV Taqdees A. Siddiqi
Light. Intensity calculation = wavelength I( ) = wavelength intensity of light reaching eye I( ) = I diff ( ) + I spec ( ) + I refl ( ) + I trans ( )
Reflection Models (1) Physically-Based Illumination Models (2)
Reflectance Models CS 319 Advanced Topics in Computer Graphics John C. Hart.
Computer Graphics: Illumination
Advanced Computer Graphics
Previous lecture Reflectance I BRDF, BTDF, BSDF Ideal specular model
Physically-Based Rendering
Isaac Gang University of Mary Hardin-Baylor
Computer Graphics (Fall 2003)
CS 480/680 Computer Graphics Shading.
Presentation transcript:

Advanced Illumination Models Chapter 7 of “Real-Time Rendering, 3 rd Edition”

Fresnel Reflectance

 the surface of an object can be thought of as being an interface between air and the object material  the interaction of light at a planar interface is described by the Fresnel equations  when an incoming ray of light hits a surface part of the ray is reflected in the ideal reflection direction and part of the ray is refracted in the ideal refraction direction  the Fresnel equations describe the fraction that is reflected from the surface (i.e., the specular component)

Fresnel Reflectance light direction ideal reflection direction ideal refraction direction from Real-Time Rendering, 3 rd Edition

Fresnel Reflectance indices of refraction index of refraction = (speed of light in vacuum) / (speed of light in material) from Real-Time Rendering, 3 rd Edition

Fresnel Reflectance Fresnel reflectance (a function of the angle of incidence θ i ) from Real-Time Rendering, 3 rd Edition

Fresnel Reflectance  the Fresnel reflectance varies widely for different materials  roughly constant for silver colored metals  varies from about 0.05 to 1.0 for glass and plastic

Fresnel Reflectance from Real-Time Rendering, 3 rd Edition

Fresnel Reflectance  θ i = 0° (light perpendicular to surface) R F (0°) is the the characteristic specular color of the material from Real-Time Rendering, 3 rd Edition

Fresnel Reflectance  θ i increases (light direction increasing glancing angle) R F (θ i ) tends to increase and approaches 1 at θ i = 90° from Real-Time Rendering, 3 rd Edition

Fresnel Reflectance 

Fresnel Reflectance  the Fresnel equations are somewhat complex for direct use in rendering  the Schlick approximation is easier to compute  depends only on R F (0°)  where n is the index of refraction of the object material

Fresnel Reflectance solid = Fresnel dotted = Schlick from Real-Time Rendering, 3 rd Edition

Fresnel Reflectance from Real-Time Rendering, 3 rd Edition Remember that these are specular colors!

Microgeometry

 real surfaces are not perfectly smooth  the surface roughness affects how light is reflected  typically the imperfections in the surface are small  on a scale much smaller than the size of a pixel  large imperfections (bigger than a pixel) are modeled in the geometry of the object or using textures  the small imperfections are called “microgeometry”  the microgeometry cannot be observed directly  modeled statistically  would be too expensive to model even it could be seen

Microgeometry A somewhat rough surface with most normal vectors pointing approximately vertical. A rougher surface with many normal vectors pointing far away from vertical. incident lightreflected light from Real-Time Rendering, 3 rd Edition

Microgeometry  increasing microgeometry roughness causes blurring of the specular highlight  highlights are broader and less bright

Microgeometry  many surfaces have microgeometry that has no preference in the normal deviation direction  the microfacet direction is randomly distributed about the surface normal direction  “isotropic”  some surfaces have microgeometry where the normal deviation direction is stronger in certain directions  “anisotropic”  brushed metal  fabric

Microgeometry Grooves in a vinyl record as an example of anisotropic microgeometry.

Microgeometry  multiple surface normals  shadowing  blocking of incident light  masking  blocking of reflected light  interreflection  light reflected multiple times  retro-reflection  light reflected opposite to incident direction  mirror-like reflections at near glancing view and light directions

Microgeometry occlusionmaskinginterreflection

Microgeometry incident light reflected from surface defects; appears optically rough incident light reflected from smooth surfaces; appears optically shiny

Microgeometry  retro-reflection causes incident light to be reflected back towards the light source Light and view directions are similar; surface appears bright. Light and view directions are very different; surface appears dark.

Microfacet Theory  tries to model the first reflection of incident light for the specular component  does not model inter-reflections  typically uses the regular (Lambertian) diffuse term  shadowing and masking modeled using a geometric attenuation factor  value between 0 and 1  represents the amount of light remaining after shadowing and masking  surface is modeled as a collection of microfacets  small, flat Fresnel mirrors

Microfacet Theory For a given incident light direction, only those microfacets oriented in the direction halfway between the light and viewer direction contribute to the reflected specular light. The amount of light reflected depends on the number of microfacets having the correctly oriented normal vector. The distribution of microfacet normal direction is called the “normal distribution function” (NDF). hh hh

Microfacet Theory  normal distribution function  the fraction of microfacets that participate in the reflection of light from l to v  if the microfacet normals have no preferred deviation direction then NDF depends only the angle between n and h n

Microfacet Theory  if the microfacet normals have no preferred deviation direction then NDF depends only the angle between n and h n hh

Microfacet Theory  shadowing and masking are modeled as a geometric attenuation factor that varies between 0 and 1  the most well-known is by Torrance and Sparrow

Microfacet Theory  the overall reflection function is given by Fresnel reflectance the average value of n  h overall all microfacets

Some Reflection Functions  Phong  Cook-Torrance  Kajiya (hair and fur)  Oren-Nayar (diffuse reflectors with retro-reflection)  Ashikhmin and colleagues 