Ongoing Developments in Photon Mapping

Similar documents
Introduction to Photon Mapping RADIANCE Workshop 2010 Course Advanced Fenestration

NAME mkpmap - generate RADIANCE photon map. SYNOPSIS mkpmap apg apc apv apd app apc file nphotons [bwidth]... [options] octree

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

Lecture 12: Photon Mapping. Biased Methods

Development and Integration of the. Technical Report

Development and Integration of the. Technical Report

Biased Monte Carlo Ray Tracing:

Biased Monte Carlo Ray Tracing

Daysim and Photonmapping Jan Wienold

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

The Rendering Equation and Path Tracing

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

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

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

Recent Advances in Monte Carlo Offline Rendering

The RADIANCE Photon Map Manual

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

Comparing BSDF data from a real and a virtual goniophotometer

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

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

Photon Mapping. Michael Doggett Department of Computer Science Lund university

Mixing Monte Carlo and Progressive Rendering for Improved Global Illumination

Global Illumination. COMP 575/770 Spring 2013

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

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

EvalDRC: a new, versatile frontend for climate-based daylight assessment with Contribution Photon Mapping

Choosing the Right Algorithm & Guiding

Low Memory Spectral Photon Mapping

Virtual Spherical Lights for Many-Light Rendering of Glossy Scenes

Metropolis Light Transport

Global Illumination with Photon Map Compensation

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

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

The Rendering Equation. Computer Graphics CMU /15-662

The Bidirectional Scattering Distribution Function as a First-class Citizen in Radiance. Greg Ward, Anyhere Software

CHARACTERISATION AND MODELLING OF ADVANCED DAYLIGHT REDIRECTION SYSTEMS WITH DIFFERENT GONIOPHOTOMETERS

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

Lecture 7 - Path Tracing

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

Lighting Simulations: A Parametric Perspective. Sarith Subramaniam

Quasi-Monte Carlo Progressive Photon Mapping

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

Probabilistic PPM. Claude Knaus Matthias Zwicker University of Bern. State of the Art in Photon Density Estimation

Variance Reduction. Computer Graphics CMU /15-662, Fall 2016

11/2/2010. In the last lecture. Monte-Carlo Ray Tracing : Path Tracing. Today. Shadow ray towards the light at each vertex. Path Tracing : algorithm

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

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

Korrigeringar: An introduction to Global Illumination. Global Illumination. Examples of light transport notation light

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

Progressive photon mapping can be interpreted as an estimator that constructs the full paths from camera to light by constantly connecting two fresh

Lecture 18: Primer on Ray Tracing Techniques

The Rendering Equation & Monte Carlo Ray Tracing

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

Illumination Algorithms

An out-of-core photon mapping approach to daylight coefficients

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

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

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

Bidirectional Lightcuts

Photon Differentials

Efficient Simulation of Light Transport in Scenes with Participating Media using Photon Maps

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

Variance reduction using interframe coherence for animated scenes

A NEW APPROACH OF DENSITY ESTIMATION FOR GLOBAL ILLUMINATION

Improved Illumination Estimation for Photon Maps in Architectural Scenes

Progressive Photon Mapping: A Probabilistic Approach

Irradiance Gradients. Media & Occlusions

Calculating and Applying BSDFs in Radiance. Greg Ward Anyhere Software

Climate based daylight simulations with EvalDRC analysis of Daylight Redirecting Components

NAME rtrace - trace rays in RADIANCE scene. SYNOPSIS rtrace [ options ][$EVAR ] octree rtrace [ options ] defaults

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

Stochastic Path Tracing and Image-based lighting

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

Path differentials and applications

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

Interactive Methods in Scientific Visualization

THEA RENDER ADAPTIVE BSD ENGINE

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

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

rendering equation camera all

Complex Materials Models in Radiance: Grand Challenges in Cultural Heritage Visualization

Monte Carlo Path Tracing. The Rendering Equation

Sequential Monte Carlo Adaptation in Low-Anisotropy Participating Media. Vincent Pegoraro Ingo Wald Steven G. Parker

The V-Ray installer will automatically remove any previous installations. This will allow you to seamlessly upgrade from previous versions.

Photon Mapping. Kadi Bouatouch IRISA

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

CSCI 4972/6963 Advanced Computer Graphics Quiz 2 Tuesday April 17, 2007 noon-1:30pm

Daysim 3.0 DDS, New Validation Study

Reduced Aggregate Scattering Operators

A Survey of Radiosity and Ray-tracing. Methods in Global Illumination

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

REAL-TIME GPU PHOTON MAPPING. 1. Introduction

Interactive Rendering of Globally Illuminated Glossy Scenes

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

Stochastic Progressive Photon Mapping

Importance Sampling of Area Lights in Participating Media

Paths, diffuse interreflections, caching and radiometry. D.A. Forsyth

Evaluating solar irradiance on urban sites by superimposing Radiance pictures

Advanced Graphics. Global Illumination. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd

Global Illumination using Photon Maps

Transcription:

Ongoing Developments in Photon Mapping Roland Schregle, Stephen Wittkopf Competence Centre Envelopes and Solar Energy (CC-EASE) 13th International RADIANCE Workshop 2014 London, UK

Outline 1. Introduction and motivation 2. RADIANCE Photon Map 3. What's new 4. What's old (current limitations) 5. Conclusion and ToDo 2, 2/09/14

Introduction: Caustics in Daylight Redirection Daylight redirecting systems exhibit specular reflection caustics Retroreflecting lamella patented by Helmut Köster 3, 2/09/14

Forward vs. Backward Raytracing View (Diffuse Specular)+ Light??? Which sampling direction lies within specular lobe? 4, 2/09/14

Forward vs. Backward Raytracing Backward raytracing with RADIANCE noisy caustics 5, 2/09/14

Forward Pass Supplement RADIANCE with forward pass: Light (Diffuse Specular) + View Store indirect hitpoints and ray flux 6, 2/09/14

Backward Pass Couple to RADIANCE's backward pass: Light (Diffuse Specular)+ View Look up nearby hitpoints and evaluate irradiance 7, 2/09/14

Backward Pass Forward + backward = bidirectional raytracer! 8, 2/09/14

Backward Pass: Density Estimate Irradiance E(x,n) at point x proportional to density of n nearest photons E ( x, n) in k ( x x i ) Φi x i : photon position Φ i : photon flux [W ] k :normalised filter Number of nearest photons n characterises the density estimate bandwidth 9, 2/09/14 x

RADIANCE Photon Map Photon distribution after forward pass (250k photons) 10, 2/09/14

RADIANCE Photon Map Final rendering after backward pass (250k photons) 11, 2/09/14

Photon Map (l) vs. RADIANCE Classic (r) 12, 2/09/14

Bias vs. Noise Inherent tradeoff between noise and bias (blurring) in density estimate Bandwidth = 20 photons noisy 13, 2/09/14 Bandwidth = 2000 photons biased

RADIANCE Photon Map Originally developed at Fraunhofer ISE 1999-2001 (FARESYS project), current development at HSLU since 2013 (DRC project) Monte Carlo simulation of light particle transport [Wann Jensen 1995] Photometrically validated [Schregle and Wienold 2004] Forward pass (mkpmap) emits photons at light sources stores hitpoints on diffuse surfaces scatters photons based on BSDF or absorbs probabilistically based on albedo (Russian Roulette) Backward pass (rpict/rtrace/rvu) Irradiance estimated from density of photons in the vicinity of hitpoint 14, 2/09/14

What's new in Photon Map 4.2? (The short version) 15, 2/09/14

What's new in Photon Map 4.2? BSDF support measured materials Progressive photon mapping user friendlier, larger pmaps, less noise Support for light source contributions climate based simulation Low discrepancy sampling reduced noise, faster convergence Out of core photon map load on demand, reduced memory footprint Integration into official RADIANCE 4.2 no more patches (woohoo!) 16, 2/09/14

What's new: BSDF Support Scattering from measured BSDF of prismatic film RADIANCE Classic 17, 2/09/14 Photon Map

What's new: Progressive Photon Mapping Iterative process with preview of progressive refinement [Hachisuka 2008] Accumulates density estimates from multiple photon maps noise reduction Reduces bandwidth at each iteration bias reduction Simplified parametrisation for non-expert users (photon map size not fixed a priori) 18, 2/09/14

What's new: Progressive Photon Mapping n accumulated density estimates ρ1 ρn density estimate from combined pmap Decreasing bandwidths r1 > r2 > > rn Decomposition into n smaller photon maps relaxes memory constraints Iterations are independent and can be executed in parallel [Knaus & Zwicker, 2011] ρ1 (r 1 ) n ρ(r ) i=1 19, 2/09/14 ρi (r i ) =ρ n n ρ2 (r 2 ) ρn (rn )

What's new: Progressive Photon Mapping Implemented as Perl script + Perl Data Language (PDL) for matrix ops + obscure modules from CPAN :^( Image based approach; iterations run as parallel instances of mkpmap followed by rpict. Termination criteria: Error threshold Max number of iterations Manual override Saves final accumulated image optionally partial results every n iterations Cannot reuse partial photon maps Currently only proof of concept 20, 2/09/14

What's new: Progressive Photon Mapping 21, 2/09/14

What's new: Light Source Contributions Photon map accounts for separate contributions from light sources in combined annual simulation climate based daylight sim via rcontrib 365 sun positions at reference room ceiling using rcontrib 22, 2/09/14

What's new: Low Discrepancy Sampling Low discrepancy sequences cover sampling space more uniformly than pseudorandom numbers less clustering and noise 23, 2/09/14

What's new: Low Discrepancy Sampling Low discrepancy sequences cover sampling space more uniformly than pseudorandom numbers faster convergence Monte Carlo integration using low discrepancy sampling (Quasi-Monte-Carlo) vs. reference solution 24, 2/09/14

What's new: Low Discrepancy Sampling Initial results: improved low frequency caustic Pseudo-Random 25, 2/09/14 Low Discrepancy (Halton)

What's new: Low Discrepancy Sampling Pitfall: correlation can lead to visible artefacts in high frequency caustics! 26, 2/09/14

What's new: Out of Core Photon Map Allows huge photon maps which exceed RAM capacity Loads from disk on demand only visible photons in memory Replaces kd-tree with sparse octree, built bottom-up via Hilbert indexing Ze Plan Greg Ward, 2014 Pencil on paper HSLU archives 27, 2/09/14

What's new: Integration with RADIANCE 4.2 Photon map part of official RADIANCE distribution no more patches Output files now comply with RADIANCE file format, photon map statistics in cleartext header pmapinfo deprecated Isolation of photon map specific code from major RADIANCE components (ambient, direct, option parsing ) via subroutines easier maintenance Double counting of paths already accounted for by photon map during backward pass currently material specific needs more general solution Standard RADIANCE functionality preserved without pmap options Coordination of responsibility and code maintenance 28, 2/09/14

What's old: Lingering Limitations Measurement points must still reside on receptor surfaces Clunky photon port workaround for distant light sources still requires user intervention No optimal solution to bias/noise tradeoff (inbuilt bias compensation incoherent and slow) Still no inbuilt parallelism or shared memory Photon lookups still not optimised for caching 29, 2/09/14

Conclusion and ToDo Measured materials now supported via BSDF needs thorough testing Progressive photon mapping simplifies use needs reimplementation Integration into RADIANCE 4.2 distrib testing & coordination with Greg Ongoing developments as part of DRC project at CC EASE Climate based daylight simulation needs (lots of) debugging Low discrepancy sampling by intern Out of core photon map partially implemented Update documentation! Beta testers? 30, 2/09/14

Thank you for your attention! Contact: roland.schregle@hslu.ch Tel: +41 41 349 3626 Supported by the Swiss National Science Foundation 31, 2/09/14