Lights, Surfaces, and Cameras. Light sources emit photons Surfaces reflect & absorb photons Cameras measure photons

Similar documents
CS 5625 Lec 2: Shading Models

Radiance. Radiance properties. Radiance properties. Computer Graphics (Fall 2008)

Introduction. Lighting model Light reflection model Local illumination model Reflectance model BRDF

w Foley, Section16.1 Reading

And if that 120MP Camera was cool

Overview. Radiometry and Photometry. Foundations of Computer Graphics (Spring 2012)

BRDF Computer Graphics (Spring 2008)

Reflection models and radiometry Advanced Graphics

Lighting affects appearance

Shading. Brian Curless CSE 557 Autumn 2017

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

Lighting affects appearance

Local Reflection Models

Shading & Material Appearance

Shading I Computer Graphics I, Fall 2008

Capturing light. Source: A. Efros

CS6670: Computer Vision

Assignment #2. (Due date: 11/6/2012)

Photometric Stereo.

Computer Graphics (CS 4731) Lecture 16: Lighting, Shading and Materials (Part 1)

Lecture 4: Reflection Models

Shading. Reading. Pinhole camera. Basic 3D graphics. Brian Curless CSE 557 Fall Required: Shirley, Chapter 10

CS6670: Computer Vision

Illumination in Computer Graphics

Computer Graphics. Illumination and Shading

The Rendering Equation. Computer Graphics CMU /15-662

Radiometry and reflectance

Fundamentals of Rendering - Reflectance Functions

Computer Graphics (CS 543) Lecture 7b: Intro to lighting, Shading and Materials + Phong Lighting Model

Simple Lighting/Illumination Models

Lecture 22: Basic Image Formation CAP 5415

Illumination & Shading

Illumination and Shading - II

CSE 167: Introduction to Computer Graphics Lecture #6: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

Announcement. Lighting and Photometric Stereo. Computer Vision I. Surface Reflectance Models. Lambertian (Diffuse) Surface.

Timothy Walsh. Reflection Models

Reading. Shading. An abundance of photons. Introduction. Required: Angel , 6.5, Optional: Angel 6.4 OpenGL red book, chapter 5.

Topic 9: Lighting & Reflection models 9/10/2016. Spot the differences. Terminology. Two Components of Illumination. Ambient Light Source

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

CSE 681 Illumination and Phong Shading

Topic 9: Lighting & Reflection models. Lighting & reflection The Phong reflection model diffuse component ambient component specular component

Image Formation: Light and Shading. Introduction to Computer Vision CSE 152 Lecture 3

Illumination. Michael Kazhdan ( /657) HB Ch. 14.1, 14.2 FvDFH 16.1, 16.2

Lecture 15: Shading-I. CITS3003 Graphics & Animation

Ligh%ng and Reflectance

Illumination. Illumination CMSC 435/634

Fundamentals of Rendering - Reflectance Functions

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

Announcements. Image Formation: Light and Shading. Photometric image formation. Geometric image formation

Radiometry. Reflectance & Lighting. Solid Angle. Radiance. Radiance Power is energy per unit time

CPSC / Illumination and Shading

Experimental Validation of Analytical BRDF Models

Comp 410/510 Computer Graphics. Spring Shading

Lighting Models. CS116B Chris Pollett Mar 21, 2004.

Other approaches to obtaining 3D structure

Rendering Light Reflection Models

Sung-Eui Yoon ( 윤성의 )

Path Tracing part 2. Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017

Interactive Real-Time Raycasting

BRDFs. Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017

Epipolar geometry contd.

Global Illumination The Game of Light Transport. Jian Huang

A question from Piazza

Surface Reflection Models

Lighting. Figure 10.1

Computer Graphics. Illumination and Shading

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ =

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ =

Shading. Brian Curless CSE 457 Spring 2017

Radiometry. Radiometry. Measuring Angle. Solid Angle. Radiance

Understanding Variability

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

Lighting and Shading. Slides: Tamar Shinar, Victor Zordon

Shading / Light. Thanks to Srinivas Narasimhan, Langer-Zucker, Henrik Wann Jensen, Ravi Ramamoorthi, Hanrahan, Preetham

Announcements. Light. Properties of light. Light. Project status reports on Wednesday. Readings. Today. Readings Szeliski, 2.2, 2.3.

Illumination Models and Shading

2/1/10. Outline. The Radiance Equation. Light: Flux Equilibrium. Light: Radiant Power. Light: Equation. Radiance. Jan Kautz

Illumination & Shading I

Announcements. Radiometry and Sources, Shadows, and Shading

Illumination and Shading

Reading. Shading. Introduction. An abundance of photons. Required: Angel , Optional: OpenGL red book, chapter 5.

Complex Shading Algorithms

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Shading Models. Welcome!

Lighting and Reflectance COS 426

Paths, diffuse interreflections, caching and radiometry. D.A. Forsyth

Global Illumination. CSCI 420 Computer Graphics Lecture 18. BRDFs Raytracing and Radiosity Subsurface Scattering Photon Mapping [Ch

CPSC 314 LIGHTING AND SHADING

Illumination & Shading: Part 1

Shading. Why we need shading. Scattering. Shading. Objectives

Global Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

Global Illumination. Global Illumination. Direct Illumination vs. Global Illumination. Indirect Illumination. Soft Shadows.

Lecture 7 - Path Tracing

CS130 : Computer Graphics Lecture 8: Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside

Illumination and Shading

Shading and Illumination

Ray Tracing: shading

Radiance. Pixels measure radiance. This pixel Measures radiance along this ray

Raytracing CS148 AS3. Due :59pm PDT

Radiometry Measuring Light

Transcription:

Reflectance 1

Lights, Surfaces, and Cameras Light sources emit photons Surfaces reflect & absorb photons Cameras measure photons 2

Light at Surfaces Many effects when light strikes a surface -- could be: Absorbed, reflected, scattered, and travel along the surface and leave at some other points 3

Reflectance Reflectance is all about the way light interacts with surfaces It is an entire field of study on its own The most important quantity is the BRDF 4

The BRDF Assumption: No fluoresce, light emission All the light leaving a point depends ONLY on the light arriving at that point ω o n ω i ρ ( ω ) o, ω i Bi-directional Reflectance Distribution Function (BRDF) 5

6 Fluorescence

The BRDF Given the incoming ray, it describes how reflected lights are distributed This distribution changes when the incoming ray changes 7 plot a BRDF as a function of ω o for a fixed ω i ; the radius along each direction is set to the radiance of the reflected light at that direction.

Questions? 8

Rendering Equation ω i θ ω r ω o 9 L Reflected Radiance (Pixel Intensity) o ( ωo) = ρbd ( ωo, ωi, ) Li ( ωi) cosθi BRDF Incident Cosine of radiance Incident angle (from light source)

Rendering Equation θ ω r 10 L Reflected Radiance (Pixel Intensity) o Sum over all light sources ( ω ) ρ ( ω, ω,) L ( ω ) o = i bd BRDF o i i i cosθ Incident Cosine of radiance Incident angle (from light source) i

Rendering Equation dω i θ ω r 11 L Reflected Radiance (Pixel Intensity) o Replace sum with integral ( ω ) o ρbd ( ωo, ωi, ) Li ( ωi) = cosθidωi Ω BRDF Incident radiance (from light source) Cosine of Incident angle

Radiometric Image Analysis illumination reflectance shape the rendering equation: determine pixel values from shape, lighting, or reflectance the radiometric image analysis: recover shape, lighting, or reflectance from intensity values 12

Radiometric Image Analysis Typical simplification assumptions: Single point light source No inter-reflection Simplified BRDF models (more details later) ω i θ ω r ω o L o ( ωo) = ρbd ( ωo, ωi, ) Li ( ωi) cosθi 13

Questions? 14

Diffuse & Specular Reflection Diffuse reflection: The surface look the same from all directions (many vision algorithms depend on this!) Matte surfaces Specular reflection: The surface look different from different directions (causes troubles to many vision algorithms) Shiny surfaces ideal diffuse reflection (e.g. walls) 15 ideal specular reflection (e.g. mirror) specular reflection (e.g. plastic, metal, porcelain)

Diffuse & Specular Reflection Diffuse reflection: has the same color as the object surface is unpolarized Specular reflection: has the same color as the light source has the same polarization as the light source 16 the original image diffuse reflection specular reflection

Questions? 17

Common BRDF Models Torrance-Sparrow Lambert s Model 18

Lambert s Model Empirical mathematic model for diffuse reflection Assume the BRDF is a constant ρ ( ω, o ωi) = ρ Observed Pixel intensity should be L o = L ρ cosθ = L ρν L i Features of this model: Named after Johann H. Lambert A pixel s brightness does not depend on viewing direction Brightness does depend on direction of illumination This is the model most commonly used in computer vision i i 19 Ν, L, V are unit vectors L, i L o are intensity of incoming and outgoing light

Lambert s Model plot a BRDF as a function of ω o for a fixed ω i 20

Questions? 21

Phong Model Mathematic model for specular reflection Assume light is concentrated on the mirrored direction Intensity of light falls off by cosine law Observed Pixel intensity should be Features of this model: Named after Bui Tuong Phong A pixel s brightness depends on viewing direction This is an empirical model, not physically correct! (e.g. violate energy conservation) 22 L = ( V R) R r L i = 2 n ( N L) N L

Phong Model Shininess n controls the size of the highlight spot n cos σ n=1 n=2 n=3 n=10 23 90 0 90

Phong Model Linear combination of Lambert s model and Phong Model L = k Ν L + k V R k s 0.1 o d s ( ) n 0.25 0.5 24 n = 3.0 n = 5. 0 n =10. 0 n = 27. 0 n = 200. 0

Phong Model plot a BRDF as a function of ω o for a fixed ω i 25

Phong Model plot a BRDF as a function of ω o for a fixed ω i 26

Cook-Torrance Model Mathematic model for specular reflection Assume the surface consists of small facets Derive the reflectance as the overall behavior of facets Features of this model: Named after Robert Cook and Kenneth Torrance Also known as Torrance-Sparrow model Assume surface consists of microfacets Assume each facet is a perfect mirror 27

Cook-Torrance Model 28

Questions? 29

Measuring the BRDF traditional Capture the BRDF by moving a camera + light source Need careful control of illumination, environment 30

Acquisition A spherically homogeneous sample of the material can make the acquisition simpler A sphere contains all kinds of normals So a single image contains many BRDF samples lamp controlled turntable sample Digital camera 31

Represent Measured Data Measure-then-fit analytic models Fitting can reduce noise but also is limited by the model Non-obvious error metric for fitting often biased to specular which has large values Difficult optimization nonlinear; depends on initial guess Tabulated BRDF 4D table Not editable 32

Acquisition 130 materials were scanned; 100 of them shown here MERL BRDF database, freely available online 33

Tabulated BRDF nickel hematite gold paint pink fabric 34

Questions? 35

PAMI 2005 Example-based Photometric Stereo 36 Aaron Hertzmann University of Toronto Steven M. Seitz University of Washington

Shiny things 37 Orientation consistency : points of similar orientation have similar intensity

38 One to many mapping. Normal at this pixel cannot be determined by referring to the sphere

Let s get multiple images. 39

40

41

42

43

Virtual views 44

Velvet 45

Virtual Views 46

Brushed Fur 47

48

49

Questions? 50

51 ( ) ( ) i o i o i i o o ϕ ϕ θ θ ρ ϕ θ ϕ θ ρ =,,,,, ( ) ( ) ( ),,,,,, o i i o o i i o i o i o ϕ ϕ θ θ ρ ϕ ϕ θ θ ρ ϕ ϕ θ θ ρ = = BRDF Symmetries Most of real materials are isotropic

Examples ISOTROPIC ANISOTROPIC [Westin et al. 92] 52