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

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

BRDF Computer Graphics (Spring 2008)

CS 5625 Lec 2: Shading Models

Illumination and Shading - II

Radiometry and reflectance

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

To Do. Advanced Computer Graphics. Course Outline. Course Outline. Illumination Models. Diffuse Interreflection

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

Radiometry & BRDFs CS295, Spring 2017 Shuang Zhao

Reflection models and radiometry Advanced Graphics

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

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

Photometric Stereo.

Local Reflection Models

The Light Field. Last lecture: Radiometry and photometry

Motivation: Monte Carlo Rendering. Sampling and Reconstruction of Visual Appearance. Caustics. Illumination Models. Overview of lecture.

CS-184: Computer Graphics. Today. Lecture 22: Radiometry! James O Brien University of California, Berkeley! V2014-S

Electromagnetic waves and power spectrum. Rays. Rays. CS348B Lecture 4 Pat Hanrahan, Spring 2002

And if that 120MP Camera was cool

Complex Shading Algorithms

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

Shading & Material Appearance

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

The Rendering Equation. Computer Graphics CMU /15-662

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

Understanding Variability

Radiometry. Radiometry. Measuring Angle. Solid Angle. Radiance

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

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

Lecture 4: Reflection Models

CS184 LECTURE RADIOMETRY. Kevin Wu November 10, Material HEAVILY adapted from James O'Brien, Brandon Wang, Fu-Chung Huang, and Aayush Dawra

Light Field = Radiance(Ray)

Capturing light. Source: A. Efros

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

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

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

Illumination. Illumination CMSC 435/634

Reflectance & Lighting

Lighting and Materials

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

Announcements. Radiometry and Sources, Shadows, and Shading

CSE 681 Illumination and Phong Shading

Sung-Eui Yoon ( 윤성의 )

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

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

w Foley, Section16.1 Reading

Global Illumination The Game of Light Transport. Jian Huang

Measuring Light: Radiometry and Cameras

Lighting and Reflectance COS 426

Measuring Light: Radiometry and Photometry

Shading. Brian Curless CSE 557 Autumn 2017

Illumination & Shading: Part 1

Light Field = Radiance(Ray)

Motivation. Monte Carlo Path Tracing. Monte Carlo Path Tracing. Monte Carlo Path Tracing. Monte Carlo Path Tracing

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

CS667 Lecture Notes: Radiometry

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

Global Illumination CS334. Daniel G. Aliaga Department of Computer Science Purdue University

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

Comp 410/510 Computer Graphics. Spring Shading

Simple Lighting/Illumination Models

The Rendering Equation. Computer Graphics CMU /15-662, Fall 2016

Rendering Light Reflection Models

Local vs. Global Illumination & Radiosity

Shading and Illumination

rendering equation computer graphics rendering equation 2009 fabio pellacini 1

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

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

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

Measuring Light: Radiometry and Photometry

Rays and Throughput. The Light Field. Page 1

Timothy Walsh. Reflection Models

Illumination in Computer Graphics

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

Computer Graphics (CS 543) Lecture 8 (Part 1): Physically-Based Lighting Models

Photometric Stereo. Lighting and Photometric Stereo. Computer Vision I. Last lecture in a nutshell BRDF. CSE252A Lecture 7

Fundamentals of Rendering - Reflectance Functions

Lecture 7 - Path Tracing

02 Shading and Frames. Steve Marschner CS5625 Spring 2016

Lecture 22: Basic Image Formation CAP 5415

Introduction to Computer Vision. Week 8, Fall 2010 Instructor: Prof. Ko Nishino

Ray Tracing: Special Topics CSCI 4239/5239 Advanced Computer Graphics Spring 2018

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

Illumination and Shading

Surface Reflection Models

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

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

Introduction to Radiosity

Experimental Validation of Analytical BRDF Models

CPSC 314 LIGHTING AND SHADING

Illumination & Shading

Physically-Based Reflectance for Games

Engineered Diffusers Intensity vs Irradiance

rendering equation computer graphics rendering equation 2009 fabio pellacini 1

LIGHTING AND SHADING

Shading. Brian Curless CSE 457 Spring 2017

Lighting. Figure 10.1

Radiometry. Computer Graphics CMU /15-662, Fall 2015

Lighting affects appearance

Shading, lighting, & BRDF Theory. Cliff Lindsay, PHD

Transcription:

Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 21: Radiometry http://inst.eecs.berkeley.edu/~cs184 Overview Lighting and shading key in computer graphics HW 2 etc. ad-hoc shading models, no units Really, want to match physical light reflection Next 3 lectures look at this formally Today: physical measurement of light: radiometry Formal reflection equation, reflectance models Global Illumination (later) Many slides courtesy Pat Hanrahan Radiometry and Photometry Physical measurement of electromagnetic energy Measure spatial (and angular) properties of light Radiant Power Radiant Intensity Irradiance Inverse square and cosine law Radiance Radiant Exitance (Radiosity) Reflection functions: Bi-Directional Reflectance Distribution Function or BRDF Reflection Equation 1

2

Radiometry and Photometry Physical measurement of electromagnetic energy Measure spatial (and angular) properties of light Radiant Power Radiant Intensity Irradiance Inverse square and cosine law Radiance Radiant Exitance (Radiosity) Reflection functions: Bi-Directional Reflectance Distribution Function or BRDF Reflection Equation 3

Radiometry and Photometry Physical measurement of electromagnetic energy Measure spatial (and angular) properties of light Radiant Power Radiant Intensity Irradiance Inverse square and cosine law Radiance Radiant Exitance (Radiosity) Reflection functions: Bi-Directional Reflectance Distribution Function or BRDF Reflection Equation Radiance Power per unit projected area perpendicular to the ray per unit solid angle in the direction of the ray Symbol: L(x,ω) (W/m 2 sr) Flux given by dφ = L(x,ω) cos θ dω da Radiance properties Radiance constant as propagates along ray Derived from conservation of flux Fundamental in Light Transport. dφ = L dω da = L dω da = dφ 1 1 1 2 2 2 1 2 dω = da r dω = da r 2 2 1 2 2 1 da da dω da = = dω da r L = L 1 2 1 1 2 2 2 1 2 4

Radiance properties Sensor response proportional to radiance (constant of proportionality is throughput) Far surface: See more, but subtend smaller angle Wall equally bright across viewing distances Consequences Radiance associated with rays in a ray tracer Other radiometric quants derived from radiance Irradiance, Radiosity Irradiance E is radiant power per unit area Integrate incoming radiance over hemisphere Projected solid angle (cos θ dω) Uniform illumination: Irradiance = π [CW 24,25] Units: W/m 2 Radiant Exitance (radiosity) Power per unit area leaving surface (like irradiance) 5

Irradiance Environment Maps R N Incident Radiance (Illumination Environment Map) Irradiance Environment Map Radiometry and Photometry Physical measurement of electromagnetic energy Measure spatial (and angular) properties of light Radiant Power Radiant Intensity Irradiance Inverse square and cosine law Radiance Radiant Exitance (Radiosity) Reflection functions: Bi-Directional Reflectance Distribution Function or BRDF Reflection Equation 6

Building up the BRDF Bi-Directional Reflectance Distribution Function [Nicodemus 77] Function based on incident, view direction Relates incoming light energy to outgoing Unifying framework for many materials BRDF Reflected Radiance proportional Irradiance Constant proportionality: BRDF Ratio of outgoing light (radiance) to incoming light (irradiance) Bidirectional Reflection Distribution Function (4 Vars) units 1/sr Lr(ω r) f (ω i,ω r) = Li(ω i)cosθ idω i Lr(ω r) = Li(ω i)f (ω i,ω r)cosθ idω i 7

Isotropic vs Anisotropic Isotropic: Most materials (you can rotate about normal without changing reflections) Anisotropic: brushed metal etc. preferred tangential direction Isotropic Anisotropic Radiometry and Photometry Physical measurement of electromagnetic energy Measure spatial (and angular) properties of light Radiant Power Radiant Intensity Irradiance Inverse square and cosine law Radiance Radiant Exitance (Radiosity) Reflection functions: Bi-Directional Reflectance Distribution Function or BRDF Reflection Equation (and simple BRDF models) Reflected Light (Output Image) Reflection Equation ω i x ω r L r (x,ω r ) = L e (x,ω r ) + L i (x,ω i )f (x,ω i,ω r )(ω i i n) Emission Incident BRDF Light (from light source) Cosine of Incident angle Reflection Equation Reflection Equation Reflected Light (Output Image) ω i x ω r Sum over all light sources L r (x,ω r ) = L e (x,ω r ) + L i (x,ω i )f (x,ω i,ω r )(ω i i n) Emission Incident BRDF Light (from light source) Cosine of Incident angle dω i ω i x ω r L ( x, ω ) L ( x, ω ) L( x, ω ) f( x, ω, ω )cosθdω Reflected Light (Output Image) = + Replace sum with integral r r e r i i i r i i Ω Emission Incident BRDF Cosine of Light (from Incident angle light source) 8

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

Analytical BRDF: TS example One famous analytically derived BRDF is the Torrance-Sparrow model T-S is used to model specular surface, like Phong 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 microscopic level. Assume the faces of these grooves (called microfacets) are perfect reflectors. Take into account 3 phenomena Shadowing Masking Interreflection Fresnel term: allows for wavelength dependency How much of the macroscopic surface is visible to the light source Torrance-Sparrow Result f = F(θ i)g(ω i,ω r)d(θ h) 4cos(θ i)cos(θ r) How much of the macroscopic surface is visible to the viewer 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. 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 Environment Maps Light as a function of direction, from entire environment Captured by photographing a chrome steel or mirror sphere Accurate only for one point, but distant lighting same at other scene locations (typically use only one env. map) Blinn and Newell 1976, Miller and Hoffman, 1984 Later, Greene 86, Cabral et al. 87 dω i Reflection Equation ω i x ω r L ( x, ω ) L ( x, ω ) L( x, ω ) f( x, ω, ω )cosθdω Reflected Light (Output Image) = + Replace sum with integral r r e r i i i r i i Ω Emission Environment BRDF Cosine of Map (continuous) Incident angle 10

Environment Maps Demo Environment maps widely used as lighting representation Many modern methods deal with offline and real-time rendering with environment maps Image-based complex lighting + complex BRDFs 11