Global Illumination. Frank Dellaert Some slides by Jim Rehg, Philip Dutre

Similar documents
Sources, shadows and shading

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

Starting this chapter

Announcements. Radiometry and Sources, Shadows, and Shading

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

Photometric*Stereo* October*8,*2013* Dr.*Grant*Schindler* *

Colour Reading: Chapter 6. Black body radiators

Color. Computational Photography MIT Feb. 14, 2006 Bill Freeman and Fredo Durand

CS5670: Computer Vision

Color. Reading: Optional reading: Chapter 6, Forsyth & Ponce. Chapter 4 of Wandell, Foundations of Vision, Sinauer, 1995 has a good treatment of this.

CS6670: Computer Vision

Why does a visual system need color? Color. Why does a visual system need color? (an incomplete list ) Lecture outline. Reading: Optional reading:

Announcements. Camera Calibration. Thin Lens: Image of Point. Limits for pinhole cameras. f O Z

(0, 1, 1) (0, 1, 1) (0, 1, 0) What is light? What is color? Terminology

And if that 120MP Camera was cool

Announcements. Lighting. Camera s sensor. HW1 has been posted See links on web page for readings on color. Intro Computer Vision.

Light. Properties of light. What is light? Today What is light? How do we measure it? How does light propagate? How does light interact with matter?

CS6670: Computer Vision

Announcements. Rotation. Camera Calibration

CS4670: Computer Vision

Reading. 2. Color. Emission spectra. The radiant energy spectrum. Watt, Chapter 15.

Announcements. Image Formation: Outline. Homogenous coordinates. Image Formation and Cameras (cont.)

Anti-aliasing. Images and Aliasing

Illumination and Reflectance

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

Lecture 1 Image Formation.

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

Image Formation. Camera trial #1. Pinhole camera. What is an Image? Light and the EM spectrum The H.V.S. and Color Perception

Photometric Stereo.

Image Formation. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

Lecture 15: Shading-I. CITS3003 Graphics & Animation

Photometric stereo. Recovering the surface f(x,y) Three Source Photometric stereo: Step1. Reflectance Map of Lambertian Surface

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

Illumination and Shading

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

Color and Shading. Color. Shapiro and Stockman, Chapter 6. Color and Machine Vision. Color and Perception

Lighting. Camera s sensor. Lambertian Surface BRDF

Introduction to Computer Graphics with WebGL

Color and Light CSCI 4229/5229 Computer Graphics Fall 2016

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

Ligh%ng and Reflectance

Today. Anti-aliasing Surface Parametrization Soft Shadows Global Illumination. Exercise 2. Path Tracing Radiosity

3D graphics, raster and colors CS312 Fall 2010

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

Lighting affects appearance

SOURCES, SHADOWS AND SHADING

Lecture 11. Color. UW CSE vision faculty

A Brief Overview of. Global Illumination. Thomas Larsson, Afshin Ameri Mälardalen University

Schedule. MIT Monte-Carlo Ray Tracing. Radiosity. Review of last week? Limitations of radiosity. Radiosity

Color and Light. CSCI 4229/5229 Computer Graphics Summer 2008

Local vs. Global Illumination & Radiosity

Computer Graphics. Bing-Yu Chen National Taiwan University The University of Tokyo

Shadows. COMP 575/770 Spring 2013

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

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

Visibility. Tom Funkhouser COS 526, Fall Slides mostly by Frédo Durand

Lecture 22: Basic Image Formation CAP 5415

Module 5: Video Modeling Lecture 28: Illumination model. The Lecture Contains: Diffuse and Specular Reflection. Objectives_template

6. Illumination, Lighting

Global Illumination. Why Global Illumination. Pros/Cons and Applications. What s Global Illumination

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

Game Programming. Bing-Yu Chen National Taiwan University

The Display pipeline. The fast forward version. The Display Pipeline The order may vary somewhat. The Graphics Pipeline. To draw images.

MIT Monte-Carlo Ray Tracing. MIT EECS 6.837, Cutler and Durand 1

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

Digital Image Processing COSC 6380/4393. Lecture 19 Mar 26 th, 2019 Pranav Mantini

Lecture 1. Computer Graphics and Systems. Tuesday, January 15, 13

Introduction to color science

Color. making some recognition problems easy. is 400nm (blue) to 700 nm (red) more; ex. X-rays, infrared, radio waves. n Used heavily in human vision

Lighting. Figure 10.1

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

Solutions Manual Computer Vision A Modern Approach 2nd Edition David A. Forsyth

CSE 681 Illumination and Phong Shading

Introduction to Radiosity

Lightscape A Tool for Design, Analysis and Presentation. Architecture Integrated Building Systems

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

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

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

Ambien Occlusion. Lighting: Ambient Light Sources. Lighting: Ambient Light Sources. Summary

Shadow Rendering EDA101 Advanced Shading and Rendering

Soft shadows. Steve Marschner Cornell University CS 569 Spring 2008, 21 February

Spectral Color and Radiometry

Lighting and Shading. Slides: Tamar Shinar, Victor Zordon

1. Final Projects 2. Radiometry 3. Color. Outline

The Rendering Equation & Monte Carlo Ray Tracing

Color. Phillip Otto Runge ( )

Ø Sampling Theory" Ø Fourier Analysis Ø Anti-aliasing Ø Supersampling Strategies" Ø The Hall illumination model. Ø Original ray tracing paper

Illumination models: Radiosity analysis

Shading. Brian Curless CSE 557 Autumn 2017

Shadows in the graphics pipeline

CMSC427 Advanced shading getting global illumination by local methods. Credit: slides Prof. Zwicker

Computer Vision. The image formation process

Lecture 16 Color. October 20, 2016

Adding Spherical Harmonic Lighting to the Sushi Engine. Chris Oat 3D Application Research Group. ATI Research, Inc.

3 Interactions of Light Waves

Ambient Occlusion. Ambient Occlusion (AO) "shadowing of ambient light "darkening of the ambient shading contribution

The Elements of Colour

Raytracing & Epsilon. Today. Last Time? Forward Ray Tracing. Does Ray Tracing Simulate Physics? Local Illumination

Color to Binary Vision. The assignment Irfanview: A good utility Two parts: More challenging (Extra Credit) Lighting.

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

Transcription:

Global Illumination Frank Dellaert Some slides by Jim Rehg, Philip Dutre

Color and Radiometry What is color?

What is Color? A perceptual attribute of objects and scenes constructed by the visual system A quantity related to the wavelength of light in the visible spectrum A box of Crayola crayons A significant industry with conferences, standards bodies, etc. A challenge There are no second-rate brains in color vision Edwin Land

Why is Color Important? In animal vision food vs nonfood identify predators and prey Check health, fitness, etc. of other individuals. In computer vision Skin finder Segment an image

Reflectance Model c (!) = s(!) e(!)

Illumination Spectra Blue skylight Tungsten bulb

Reflectance Spectra

Macbeth ColorChecker

Hue-Saturation

Human Color Perception What is the retinal basis for color perception in humans?

Human Photoreceptors Fovea Periphery

Human Cone Sensitivities Spectral sensitivity of L, M, S cones in human eye

Color Names for Cartoon Spectra

Additive Color Mixing

Subtractive Color Mixing

Light Sources

Lambertian Surface The intensity of a pixel I(u,v) is: I(u,v) ^s ^n a I(u,v) = [a(u,v) ˆ n (u,v)] [s 0 ˆ s ] = b(u,v) s a(u,v) is the albedo of the surface projecting to (u,v). n(u,v) is the direction of the surface normal. s 0 is the light source intensity. s is the direction to the light source. Slide courtesy of David Kriegman

Orthographic Projection Simplification for light sources that are sufficiently far away from an object. All incoming light rays are parallel. Thus, while b vectors vary over the surface, s vector is constant. s b s s b b Pixels : b 1 T s, b 2 T s, b 3 T s,... " Bs

Area sources Examples: diffuser boxes, white walls. Radiosity: integrate over hemisphere section change variables and add up over the source Slide courtesy of David Forsyth

Ambient Illumination Add a constant to the radiosity at every point in the scene to account for brighter shadows than predicted by point source model Advantages: simple, easily managed Disadvantages: poor approximation

Local Shading Models

What about Shadows? Two kinds: occluder Attached Cast (We won t deal with these)

Area Source Shadows Penumbra Umbra Why don t we see more shadows indoors?

Shading models Local shading model Surface has radiosity due only to sources visible at each point Advantages: often easy to manipulate, expressions easy supports quite simple theories of how shape information can be extracted from shading Global shading model surface radiosity is due to radiance reflected from other surfaces as well as from surfaces Advantages: usually very accurate Disadvantage: extremely difficult to infer anything from shading values

Curious Experimental Fact Prepare two rooms, one with white walls and white objects, one with black walls and black objects Illuminate the black room with bright light, the white room with dim light People can tell which is which (due to Gilchrist) Why?

White Room A view of a white room, under dim light. Below, we see a cross-section of the image intensity corresponding to the line drawn on the image. Figure from Mutual Illumination, by D.A. Forsyth and A.P. Zisserman, Proc. CVPR, 1989, copyright 1989 IEEE

Black Room A view of a black room, under bright light. Below, we see a cross-section of the image intensity corresponding to the line drawn on the image. Figure from Mutual Illumination, by D.A. Forsyth and A.P. Zisserman, Proc. CVPR, 1989, copyright 1989 IEEE

What s going on here? local shading model is a poor description of physical processes that give rise to images This is a major nuisance

Global Shading Models Image by Henrik jensen

Illumination-Equation

Discretize: Linear System

Solving the Linear System B i = E i + " i # j F ij B j As a matrix equation: B = E + "FB, where " = diag(# i ) Solve following system: (I " #F)B = E Slight problem: F can have a trillion entries

Artifacts