Time-Dependent Photon Mapping Mike Cammarano Henrik Wann Jensen EGWR ‘02.

Slides:



Advertisements
Similar presentations
Computer graphics & visualization Global Illumination Effects.
Advertisements

Computer Graphics In4/MSc Computer Graphics Lecture Notes #15 Illumination III View Independent Rendering.
Efficient Importance Sampling Techniques for the Photon Map Ingo Wald University of Saarbrücken Alexander Keller University of Kaiserslautern.
Photorealistic Rendering. Ray tracing v. photorealistic rendering What illumination effects are not captured by ray tracing? What illumination effects.
The Radiance Equation Mel Slater. Outline Introduction Light Simplifying Assumptions Radiance Reflectance The Radiance Equation Traditional Rendering.
RADIOSITY Submitted by CASULA, BABUPRIYANK. N. Computer Graphics Computer Graphics Application Image Synthesis Animation Hardware & Architecture.
Radiometry. Outline What is Radiometry? Quantities Radiant energy, flux density Irradiance, Radiance Spherical coordinates, foreshortening Modeling surface.
Physically Based Illumination Models
Illumination Models Radiosity Chapter 14 Section 14.7 Some of the material in these slides may have been adapted from University of Virginia, MIT, Colby.
Ray Tracing & Radiosity Dr. Amy H. Zhang. Outline  Ray tracing  Radiosity.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
Real-Time Rendering Paper Presentation Imperfect Shadow Maps for Efficient Computation of Indirect Illumination T. Ritschel T. Grosch M. H. Kim H.-P. Seidel.
Efficient Simulation of Light Transport in Scenes with Participating Media using Photon Maps Paper by Henrik Wann Jensen, Per H. Christensen Presented.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Photon Tracing with Arbitrary Materials Patrick Yau.
IMGD 1001: Illumination by Mark Claypool
Admission to CS 184 Enrollment priorities are 1. CS/EECS majors, 2. CS/EECS minors (this category includes applied math majors) 3. anyone else with a declared.
Rendering theory & practice. Introduction  We’ve looked at modelling, surfacing and animating.  The final stage is rendering.  This can be the most.
Final Gathering on GPU Toshiya Hachisuka University of Tokyo Introduction Producing global illumination image without any noise.
1 7M836 Animation & Rendering Global illumination, ray tracing Arjan Kok
Paper by Alexander Keller
Basic Ray Tracing CMSC 435/634. Visibility Problem Rendering: converting a model to an image Visibility: deciding which objects (or parts) will appear.
RAY TRACING WITH DISPERSION CSS552 – Topics in Rendering Winter 2011 Final Project by: Kohei Ueda Shivani Srikanteshwara Mary Ann Chiramattel Kunjachan.
CSC418 Computer Graphics n Raytracing n Shadows n Global Illumination.
Today More raytracing stuff –Soft shadows and anti-aliasing More rendering methods –The text book is good on this –I’ll be using images from the CDROM.
-Global Illumination Techniques
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
Photon Mapping on Programmable Graphics Hardware
Basic Ray Tracing CMSC 435/634. Visibility Problem Rendering: converting a model to an image Visibility: deciding which objects (or parts) will appear.
Computer graphics & visualization Photon Mapping.
Computer Graphics Global Illumination: Photon Mapping, Participating Media Lecture 12 Taku Komura.
Global Illumination Models THE WHITTED IMAGE - BASIC RECURSIVE RAY TRACING Copyright © 1997 A. Watt and L. Cooper.
Global Illumination CMSC 435/634. Global Illumination Local Illumination – light – surface – eye – Throw everything else into ambient Global Illumination.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Hybrid Algorithms K. H. Ko School of Mechatronics Gwangju Institute.
Graphics Lecture 13: Slide 1 Interactive Computer Graphics Lecture 13: Radiosity - Principles.
Radiosity Jian Huang, CS594, Fall 2002 This set of slides reference the text book and slides used at Ohio State.
04/30/02(c) 2002 University of Wisconsin Last Time Subdivision techniques for modeling We are now all done with modeling, the standard hardware pipeline.
Global Illumination: Radiosity, Photon Mapping & Path Tracing Rama Hoetzlein, 2009 Lecture Notes Cornell University.
Basic Ray Tracing CMSC 435/634.
Global Illumination. Local Illumination  the GPU pipeline is designed for local illumination  only the surface data at the visible point is needed to.
Monte-Carlo Ray Tracing and
Pure Path Tracing: the Good and the Bad Path tracing concentrates on important paths only –Those that hit the eye –Those from bright emitters/reflectors.
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
02/12/03© 2003 University of Wisconsin Last Time Intro to Monte-Carlo methods Probability.
In the name of God Computer Graphics. Last Time Some techniques for modeling Today Global illumination and raytracing.
© Machiraju/Möller Rendering Equation Various Solutions cis782 Advanced Computer Graphics Raghu Machiraju.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Path Tracing Algorithms K. H. Ko School of Mechatronics Gwangju.
CMSC 635 Global Illumination.  Local Illumination  light – surface – eye  Throw everything else into ambient  Global Illumination  light – surface.
1 CSCE 441: Computer Graphics Hidden Surface Removal Jinxiang Chai.
University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell Photon Mapping and Irradiance Caching.
Fast Global Illumination Including Specular Effects Xavier Granier 1 George Drettakis 1 Bruce J. Walter 2 1 iMAGIS -GRAVIR/IMAG-INRIA iMAGIS is a joint.
1. Ray Casting Surface intersection Visible surface detection Ray Tracing Bounce the ray Collecting intensity Technique for global reflection and transmission.
Global Illumination (3) Photon Mapping (1). Overview Light Transport Notation Path Tracing Photon Mapping –Photon Tracing –The Photon Map.
Global Illumination (3) Path Tracing. Overview Light Transport Notation Path Tracing Photon Mapping.
Radiometry of Image Formation Jitendra Malik. A camera creates an image … The image I(x,y) measures how much light is captured at pixel (x,y) We want.
Distributed Ray Tracing. Can you get this with ray tracing?
Distributed Ray Tracing. Can you get this with ray tracing?
11/29/01CS 559, Fall 2001 Today Photorealistic rendering Algorithms for producing high-quality images Ways of deciding which algorithm for use.
Radiometry of Image Formation Jitendra Malik. What is in an image? The image is an array of brightness values (three arrays for RGB images)
Reconstruction For Rendering distribution Effect
Global Illumination: Radiosity, Photon Mapping & Path Tracing
© University of Wisconsin, CS559 Fall 2004
© 2005 University of Wisconsin
(c) 2002 University of Wisconsin
Progressive Photon Mapping
Path Tracing (some material from University of Wisconsin)
(c) 2002 University of Wisconsin
Efficient Importance Sampling Techniques for the Photon Map
Progressive Photon Mapping Toshiya Hachisuka Henrik Wann Jensen
Photon Density Estimation using Multiple Importance Sampling
Presentation transcript:

Time-Dependent Photon Mapping Mike Cammarano Henrik Wann Jensen EGWR ‘02

Standard Photon Map Two-pass algorithm: 1.Photon trace 2.Rendering

First Pass - Photon Trace For 100 photons emitted from 100W source, each photon initially carries 1W. Propagate this radiant flux through scene using MC methods.

Estimating incident flux At any patch of surface, we can estimate the incident flux: Just average the contributions of all the photons that hit the patch.

A Photon For each surface interaction, we store: struct photon { float x,y,z;// position char power[4];// power (RGBE) char phi, theta;// incident direction short flag; }

Photon Storage Store this information about surface interactions in photon map (kd-tree) Photon storage is decoupled from geometry

Second Pass - Rendering Estimate flux incident at a surface point based on nearby photons.

Radiance Estimate Expand ball until it contains some reasonable number of photons. Use intersection with plane to estimate area of surface patch.

Radiance Estimate

What About Motion?

One Approach Render lots of intermediate frames independent of one another.

Average Intermediate Frames

Expensive Only some areas need to be densely sampled in time. Need MANY intermediate frames to get smooth results.

Adaptive Sampling Want to sample densely in time only for the pixels that need it. Easy with ray tracing. Can trace each ray for a different time in the interval. [Cook84]

Photon Map We can’t rebuild the photon map for every eye-ray with a different time! We would like to do DRT with photons, too. Given rays sampling various times and photons representing lighting at various times, how do we match them up?

Photons distributed in time t=0.0t=0.5t=1.0

Energy Radiant Flux Radiant Energy

Time-Dep. Radiance Estimate

Static surface, no occlusion

Photons in time Want average radiance ( ∫ … dt )

Time distribution

Average over time

Case 1 For stationary surfaces with unobstructed visibility through the entire view interval, we can ignore time distribution of photons.

Plane Moving Down t=0.0 t=0.5 t=1.0

Photon Visualization t=0.0 t=0.5 t=1.0

A Trickier Case t=0.0 t=0.5 t=1.0 Average of independent frames Distributed photon times

Examples

Problem A given patch of surface is only visible through a particular pixel for a small portion of the total time interval. It’s brightness during that visible interval should depend only on the photons reaching it during that narrow window of time – not the “average” over all times.

Distribution in Time Uncounted!

Narrow Window in Time Integrate over small visible interval.

Comparison

Performance Path tracing9+ hrs Average of independent frames47 sec TDPM43 sec Our worst case: we get essentially no benefit from adaptive sampling – doesn’t cost much to oversample blue background. Try it in front of ~10 7 polygon forest …

Summary of Method IF ray-path from eye is unaffected by motion: Can integrate over entire time interval – Δt = 1. (Use all the spatially nearby photons in the estimate) ELSE Integrate over shorter visible interval. Can use several criteria for choosing Δt adaptively: 1.Δt < user-specified MaxΔt 2.Δt chosen to use only k-nearest-photons-in-time 3.Δt < time spanned by the photons

Truck Scene

Effect

Comparison Average of 9 frames seconds

Comparison Our method – 72 seconds

Comparison Ignoring case for eye-paths with movement

Conclusion Can incorporate correct global illumination via photon mapping in a ray-tracer that adaptively samples in time. Computing photon map with time-dependence requires little or no added cost beyond photon mapping for the corresponding still scene. Better performance than alternative methods for animated global illumination.