Computer Graphics (Spring 2008) COMS 4160, Lecture 20: Illumination and Shading 2

Slides:



Advertisements
Similar presentations
The Radiance Equation.
Advertisements

Computer graphics & visualization Global Illumination Effects.
Week 9 - Monday.  What did we talk about last time?  BRDFs  Texture mapping and bump mapping in shaders.
Computer Graphics (Fall 2008) COMS 4160, Lecture 18: Illumination and Shading 1
Advanced Computer Graphics
The Radiance Equation Mel Slater. Outline Introduction Light Simplifying Assumptions Radiance Reflectance The Radiance Equation Traditional Rendering.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 21: Radiometry Many slides courtesy Pat Hanrahan.
RADIOSITY Submitted by CASULA, BABUPRIYANK. N. Computer Graphics Computer Graphics Application Image Synthesis Animation Hardware & Architecture.
Physically Based Illumination Models
Advanced Computer Graphics (Spring 2013) CS 283, Lecture 8: Illumination and Reflection Many slides courtesy.
Light and Matter For Computer Graphics Comp 770 Lecture Spring 2009.
Torrance Sparrow Model of Reflectance + Oren Nayar Model of Reflectance.
Rendering with Environment Maps Jaroslav Křivánek, KSVI, MFF UK
A Signal-Processing Framework for Inverse Rendering Ravi Ramamoorthi Pat Hanrahan Stanford University.
University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2006 Don Fussell Previous lecture Reflectance I BRDF, BTDF, BSDF Ideal specular.
A Signal-Processing Framework for Forward and Inverse Rendering COMS , Lecture 8.
Representations of Visual Appearance COMS 6160 [Fall 2006], Lecture 2 Ravi Ramamoorthi
Computer Graphics (Fall 2005) COMS 4160, Lecture 16: Illumination and Shading 1
Measurement, Inverse Rendering COMS , Lecture 4.
Part I: Basics of Computer Graphics
3-D Computer Vision CSc83029 / Ioannis Stamos 3-D Computer Vision CSc Radiometry and Reflectance.
Appearance Models for Graphics COMS , Lecture 2 BRDFs and Radiometry Many slides courtesy Pat Hanrahan:
6.1 si31_2001 SI31 Advanced Computer Graphics AGR Lecture 6 Physically Based Reflection Model.
Computer Graphics (Spring 2008) COMS 4160, Lecture 15: Illumination and Shading
Computer Graphics (Fall 2008) COMS 4160, Lecture 19: Illumination and Shading 2
Objectives Learn to shade objects so their images appear three- dimensional Learn to shade objects so their images appear three- dimensional Introduce.
Computer Graphics (Fall 2004) COMS 4160, Lecture 16: Illumination and Shading 2 Lecture includes number of slides from.
Foundations of Computer Graphics (Spring 2010) CS 184, Lecture 21: Radiosity
1 Dr. Scott Schaefer Radiosity. 2/38 Radiosity 3/38 Radiosity Physically based model for light interaction View independent lighting Accounts for indirect.
Computer Graphics (Spring 2008) COMS 4160, Lecture 22: Global Illumination
Illumination and Direct Reflection Kurt Akeley CS248 Lecture 12 1 November 2007
Specular Reflections from Rough Surfaces Lecture #4 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
CS 445 / 645: Introductory Computer Graphics
Shading / Light Thanks to Srinivas Narasimhan, Langer-Zucker, Henrik Wann Jensen, Ravi Ramamoorthi, Hanrahan, Preetham.
MIT EECS 6.837, Durand and Cutler Local Illumination.
-Global Illumination Techniques
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”
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.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Reflection models Digital Image Synthesis Yung-Yu Chuang 11/01/2005 with slides by Pat Hanrahan and Matt Pharr.
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.
© Machiraju/Möller Fundamentals of Rendering - Reflectance Functions cis782 Advanced Computer Graphics Raghu Machiraju.
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
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
Radiometry of Image Formation Jitendra Malik. A camera creates an image … The image I(x,y) measures how much light is captured at pixel (x,y) We want.
01/27/03© 2002 University of Wisconsin Last Time Radiometry A lot of confusion about Irradiance and BRDFs –Clarrified (I hope) today Radiance.
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.
CS552: Computer Graphics Lecture 33: Illumination and Shading.
Radiometry of Image Formation Jitendra Malik. What is in an image? The image is an array of brightness values (three arrays for RGB images)
Reflection Models (1) Physically-Based Illumination Models (2)
Reflectance Models CS 319 Advanced Topics in Computer Graphics John C. Hart.
Computer Graphics: Illumination
Computer Graphics (Fall 2006) COMS 4160, Lecture 16: Illumination and Shading 1
Advanced Computer Graphics
Advanced Computer Graphics
© 2002 University of Wisconsin
Previous lecture Reflectance I BRDF, BTDF, BSDF Ideal specular model
Illumination Model How to compute color to represent a scene
Radiosity Dr. Scott Schaefer.
Foundations of Computer Graphics (Spring 2012)
Computer Graphics (Fall 2003)
Presentation transcript:

Computer Graphics (Spring 2008) COMS 4160, Lecture 20: Illumination and Shading 2

BRDF  Reflected Radiance proportional to Irradiance  Constant proportionality: BRDF [CW pp 28,29]  Ratio of outgoing light (radiance) to incoming light (irradiance)  Bidirectional Reflection Distribution Function  (4 Vars) units 1/sr

Isotropic vs Anisotropic  Isotropic: Most materials (you can rotate about normal without changing reflections)  Anisotropic: brushed metal etc. preferred tangential direction Isotropic Anisotropic

Radiometry  Physical measurement of electromagnetic energy  We consider light field  Radiance, Irradiance  Reflection functions: Bi-Directional Reflectance Distribution Function or BRDF  Reflection Equation  Simple BRDF models

Reflection Equation Reflected Radiance (Output Image) Incident radiance (from light source) BRDF Cosine of Incident angle

Reflection Equation Sum over all light sources Reflected Radiance (Output Image) Incident radiance (from light source) BRDF Cosine of Incident angle

Reflection Equation Replace sum with integral Reflected Radiance (Output Image) Incident radiance (from light source) BRDF Cosine of Incident angle

Radiometry  Physical measurement of electromagnetic energy  We consider light field  Radiance, Irradiance  Reflection functions: Bi-Directional Reflectance Distribution Function or BRDF  Reflection Equation  Simple BRDF models

Brdf Viewer plots Diffuse bv written by Szymon Rusinkiewicz Torrance-Sparrow Anisotropic

Demo

Analytical BRDF: TS example  One famous analytically derived BRDF is the Torrance-Sparrow model.  T-S is used to model specular surface, like the Phong model.  more accurate than Phong  has more parameters that can be set to match different materials  derived based on assumptions of underlying geometry. (instead of ‘because it works well’)

Torrance-Sparrow  Assume the surface is made up grooves at the microscopic level.  Assume the faces of these grooves (called microfacets) are perfect reflectors.  Take into account 3 phenomena Shadowing MaskingInterreflection

Torrance-Sparrow Result 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

Other BRDF models  Empirical: Measure and build a 4D table  Anisotropic models for hair, brushed steel  Cartoon shaders, funky BRDFs  Capturing spatial variation  Very active area of research

Complex Lighting  So far we’ve looked at simple, discrete light sources.  Real environments contribute many colors of light from many directions.  The complex lighting of a scene can be captured in an Environment map.  Just paint the environment on a sphere.

Environment Maps  Instead of determining the lighting direction by knowing what lights exist, determine what light exists by knowing the lighting direction. Blinn and Newell 1976, Miller and Hoffman, 1984 Later, Greene 86, Cabral et al. 87

Demo

Conclusion  All this (OpenGL, physically based) are local illumination and shading models  Good lighting, BRDFs produce convincing results  Matrix movies, modern realistic computer graphics  Do not consider global effects like shadows, interreflections (from one surface on another)  Subject of next unit (global illumination)

What’s Next  Have finished basic material for class  Review of illumination and Shading  Remaining topics are global illumination (written assignment 2): Lectures on rendering eq, radiosity  Historical movie: Story of Computer Graphics  Likely to finish these by April 21: No class April 28,  Work instead on HW 4, written assignments  May 5 will be demo session for HW 4