Photon Tracing with Arbitrary Materials Patrick Yau.

Slides:



Advertisements
Similar presentations
The Radiance Equation.
Advertisements

Computer graphics & visualization Global Illumination Effects.
Computer Graphics In4/MSc Computer Graphics Lecture Notes #15 Illumination III View Independent Rendering.
Advanced Computer Graphics
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.
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.
Graphics Graphics Korea University cgvr.korea.ac.kr Illumination Model 고려대학교 컴퓨터 그래픽스 연구실.
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.
Efficient Simulation of Light Transport in Scenes with Participating Media using Photon Maps Paper by Henrik Wann Jensen, Per H. Christensen Presented.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lectures 18, 19: Monte Carlo Integration Ravi Ramamoorthi Acknowledgements.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Advanced Computer Graphics (Fall 2009) CS 294, Rendering Lecture 5: Monte Carlo Path Tracing Ravi Ramamoorthi
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.
Interreflections and Radiosity : The Forward Problem Lecture #11 Thanks to Kavita Bala, Pat Hanrahan, Doug James, Ledah Casburn.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 10: Global Illumination Ravi Ramamoorthi Some images courtesy.
Everything on Global Illumination Xavier Granier - IMAGER/UBC.
Introduction to Computer Vision CS / ECE 181B Tues, May 18, 2004 Ack: Matthew Turk (slides)
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 20: Monte Carlo Path Tracing Ravi Ramamoorthi Acknowledgements.
Foundations of Computer Graphics (Spring 2010) CS 184, Lecture 21: Radiosity
Paper by Alexander Keller
Computer Graphics (Spring 2008) COMS 4160, Lecture 22: Global Illumination
CSC418 Computer Graphics n Raytracing n Shadows n Global Illumination.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Path Tracing Algorithms K. H. Ko School of Mechatronics Gwangju.
Global Illumination. Direct Illumination vs. Global Illumination reflected, scattered and focused light (not discreet). physical-based light transport.
Presentation by Dr. David Cline Oklahoma State University
02/11/05© 2005 University of Wisconsin Last Time Direct Lighting Light Transport Equation (LTE) Intro.
02/25/05© 2005 University of Wisconsin Last Time Meshing Volume Scattering Radiometry (Adsorption and Emission)
-Global Illumination Techniques
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.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Hybrid Algorithms K. H. Ko School of Mechatronics Gwangju Institute.

Global Illumination: Radiosity, Photon Mapping & Path Tracing Rama Hoetzlein, 2009 Lecture Notes Cornell University.
Real-Time High Quality Rendering
Instant Radiosity Alexander Keller University Kaiserslautern Present by Li-Fong Lin.
On robust Monte Carlo algorithms for multi-pass global illumination Frank Suykens – De Laet 17 September 2002.
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.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Path Tracing Algorithms K. H. Ko School of Mechatronics Gwangju.
Slide 1Lastra, 2/14/2016 Monte-Carlo Methods. Slide 2Lastra, 2/14/2016 Topics Kajiya’s paper –Showed that existing rendering methods are approximations.
University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell Photon Mapping and Irradiance Caching.
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.
Distributed Ray Tracing. Can you get this with ray tracing?
Distributed Ray Tracing. Can you get this with ray tracing?
CS552: Computer Graphics Lecture 33: Illumination and Shading.
Computer graphics III – Path tracing Jaroslav Křivánek, MFF UK
Advanced Computer Graphics
Advanced Computer Graphics
Visualization of Scanned Cave Data with Global Illumination

The Rendering Equation
© 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
Foundations of Computer Graphics (Spring 2012)
A Practical Model for Subsurface Light Transport
Monte Carlo Path Tracing and Caching Illumination
Photon Density Estimation using Multiple Importance Sampling
Presentation transcript:

Photon Tracing with Arbitrary Materials Patrick Yau

Overview Changes in Photon Map Changes in Photon Tracing Changes in Rendering

Caustic Photon Maps Used only to store photons corresponding to caustics. Created by emitting photons towards the specular objects in the scene and storing these as they hit diffuse surfaces. Photons are highly focused into a small area.

Caustic Photon Maps (cont’d) Separate into two photon maps because: –Render caustics is faster because it contains only photons related to caustics –Locating photons in global photon map is faster Fewer photons –Improves accuracy of radiance estimate Photons have energy levels that are more similar. Caustics photons have high density and low energy Normal photons have low density and high energy.

Photon Scattering Specular reflection –Photons that hit specular surfaces are reflected in the mirror direction. –Calculated the same as specularly reflected rays in raytracing. –The power of the photon should be scaled by the reflectivity or the mirror. Unless using Russian Roulette.

Photon Scattering Diffuse reflection –Pick random direction in the hemisphere above the intersection point with a probability proportional to the cosine of the angle with the normal. –Photon map can be used as a heuristic for shadows.

Photon Scattering Arbitrary BRDF Reflection –New photon direction is computed by importance sampling the BRDF. –If importance-sampling function is not available then pick a random direction. –e.g. Ward’s anisotropic model, Lafortune’s reflection model (previous lecture)

Photon Scattering Russian Roulette: –Reflection or Absorption:

Photon Scattering Russian Roulette: –Specular or Diffuse Reflection:

Photon Mapping – Rendering

Photon Mapping: Rendering The Direct Illumination term: –Computed by sending shadow rays towards all light sources to check for visibility –Two ways: approximate or accurate evaluation Accurate: Use the global photon map to identify the fully illuminated or shadow areas in the scene avoiding the trace of shadow rays. Approximate: evaluate the radiance directly from the photon maps. No need for tracing other rays.

Photon Mapping: Rendering Classification of photons in Photon Map

Photon Mapping: Rendering The specular term –Is computed using standard Monte Carlo ray tracing by using importance sampling based on the BRDF.

Photon Mapping: Rendering The caustics term: –The radiance is estimated based on the caustics photon map. –It is visualized directly and this is the reason why the number of photons in the caustics photon map must be high.

Photon Mapping: Rendering The soft indirect illumination term –The approximate evaluation of this integral is the radiance estimate based on the global photon map. –In the accurate evaluation we use importance sampling to compute the indirect illumination (combined with the diffuse BRDF part)

Photon Mapping: Rendering Estimating Radiance using the Photon Map (for caustics and soft indirect illumination) –The information in the photon map can be used to compute the radiance leaving a surface in a given direction. Since the incoming direction is stored with each photon we can integrate the information with any BRDF. –To compute the radiance, L r, leaving an intersection point x at a surface BRDF f r we locate the N photons with the shortest distance to x. –Based on the assumption that each photon p represented by ∆Φ p X arriving at X from direction Ψ i,p we get:

Photon Mapping: Rendering *Code taken from Taylor’s lecture. Estimating Radiance –1. radiance_estimate(x,v,n) { –2. locate k nearest photons –3. r = distance to kth nearest photon –4. flux = 0 –5. for each photon p { –6. pd = direction of p –7. phi = power of p –8. flux += brdf(x, v, pd)*phi; –9. } –10. return flux/(2*pi*r^2) –11. }

Final Result:

Another example + = Direct Illumination Indirect Illumination + Specular Part =

Another example (cont’d) + = Caustics

References Henrik Wann Jensen: “Realistic Image Synthesis using Photon Maps”. Henrik Wann Jensen: “Global Illumination using Photon Maps”. Henrik Wann Jensen: “Rendering Caustics on Non Lambertian Surfaces”. Michael Kaiser and Christian Finger: “Caustics Generation by using Photon Mapping”