Efficient Caustic Rendering with Lightweight Photon Mapping

Similar documents
Choosing the Right Algorithm & Guiding

CS 563 Advanced Topics in Computer Graphics Irradiance Caching and Particle Tracing. by Stephen Kazmierczak

Global Illumination. COMP 575/770 Spring 2013

Virtual Spherical Lights for Many-Light Rendering of Glossy Scenes

SOME THEORY BEHIND REAL-TIME RENDERING

Photon Maps. The photon map stores the lighting information on points or photons in 3D space ( on /near 2D surfaces)

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

Participating Media. Part I: participating media in general. Oskar Elek MFF UK Prague

Realistic Image Synthesis

Metropolis Light Transport

REAL-TIME GPU PHOTON MAPPING. 1. Introduction

I present Adjoint-Driven Russian Roulette and Splitting for efficient light transport simulation which is a part of my PhD.

Part I The Basic Algorithm. Principles of Photon Mapping. A two-pass global illumination method Pass I Computing the photon map

Monte Carlo Integration of The Rendering Equation. Computer Graphics CMU /15-662, Spring 2017

Motivation: Monte Carlo Path Tracing. Sampling and Reconstruction of Visual Appearance. Monte Carlo Path Tracing. Monte Carlo Path Tracing

Lecture 18: Primer on Ray Tracing Techniques

Bi-Directional Polarised Light Transport

Assignment 3: Path tracing

rendering equation camera all

COMBINING VOLUMETRIC ESTIMATORS

Lecture 12: Photon Mapping. Biased Methods

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

GAMES Webinar: Rendering Tutorial 2. Monte Carlo Methods. Shuang Zhao

The Rendering Equation. Computer Graphics CMU /15-662, Fall 2016

In this part, I will mostly talk about the vertex merging technique (a.k.a. kernel estimation).

Representativity for Robust and Adaptive Multiple Importance Sampling

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

Biased Monte Carlo Ray Tracing

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

Motivation. Monte Carlo Path Tracing. Monte Carlo Path Tracing. Monte Carlo Path Tracing. Monte Carlo Path Tracing

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

Scalable many-light methods

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

Biased Monte Carlo Ray Tracing:

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

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

Mixing Monte Carlo and Progressive Rendering for Improved Global Illumination

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

RTfact. Concepts for Generic Ray Tracing. Iliyan Georgiev. Computer Graphics Group Saarland University Saarbrücken, Germany

Computer Graphics Ray Casting. Matthias Teschner

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

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Shading Models. Welcome!

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

- Volume Rendering -

- Volume Rendering -

Photon Mapping. Kadi Bouatouch IRISA

Computer Graphics. Lecture 13. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura

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

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

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

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

INFOMAGR Advanced Graphics. Jacco Bikker - February April Welcome!

SAMPLING AND NOISE. Increasing the number of samples per pixel gives an anti-aliased image which better represents the actual scene.

Towards Interactive Global Illumination Effects via Sequential Monte Carlo Adaptation. Carson Brownlee Peter S. Shirley Steven G.

rendering equation computer graphics rendering equation 2009 fabio pellacini 1

Lecture 7 - Path Tracing

THEA RENDER ADAPTIVE BSD ENGINE

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

The Rendering Equation & Monte Carlo Ray Tracing

Lecture 7: Monte Carlo Rendering. MC Advantages

Mental Ray for BK5100

Computer Graphics. - Introduction to Ray Tracing - Philipp Slusallek

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

Realistic Image Synthesis

Improved Radiance Gradient Computation

In the real world, light sources emit light particles, which travel in space, reflect at objects or scatter in volumetric media (potentially multiple

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

Computer Graphics. Lecture 10. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura 12/03/15

Physically Realistic Ray Tracing

Distribution Ray Tracing. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell

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

Monte Carlo Ray-tracing and Rendering

Reading. 8. Distribution Ray Tracing. Required: Watt, sections 10.6,14.8. Further reading:

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

Photon Mapping. Photon Mapping. Why Map Photons? Sources. What is a Photon? Refrac=on of a Caus=c. Jan Kautz

A Comparison of Global Illumination Methods Using Perceptual Quality Metrics

Global Illumination with Glossy Surfaces

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

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

COMPUTER GRAPHICS COURSE. LuxRender. Light Transport Foundations

Path differentials and applications

The Rendering Equation. Computer Graphics CMU /15-662

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

CS354R: Computer Game Technology

Adjoint-Driven Russian Roulette and Splitting in Light Transport Simulation

The Rendering Equation and Path Tracing

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

Ray-Tracing. Misha Kazhdan

OpenGl Pipeline. triangles, lines, points, images. Per-vertex ops. Primitive assembly. Texturing. Rasterization. Per-fragment ops.

Illumination & Shading: Part 1

A NEW APPROACH OF DENSITY ESTIMATION FOR GLOBAL ILLUMINATION

Digital Reality: Using Trained Models of Reality to Synthesize Data for the Training & Validating Autonomous Systems Philipp Slusallek

13 Distribution Ray Tracing

Distributed Ray Tracing

Photo-realistic Renderings for Machines Seong-heum Kim

Recent Advances in Monte Carlo Offline Rendering

Practical Path Guiding for Efficient Light-Transport Simulation

Radiosity. Johns Hopkins Department of Computer Science Course : Rendering Techniques, Professor: Jonathan Cohen

Reduced Aggregate Scattering Operators

Optimal Strategy for Connecting Light Paths in Bidirectional Methods for Global Illumination Computation

Transcription:

Efficient Caustic Rendering with Lightweight Photon Mapping Pascal Grittmann 1,3 Arsène Pérard-Gayot 1 Philipp Slusallek 1,2 Jaroslav Kr ivánek 3,4 1 Saarland University 2 DFKI Saarbrücken 3 Charles University, Prague 4 Render Legion

The Idea Behind Guiding Importance sampling of the L i /W i term (path tracing / particle tracing) Combine with importance sampling of the BSDF Ideally results in perfect importance sampling of the entire Light Transport Equation (LTE)! How to importance sample L i? Many approaches Usually store a representation of L i at some point in the scene and interpolate them Methods differ in what representations they choose and how they obtain them 2

Reduces Variance (plotted with low pass filter) P. Grittmann et al. Lightweight Photon Mapping 3

Photon Mapping Already Does Guiding [Jen96] Heuristic classification of materials as glossy Projection of caustic-casters Caustic map glossy glossy diffuse P. Grittmann et al. Lightweight Photon Mapping 4

Path Guiding Using the Photon Map One of the first approaches to guide Uses nearby photons to construct a histogram of incident radiance Samples a cell of this histogram and a direction within the cell (uniformly) Histogram is a grid, each cell maps to a part of the hemisphere 0 0 0 0 0 2 0 0 0 0 4 0 The red photon has a luminance of 2 The blue one a luminance of 4 0 0 0 0 5

Gaussian Mixture Models Vorba et al. 2014 Fits mixtures of gaussians to the incident radiance/importance at a set of points in the scene Project hemisphere onto plane, incident directions as bivariate Gaussians over that plane Gaussians are easy to sample and easy to update Long training pass before actual rendering (~15-30 min)

Vorba GMM Training Phase 7

Guide Photons According to Visual Importance [PP98] [VKS*14] [SOHK16] Using importance sampling or MCMC Example Scene Visual importance P. Grittmann et al. Lightweight Photon Mapping 8

Our Method Guide emission based on visual importance Limit to paths with high variance form the path tracer Example Scene Visual importance of all photons Our Method: only useful photons P. Grittmann et al. Lightweight Photon Mapping 9

Our Method Relies Only on Path Probabilities No (implicit) material classification Accounts for the (relative) size of the light source P. Grittmann et al. Lightweight Photon Mapping 10

The Lightweight Photon Mapping Algorithm Based on VCM / UPS [GKDS12] [HPJ12] Goal: More efficient solution for large scenes with a few small caustics MIS Combination of Light Tracer Photon Mapper Path Tracer P. Grittmann et al. Lightweight Photon Mapping 11

Motivation / Idea Existing methods: Try to be unbiased for all estimators Looses main advantage of MIS! Why not ignore estimators that we know will contribute little? A la maximum heuristics or alpha-max heuristics but only where necessary f(x) p 1 (x) p 2 (x) Can restricting costly estimators to regions of high variance result in more efficient combined algorithms? P. Grittmann et al. Lightweight Photon Mapping 12

The Notion of Useful Photons N min p PM y πr 2 p PT (y y k ) > 1 The photon mapper can reach a point within r with higher probability than the path tracer, using only N min light paths y k 2 r y 0 yk 1 y k P. Grittmann et al. Lightweight Photon Mapping 13

How Many Photons Should We Trace? - One Per Pixel Influenced by Caustics VCM: One light path per pixel With guiding: Fewer light paths are needed! I = I PM + I LT + I PT I PM + I LT I PM + I LT I PM + I LT + I PT > 1% Rendered Image PM / LT Contribution (exposure +5) Pixel Classification P. Grittmann et al. Lightweight Photon Mapping 14

Is that Number of Light Paths Optimal? ar 2 0. 0.2 0. 2 0 time (seconds) 0 Ours (0.3 ) Optimal for large scenes with small Caustics P. Grittmann et al. Lightweight Photon Mapping 15

Is that Number of Light Paths Optimal? till i e 2 0. 0.2 0. 2 0 time (seconds) 0 Ours (0.7) Complex SDS paths require more samples from the path tracer P. Grittmann et al. Lightweight Photon Mapping 16

Is that Number of Light Paths Optimal? or s 0. 0.2 0. 2 0 time (seconds) 0 Ours (0. 3) For scenes that are trivial except for the caustics, a higher number would be more efficient P. Grittmann et al. Lightweight Photon Mapping 17

Results Impact of the Full Method with Our Test Scenes P. Grittmann et al. Lightweight Photon Mapping 8

Photon Densities in the Cornell Box Variations Reference Photon density Guiding with all Photons Photon density Our P. Grittmann et al. Lightweight Photon Mapping 19

Photon Densities in the Cornell Box Variations Reference Photon density Guiding with all Photons Photon density Our P. Grittmann et al. Lightweight Photon Mapping 20

Photon Densities in the Cornell Box Variations Reference Photon density Guiding with all Photons Photon density Our P. Grittmann et al. Lightweight Photon Mapping 21

Photon Densities in the Cornell Box Variations Reference Photon density Guiding with all Photons Photon density Our P. Grittmann et al. Lightweight Photon Mapping 22

The Torus Simple Example, Directional Light Path tracer (delta light) Unguided Our Result identical to existing guiding approaches. P. Grittmann et al. Lightweight Photon Mapping 23

Car Scene Large Exterior Scene, Small Caustics Equal-time comparison (60 seconds) 0 RMSE 0 2 2 Unguided Importance Ours Reference Unguided Importance Ours 0 0 0 Time (seconds) P. Grittmann et al. Lightweight Photon Mapping 24

RMSE 0 2 Car Scene Large Exterior Scene, Small Caustics Equal-time comparison (60 seconds) 2 Unguided Importance Ours Reference Unguided Importance Ours 0 0 Time (seconds) P. Grittmann et al. Lightweight Photon Mapping 25

P. Grittmann et al. Lightweight Photon Mapping

P. Grittmann et al. Lightweight Photon Mapping

P. Grittmann et al. Lightweight Photon Mapping

Limitations Only for caustic-casters directly in front of the light source Resorts to path tracing for (diffuse) indirect illumination P. Grittmann et al. Lightweight Photon Mapping 2

Efficient Caustic Rendering with Lightweight Photon Mapping Pascal Grittmann Arsène Pérard-Gayot Philipp Slusallek Jaroslav Kr ivánek y k 2 r y 0 yk 1 y k Reference PM / LT contribution Our pixel classification Restrict costly estimators to a subset of the domain More efficient MIS combination Unguided Importance Ours Reference Reference Importance driven Our 30