Light Transport CS434. Daniel G. Aliaga Department of Computer Science Purdue University

Similar documents
CS635 Spring Department of Computer Science Purdue University

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

Rendering Synthetic Objects into Real Scenes. based on [Debevec98]

CS635 Spring Department of Computer Science Purdue University

Inverse Light Transport (and next Separation of Global and Direct Illumination)

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

Rendering: Reality. Eye acts as pinhole camera. Photons from light hit objects

Image-based Lighting

Rendering Part I (Basics & Ray tracing) Lecture 25 December 1, 2015

Computer Vision. The image formation process

Topic 12: Texture Mapping. Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping

Topic 11: Texture Mapping 11/13/2017. Texture sources: Solid textures. Texture sources: Synthesized

Light transport matrices

Topic 11: Texture Mapping 10/21/2015. Photographs. Solid textures. Procedural

Global Illumination. COMP 575/770 Spring 2013

Illumination Models & Shading

Global Illumination and Radiosity

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

GLOBAL ILLUMINATION. Christopher Peters INTRODUCTION TO COMPUTER GRAPHICS AND INTERACTION

CS4670/5760: Computer Vision Kavita Bala Scott Wehrwein. Lecture 23: Photometric Stereo

CS5620 Intro to Computer Graphics

Traditional Image Generation. Reflectance Fields. The Light Field. The Light Field. The Light Field. The Light Field

Computational light transport

Lighting and Shading. Slides: Tamar Shinar, Victor Zordon

Shading I Computer Graphics I, Fall 2008

Photorealism: Ray Tracing

Lecture 22: Basic Image Formation CAP 5415

Ray-Tracing. Misha Kazhdan

Capturing light. Source: A. Efros

CS230 : Computer Graphics Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside

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

Recollection. Models Pixels. Model transformation Viewport transformation Clipping Rasterization Texturing + Lights & shadows

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

Rendering Light Reflection Models

Lighting. To do. Course Outline. This Lecture. Continue to work on ray programming assignment Start thinking about final project

3D Shape and Indirect Appearance By Structured Light Transport

Visual Appearance and Color. Gianpaolo Palma

Turn on the Lights: Reflectance

Photometric Stereo.

Rendering Light Reflection Models

CS354 Computer Graphics Ray Tracing. Qixing Huang Januray 24th 2017

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

Illumination. The slides combine material from Andy van Dam, Spike Hughes, Travis Webb and Lyn Fong

Stereo and structured light

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

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

CS 381 Computer Graphics, Fall 2008 Midterm Exam Solutions. The Midterm Exam was given in class on Thursday, October 23, 2008.

CS6670: Computer Vision

Simple Lighting/Illumination Models

Advanced Graphics. Path Tracing and Photon Mapping Part 2. Path Tracing and Photon Mapping

COMP371 COMPUTER GRAPHICS

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

rendering equation computer graphics rendering equation 2009 fabio pellacini 1

More computational light transport

Illumination & Shading

1.6 Rough Surface Scattering Applications Computer Graphic Shading and Rendering

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

Local vs. Global Illumination & Radiosity

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

Lighting and Shading Computer Graphics I Lecture 7. Light Sources Phong Illumination Model Normal Vectors [Angel, Ch

Image-Based Lighting

Radiometry and reflectance

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

Ray Tracing. CSCI 420 Computer Graphics Lecture 15. Ray Casting Shadow Rays Reflection and Transmission [Ch ]

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

Lighting and Shading

Raytracing CS148 AS3. Due :59pm PDT

Integrated three-dimensional reconstruction using reflectance fields

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

Outline of Lecture. Real-Time High Quality Rendering. Geometry or Vertex Pipeline. Basic Hardware Pipeline. Pixel or Fragment Pipeline

Local Reflection Models

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

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

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

Problem Set 4 Part 1 CMSC 427 Distributed: Thursday, November 1, 2007 Due: Tuesday, November 20, 2007

Illumination & Shading: Part 1

03 RENDERING PART TWO

Consider a partially transparent object that is illuminated with two lights, one visible from each side of the object. Start with a ray from the eye

CS6670: Computer Vision

Reflection models and radiometry Advanced Graphics

OpenGL Lighting Computer Graphics Spring Frank Palermo

Shading. Brian Curless CSE 557 Autumn 2017

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

CPSC 314 LIGHTING AND SHADING

CS 428: Fall Introduction to. Raytracing. Andrew Nealen, Rutgers, /18/2009 1

Lighting & 3D Graphics. Images from 3D Creative Magazine

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

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

CSE 681 Illumination and Phong Shading

I have a meeting with Peter Lee and Bob Cosgrove on Wednesday to discuss the future of the cluster. Computer Graphics

Shadow and Environment Maps

The 7d plenoptic function, indexing all light.

Face Recognition Markus Storer, 2007

Lighting affects appearance

Image-Based Lighting. Inserting Synthetic Objects

The Rendering Equation. Computer Graphics CMU /15-662

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

The Rasterization Pipeline

Precomputed Radiance Transfer: Theory and Practice

Today. Participating media. Participating media. Rendering Algorithms: Participating Media and. Subsurface scattering

Transcription:

Light Transport CS434 Daniel G. Aliaga Department of Computer Science Purdue University

Topics Local and Global Illumination Models Helmholtz Reciprocity Dual Photography/Light Transport (in Real-World)

Diffuse Lighting A.k.a. Lambertian illumination A fraction of light is radiated in every direction Intensity varies with cosine of the angle with normal 3

Specular Lighting The most common lighting model was suggested by Phong I spec I cos spec Light n shiny The n shiny term is an empirical constant to model the rate of falloff The model has no exact physical basis, but it sort of works 4

Example

Inter-reflections

Scattering

Scattering Without (subsurface) scattering With (subsurface) scattering

Scattering Without (subsurface) scattering With (subsurface) scattering

Scattering Scattering through participating media with volume caustics Hu et al. 2010

Rendering Equation (also known as the light-transport equation) Illumination can be generalized to (note: equation is recursive) but it does not model all illumination effects!

Conclusion Modeling physical illumination is hard Undoing physically-observed illumination in order to discover the underlying geometry is even harder Insight: let s sample it and re-apply it!

Recall the Linear Operator Equation where K can be thought of as the light transport matrix ; i.e., it transports light from the previous surface (=light) to the next surface

Dual Photography Compute a light transport matrix T that transports light from an illumination vector P to a camera image vector C Thus rendering equation is now

Dual Photography Compute a light transport matrix T that transports light from an illumination vector P to a camera image vector C Thus rendering equation is now

Dual Photography Compute a light transport matrix T that transports light from an illumination vector P to a camera image vector C Thus rendering equation is now

Dual Photography Compute a light transport matrix T that transports light from an illumination vector P to a camera image vector C [Sen et al., SIGGRAPH 2005] (slides based on those from the paper)

Helmholtz Reciprocity camera light scene

light Helmholtz Reciprocity camera scene

Measuring transport along a set of paths projector photocell scene

camera Reversing the paths point light scene

Forming a dual photograph dual camera projector dual photocell light scene

Forming a dual photograph dual camera dual light image of scene scene

Physical demonstration light replaced with projector camera replaced with photocell projector scanned across the scene conventional photograph, dual photograph, with light coming from right as seen from projector s position and as illuminated from photocell s position

Related imaging methods time-of-flight scanner if they return reflectance as well as range but their light source and sensor are typically coaxial scanning electron microscope Velcro at 35x magnification, Museum of Science, Boston

The 4D transport matrix projector photocell camera scene

The 4D transport matrix projector camera P C pq x 1 mn x 1 mn x pq T scene

The 4D transport matrix mn x pq C = T P mn x 1 pq x 1

The 4D transport matrix mn x pq C = mn x 1 T 1 0 0 0 0 pq x 1

The 4D transport matrix mn x pq C = mn x 1 T 0 1 0 0 0 pq x 1

The 4D transport matrix mn x pq C = mn x 1 T 0 0 1 0 0 pq x 1

The 4D transport matrix mn x pq C = T P mn x 1 pq x 1

pq x 1 mn x 1 The 4D transport matrix mn x pq C = T P mn x 1 pq x 1 applying Helmholtz reciprocity... pq x mn C = T T P

Example conventional photograph with light coming from right dual photograph as seen from projector s position

Example Can encode light (or projector) to camera transport in a large matrix T Camera c Projector p c = T p p = T t c As seen from camera As seen from projector!!!

Dual photography from diffuse reflections the camera s view

Properties of the transport matrix little inter-reflection sparse matrix many inter-reflections dense matrix convex object diagonal matrix concave object full matrix Can we create a dual photograph entirely from diffuse reflections?

Relighting Paul Debevec s Light Stage 3 subject captured under multiple lights one light at a time, so subject must hold still point lights are used, so can t relight with cast shadows

Relighting With Dual Photography

Relighting With Dual Photography

Relighting With Dual Photography

The 6D transport matrix

The 6D transport matrix

The advantage of dual photography capture of a scene as illuminated by different lights cannot be parallelized capture of a scene as viewed by different cameras can be parallelized

Measuring the 6D transport matrix projector mirror camera array scene

Relighting with complex illumination projector camera array pq x mn x uv C = T T P scene pq x 1 mn x uv x 1 step 1: measure 6D transport matrix T step 2: capture a 4D light field step 3: relight scene using captured light field

Running time the different rays within a projector can in fact be parallelized to some extent this parallelism can be discovered using a coarse-to-fine adaptive scan can measure a 6D transport matrix in 5 minutes

Can we measure an 8D transport projector array matrix? camera array scene

Demos Metropolis Light Transport http://www.youtube.com/watch?v=3xo0qvt3nxg http://www.youtube.com/watch?v=gmdfy_b0rvq Faster acquisition: http://www.youtube.com/watch?v=fvbicvbegvu&playne xt=1&list=pl361744591665d18d&feature=results_video