A Frequency Analysis of Light Transport

Similar documents
A Frequency Analysis of Light Transport

Chapter 7. Conclusions and Future Work

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

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

Image Synthesis. Global Illumination. Why Global Illumination? Achieve more photorealistic images

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

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

Chapter 1 Introduction

Motivation. My General Philosophy. Assumptions. Advanced Computer Graphics (Spring 2013) Precomputation-Based Relighting

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

Frequency-Based Kernel Estimation for Progressive Photon Mapping

Precomputed Radiance Transfer: Theory and Practice

Analysis of Planar Light Fields from Homogeneous Convex Curved Surfaces Under Distant Illumination

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

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

Global Illumination and Monte Carlo

The Rendering Equation & Monte Carlo Ray Tracing

Photorealism vs. Non-Photorealism in Computer Graphics

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

Computational Photography

Rendering Algorithms: Real-time indirect illumination. Spring 2010 Matthias Zwicker

5D Covariance Tracing for Efficient Defocus and Motion Blur

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

Irradiance Gradients. Media & Occlusions

The Rendering Equation and Path Tracing

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

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Ground Truth. Welcome!

Local vs. Global Illumination & Radiosity

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

Sampling, Aliasing, & Mipmaps

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

Sampling, Aliasing, & Mipmaps

Rendering Light Reflection Models

Discussion. Smoothness of Indirect Lighting. History and Outline. Irradiance Calculation. Irradiance Caching. Advanced Computer Graphics (Spring 2013)

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

Monte Carlo Ray Tracing. Computer Graphics CMU /15-662

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

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

Complex Shading Algorithms

Rendering Light Reflection Models

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

Recent Advances in Monte Carlo Offline Rendering

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Global Illumination and the Rendering Equation

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

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

Spherical Harmonic Gradients for Mid-Range Illumination

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

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

Light Reflection Models

Final Project: Real-Time Global Illumination with Radiance Regression Functions

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

Improved Radiance Gradient Computation

Global Illumination The Game of Light Transport. Jian Huang

Monte-Carlo Ray Tracing. Antialiasing & integration. Global illumination. Why integration? Domains of integration. What else can we integrate?

Global Illumination. COMP 575/770 Spring 2013

Shadow and Environment Maps

782 Schedule & Notes

Photon Mapping. Due: 3/24/05, 11:59 PM

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

rendering equation camera all

Interactive Methods in Scientific Visualization

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

Philipp Slusallek Karol Myszkowski. Realistic Image Synthesis SS18 Instant Global Illumination

Lecture 12: Photon Mapping. Biased Methods

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

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

Biased Monte Carlo Ray Tracing:

rendering equation computer graphics rendering equation 2009 fabio pellacini 1

A NEW APPROACH OF DENSITY ESTIMATION FOR GLOBAL ILLUMINATION

CS : Assignment 2 Real-Time / Image-Based Rendering

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

02 Shading and Frames. Steve Marschner CS5625 Spring 2016

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

Motivation. Advanced Computer Graphics (Fall 2009) CS 283, Lecture 11: Monte Carlo Integration Ravi Ramamoorthi

Image Based Lighting with Near Light Sources

Image Based Lighting with Near Light Sources

Thesis Report. Thesis Title: Soft Shadow Rendering in Real Time. Shihab Rezwan Manzur ID: CSE Department BRAC University

Announcements. Written Assignment 2 out (due March 8) Computer Graphics

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

CS348B: Image Synthesis

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

C. Project Description Transient Signal Processing for Realistic Imagery

To Do. Real-Time High Quality Rendering. Motivation for Lecture. Monte Carlo Path Tracing. Monte Carlo Path Tracing. Monte Carlo Path Tracing

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

Lecture 7 - Path Tracing

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

Computer Graphics. Lecture 14 Bump-mapping, Global Illumination (1)

EECS 487: Interactive Computer Graphics

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

Virtual Spherical Lights for Many-Light Rendering of Glossy Scenes

03 RENDERING PART TWO

Single Scattering in Refractive Media with Triangle Mesh Boundaries

The Rendering Equation. Computer Graphics CMU /15-662

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

Global Illumination and Radiosity

Stochastic Path Tracing and Image-based lighting

Fast Calculation of Soft Shadow Textures Using Convolution

Precomputed Shadow Fields for Dynamic Scenes

CS6670: Computer Vision

Transcription:

A Frequency Analysis of Light Transport Frédo Durand MIT CSAIL With Nicolas Holzschuch, Cyril Soler, Eric Chan & Francois Sillion Artis Gravir/Imag-Inria & MIT CSAIL

Our research 3D rendering Light transport Material appearance Real time rendering, hardware Computational Photography & Video Image enhancement, dynamic range, relighting Data-rich imaging Image decomposition and manipulation In all cases, it's all about complicated signals

Understanding, manipulating and computing signals Discontinuities Where things change Gradient Useful for interpolation, criterion Frequency content (today's talk) Useful for sampling Useful for inverse problems Sometimes useful as basis function Statistics And all these capture perceptual properties

Bilateral filter Signal decomposition that characterizes multiscale content and preserves discontinuities Tone mapping Flash no flash Meshes

Visibility Singularity approach (discontinuities) Fake shadow blurriness (signal characteristics are right, not values)

A Frequency Analysis of Light Transport F. Durand, MIT CSAIL N. Holzschuch, C. Soler, ARTIS/GRAVIR-IMAG INRIA E. Chan, MIT CSAIL F. Sillion, ARTIS/GRAVIR-IMAG INRIA

Illumination effects Blurry reflections: From [Ramamoorthi and Hanrahan 2001]

Illumination effects Shadow boundaries: Point light source Area light source U. Assarsson 2005.

Illumination effects Indirect lighting is usually blurry: Direct lighting only Indirect lighting only

Frequency aspects of light transport Blurriness = frequency content Sharp variations: high frequency Smooth variations: low frequency All effects are expressed as frequency content: Diffuse shading: low frequency Shadows: introduce high frequencies Indirect lighting: tends to be low frequency

Frequency content matters in graphics Sampling, antialiasing Texture prefiltering Light field sampling Fourier-like basis Precomputed Radiance Transfer Wavelet radiosity, SH Low-frequency assumption Irradiance caching Image H. Wann Jensen Image M. Zwicker [From Sloan et al.]

Frequency content matters in vision Inverse lighting And illumination invariants Shape from texture Photograph Rendering From Ramamoorthi & Hanrahan 01 Shape from (de)focus From Black and Rosenholtz 97 See our Defocus Matting [McGuire et al. Siggraph 2005]

Problem statement How does light interaction in a scene explain the frequency content? Theoretical framework: Understand the frequency spectrum of the radiance function From the equations of light transport

Unified framework: Spatial frequency (e.g. shadows, textures) Angular frequency (e.g. blurry highlight)

Disclaimer: not Fourier optics We do not consider wave optics, interference, diffraction Only geometrical optics From [Hecht]

Overview Previous work Our approach: Local light field Transformations on local light field Case studies Conclusions and future directions

Previous work Vast body of literature: Light field sampling Perceptually-based rendering Wavelets for Computer Graphics Irradiance caching Photon mapping We focus on frequency analysis in graphics & vision: Texture antialiasing Light field sampling Reflection as a convolution

Texture pre-filtering [Heckbert 89] Input signal: texture map Perspective: transforms signal Image: resampling Fourier permits the derivation of filters minification From [Heckbert 1989] magnification

Light field sampling [Chai et al. 00, Isaksen et al. 00, Stewart et al. 03] Light field spectrum as a function of object distance No BRDF, occlusion ignored From [Chai et al. 2000]

Signal processing for reflection [Ramamoorthi & Hanrahan 01, Basri & Jacobs 03] Reflection on a curved surface is a convolution Direction only From [Ramamoorthi and Hanrahan 2001]

Overview Previous work Our approach: Local light field Transformations on local light field Case studies Conclusions and future directions

Our approach Light sources are input signal Interactions are filters/transforms Transport Visibility BRDF Etc.

Our approach Light sources are input signal Interactions are filters/transforms Transport Visibility BRDF Etc. Light source signal

Our approach Light sources are input signal Interactions are filters/transforms Transport Visibility BRDF Etc. Light source signal Transport

Our approach Light sources are input signal Interactions are filters/transforms Transport Visibility BRDF Etc. Light source signal Transport Signal 1

Our approach Light sources are input signal Interactions are filters/transforms Transport Visibility BRDF Etc. Light source signal Transport Occlusion Signal 2

Our approach Light sources are input signal Interactions are filters/transforms Transport Visibility BRDF Etc. Light source signal Transport Occlusion Transport Signal 3

Our approach Light sources are input signal Interactions are filters/transforms Transport Visibility BRDF Etc. Light source signal Transport Occlusion Transport BRDF Signal 4

Local light field 4D light field, around a central ray Central ray

Local light field 4D light field, around a central ray We study its spectrum during transport

Local light field 4D light field, around a central ray We study its spectrum during transport

Local light field 4D light field, around a central ray We study its spectrum during transport

Local light field We give explanations in 2D Local light field is therefore 2D See paper for extension to 3D

Local light field parameterization Space and angle angle space Central ray

Local light field representation Density plot: Angle Space

Local light field Fourier spectrum We are interested in the Fourier spectrum of the local light field Also represented as a density plot

Local light field Fourier spectrum Angular frequency Spatial frequency

Fourier analysis 101 Spectrum corresponds to blurriness: Sharpest feature has size ~ 1/F max Convolution theorem: Multiplication of functions: spectrum is convolved Convolution of functions: spectrum is multiplied Classical spectra: Box sinc Dirac constant

Overview Previous work Our approach: Local light field Transformations on local light field Case studies Conclusions and future directions

Overview Previous work Our approach: Local light field Transformations on local light field Transport Occlusion BRDF Curvature Other transforms Case studies Conclusions and future directions

Example scene Blockers Light source Receiver

Overview Previous work Our approach: Local light field Transformations on local light field Transport Occlusion BRDF Curvature Other transforms Case studies Conclusions and future directions

Transport Ray space Ray space v (angle) v (angle) x (space) x (space)

Transport Ray space Ray space v (angle) v (angle) x (space) x (space)

Transport Ray space Ray space v (angle) v (angle) x (space) x (space)

Transport Shear: x = x - v d d x vd x v Ray space Ray space v (angle) v (angle) x (space) x (space)

Transport in Fourier space Shear in primal: x = x - v d Shear in Fourier, along the other dimension Ray space Ray space Fourier space Fourier space Ωv (angle) Ωx (space) Ωv (angle) Ωx (space) Video

Transport Shear This is consistent with light field spectra [Chai et al. 00, Isaksen et al. 00] From [Chai et al. 2000]

Overview Previous work Our approach: Local light field Transformations on local light field Transport Occlusion BRDF Curvature Other transforms Case studies Conclusions and future directions

Occlusion: multiplication Occlusion is a multiplication in ray space Convolution in Fourier space Creates new spatial frequency content Related to the spectrum of the blockers

Occlusion Consider planar occluder Multiplication by binary function Mostly in space

Occlusion Consider planar occluder Multiplication by binary function Mostly in space Before occlusion blocker function After occlusion

Occlusion in Fourier Multiplication in primal Convolution in Fourier (creates high freq.) Ray space blocker function Ray space Fourier space Fourier space Ωv (angle) Ωx (space) blocker spectrum Ωv (angle) Ωx (space)

Overview Previous work Our approach: Local light field Transformations on local light field Transport Occlusion BRDF Curvature Other transforms Case studies Conclusions and future directions

Another propagation Blockers Light source Receiver

Overview Previous work Our approach: Local light field Transformations on local light field Transport Occlusion BRDF Curvature Other transforms Case studies Conclusions and future directions

BRDF integration Outgoing light: Integration of incoming light times BRDF BRDF Incoming light Outgoing light

BRDF integration Ray-space: convolution Outgoing light: convolution of incoming light and BRDF For rotationally-invariant BRDFs Fourier domain: multiplication Outgoing spectrum: multiplication of incoming spectrum and BRDF spectrum

BRDF in Fourier: multiplication = BRDF is bandwidth-limiting in angle

Example: diffuse BRDF Convolve by constant: multiply by horizontal window Only spatial frequencies remain =

Relation to previous work [Ramamoorthi & Hanrahan 01, Basri & Jacob 03] They consider a spatially-constant illumination But essentially, nothing much changed Ray space Fourier space

Overview Previous work Our approach: Local light field Transformations on local light field Transport Occlusion BRDF Curvature Other transforms Case studies Conclusions and future directions

Curvature Ray reaches curved surface: Transform it into planar surface Unroll curved surface Equivalent to changing angular content: Linear effect on angular dimension No effect on spatial dimension Shear in the angular dimension

Curvature For each point x, the normal has a different angle Equivalent to rotating incoming light Normal at x x We will reparameterize the light field Central normal

Curvature For each point x, the normal has a different angle Equivalent to rotating incoming light At center of space, nothing changed Central normal

Curvature For each point x, the normal has a different angle Equivalent to rotating incoming light The further away from central ray, the more rotated

Curvature For each point x, the normal has a different angle Equivalent to rotating incoming light The further away from central ray, the more rotated

Curvature For each point x, the normal has a different angle Equivalent to rotating incoming light The further away from central ray, the more rotated This is a shear, but vertical

Main transforms: summary Radiance/Fourier Effect Transport Shear Occlusion Multiplication/Convolution Adds spatial frequencies BRDF Convolution/Multiplication Removes angular frequencies Curvature Shear

Overview Previous work Our approach: Local light field Transformations on local light field Transport Occlusion BRDF Curvature Other transforms Case studies Conclusions and future directions

Extension to 3D It works. See paper:

Even more effects in paper Various technical details Cosine/Fresnel term: Central incidence angle: Texture mapping (multiplication/convolution) Separable BRDF Spatially varying BRDF (semi-convolution) and full extension to 3D

Overview Previous work Our approach: Local light field Transformations on local light field Case studies: Diffuse soft shadows Solar oven Adaptive shading sampling Conclusions and future directions

Overview Previous work Our approach: Local light field Transformations on local light field Case studies: Diffuse soft shadows Solar oven Adaptive shading sampling Conclusions and future directions

Diffuse soft shadows Decreasing blockers size: First high-frequencies increase Then only low frequency Non-monotonic behavior

Diffuse soft shadows (2) Occlusion : convolution in Fourier creates high frequencies Blockers scaled down spectrum scaled up Ωv (angle) Fourier space Ωx (space) blocker spectrum Ωv (angle) Fourier space Ωx (space)

Diffuse soft shadows (3) Transport after occlusion: Spatial frequencies moved to angular dimension Diffuse reflector: Angular frequencies are cancelled

Diffuse soft shadows (3) Transport after occlusion: Spatial frequencies moved to angular dimension Diffuse reflector: Angular frequencies are cancelled

Overview Previous work Our approach: Local light field Transformations on local light field Case studies: Diffuse soft shadows Solar oven Adaptive shading sampling Conclusions and future directions

Solar oven Curved surface In: parallel light rays Out: focal point

Solar oven Curved surface In: parallel light rays Out: focal point

Overview Previous work Our approach: Local light field Transformations on local light field Case studies: Diffuse soft shadows Solar oven Adaptive shading sampling Conclusions and future directions

Adaptive shading sampling Monte-Carlo ray tracing Blurry regions need fewer shading samples

Adaptive shading sampling Per-pixel prediction of max. frequency (bandwidth) Based on curvature, BRDF, distance to occluder, etc. No spectrum computed, just estimate max frequency Per-pixel bandwidth criterion

Adaptive shading sampling Per-pixel prediction of max. frequency (bandwidth) Based on curvature, BRDF, distance to occluder, etc. No spectrum computed, just estimate max frequency Shading samples

Uniform sampling 20,000 samples

Adaptive sampling 20,000 samples

Overview Previous work Our approach: Local light field Transformations on local light field Case studies: Diffuse soft shadows Adaptive shading sampling Conclusions and future directions

Conclusions Unified framework: For frequency analysis of radiance In both space and angle Simple mathematical operators Extends previous analyses Explains interesting lighting effects: Soft shadows, caustics Proof-of-concept: Adaptive sampling

Future work More experimental validation on synthetic scenes Extend the theory: Bump mapping, microfacet BRDFs, sub-surface scattering Participating media Wave optics Applications to rendering: Photon mapping, spatial sampling for PRT Revisit traditional techniques Vision and shape from shading 3D displays aliasing Optics and computational photography

Acknowledgments Jaakko Lehtinen Reviewers of the MIT and ARTIS graphics groups Siggraph reviewers This work was supported in part by: NSF CAREER award 0447561 Transient Signal Processing for Realistic Imagery NSF CISE Research Infrastructure Award (EIA9802220) ASEE National Defense Science and Engineering Graduate fellowship INRIA Équipe associée Realreflect EU IST project MIT-France

Why Local Light Field? Linearization: θ tan θ Curvature Extension to 3D Local information is what we need: Local frequency content, for local sampling Based on local properties of the scene (occluders)

Other bases? We re not using Fourier as a function basis Don t recommend it, actually Just used for analysis, understanding, predictions Results are useable with any other base: Wavelets, Spherical Harmonics, point sampling, etc Max. frequency translates in sampling rate Analysis relies on Fourier properties: Especially the convolution theorem

Reflection on a surface: Full summary Angle of incidence Curvature Cosine/Fresnel term Mirror re-parameterization BRDF Curvature

Reflection on a surface: Full summary Angle of incidence: scaling Curvature: shear in angle Cosine/Fresnel term: multiplication/convolution Mirror re-parameterization BRDF: convolution/multiplication Curvature: shear in angle