Chunhui Yao 1 Bin Wang 1 Bin Chan 2 Junhai Yong 1 Jean-Claude Paul 3,1 1 Tsinghua University, China 2 The University of Hong Kong, China 3 INRIA, France.

Slides:



Advertisements
Similar presentations
Computer graphics & visualization. Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Our GPU Photon Tracing Pipeline.
Advertisements

Exploration of advanced lighting and shading techniques
Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
Computer graphics & visualization Global Illumination Effects.
Zhao Dong 1, Jan Kautz 2, Christian Theobalt 3 Hans-Peter Seidel 1 Interactive Global Illumination Using Implicit Visibility 1 MPI Informatik Germany 2.
Many-light methods – Clamping & compensation
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.
Paper Presentation - An Efficient GPU-based Approach for Interactive Global Illumination- Rui Wang, Rui Wang, Kun Zhou, Minghao Pan, Hujun Bao Presenter.
Real-Time Rendering Paper Presentation Imperfect Shadow Maps for Efficient Computation of Indirect Illumination T. Ritschel T. Grosch M. H. Kim H.-P. Seidel.
Rasterization and Ray Tracing in Real-Time Applications (Games) Andrew Graff.
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.
Photon Tracing with Arbitrary Materials Patrick Yau.
Shadow Silhouette Maps Pradeep Sen, Mike Cammarano, Pat Hanrahan Stanford University.
3D Graphics Processor Architecture Victor Moya. PhD Project Research on architecture improvements for future Graphic Processor Units (GPUs). Research.
Final Gathering on GPU Toshiya Hachisuka University of Tokyo Introduction Producing global illumination image without any noise.
Parallelizing Raytracing Gillian Smith CMPE 220 February 19 th, 2008.
Everything on Global Illumination Xavier Granier - IMAGER/UBC.
Global Illumination May 7, Global Effects translucent surface shadow multiple reflection.
GPUGI: Global Illumination Effects on the GPU
Matrix Row-Column Sampling for the Many-Light Problem Miloš Hašan (Cornell University) Fabio Pellacini (Dartmouth College) Kavita Bala (Cornell University)
1 7M836 Animation & Rendering Global illumination, ray tracing Arjan Kok
Paper by Alexander Keller
Real-Time Diffuse Global Illumination Using Radiance Hints HPG2011 Georgios (George) Papaioannou Dept. of Computer Science Athens University of Economics.
Voxelized Shadow Volumes Chris Wyman Department of Computer Science University of Iowa High Performance Graphics 2011.
Ray Tracing and Photon Mapping on GPUs Tim PurcellStanford / NVIDIA.
1 Single Scattering in Refractive Media with Triangle Mesh Boundaries Bruce Walter Shuang Zhao Nicolas Holzschuch Kavita Bala Cornell Univ. Grenoble Univ.
Interactive Virtual Relighting and Remodelling of Real Scenes C. Loscos 1, MC. Frasson 1,2,G. Drettakis 1, B. Walter 1, X. Granier 1, P. Poulin 2 (1) iMAGIS*
Jonathan M Chye Technical Supervisor : Mr Matthew Bett 2010.
-Global Illumination Techniques
Project Raytracing. Content Goals Idea of Raytracing Ray Casting – Therory – Practice Raytracing – Theory – Light model – Practice Output images Conclusion.
09/11/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Graphics Pipeline Texturing Overview Cubic Environment Mapping.
CS447/ Realistic Rendering -- Radiosity Methods-- Introduction to 2D and 3D Computer Graphics.
Week 6 - Wednesday.  What did we talk about last time?  Light  Material  Sensors.
Week 10 - Wednesday.  What did we talk about last time?  Shadow volumes and shadow mapping  Ambient occlusion.
Computer graphics & visualization Photon Mapping.
Global Illumination with a Virtual Light Field Mel Slater Jesper Mortensen Pankaj Khanna Insu Yu Dept of Computer Science University College London
Improved VPL Distribution Jaroslav Křivánek Charles University in Prague (Optimizing) Realistic Rendering with Many-Light Methods (part of the “Handling.
Real-time Shading with Filtered Importance Sampling Jaroslav Křivánek Czech Technical University in Prague Mark Colbert University of Central Florida.
1 Photon-driven Irradiance Cache J. BrouillatP. GautronK. Bouatouch INRIA RennesUniversity of Rennes1.
1 Implicit Visibility and Antiradiance for Interactive Global Illumination Carsten Dachsbacher 1, Marc Stamminger 2, George Drettakis 1, Frédo Durand 3.
Real-time Indirect Lighting Using Clustering Visibility Zhao, Tobias, Thorsten, Jan* *University College London.

Introduction to Radiosity Geometry Group Discussion Session Jiajian (John) Chen 9/10/2007.
Image-Based Rendering of Diffuse, Specular and Glossy Surfaces from a Single Image Samuel Boivin and André Gagalowicz MIRAGES Project.
Radiosity Jian Huang, CS594, Fall 2002 This set of slides reference the text book and slides used at Ohio State.
Real-Time High Quality Rendering CSE 291 [Winter 2015], Lecture 2 Graphics Hardware Pipeline, Reflection and Rendering Equations, Taxonomy of Methods
- Laboratoire d'InfoRmatique en Image et Systèmes d'information
Differential Instant Radiosity for Mixed Reality Martin Knecht, Christoph Traxler, Oliver Mattausch, Werner Purgathofer, Michael Wimmer Institute of Computer.
Global Illumination. Local Illumination  the GPU pipeline is designed for local illumination  only the surface data at the visible point is needed to.
On robust Monte Carlo algorithms for multi-pass global illumination Frank Suykens – De Laet 17 September 2002.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Hybrid Algorithms K. H. Ko School of Mechatronics Gwangju Institute.
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.
Thank you for the introduction
Real-Time Dynamic Shadow Algorithms Evan Closson CSE 528.
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.
Caustics Triangles on the GPU Umenhoffer Tamás Gustavo Patow Szirmay-Kalos László.
Radiance Cache Splatting: A GPU-Friendly Global Illumination Algorithm P. Gautron J. Křivánek K. Bouatouch S. Pattanaik.
Global Illumination (3) Path Tracing. Overview Light Transport Notation Path Tracing Photon Mapping.
Light Animation with Precomputed Light Paths on the GPU László Szécsi, TU Budapest László Szirmay-Kalos, TU Budapest Mateu Sbert, U of Girona.
Precomputation aided GI on the GPU László Szirmay-Kalos.
Reconstruction For Rendering distribution Effect
Incremental Instant Radiosity for Real-Time Indirect Illumination
Real-time Volumetric Lighting in Participating Media
Efficient Importance Sampling Techniques for the Photon Map
Real-time Global Illumination with precomputed probe
Photon Density Estimation using Multiple Importance Sampling
Presentation transcript:

Chunhui Yao 1 Bin Wang 1 Bin Chan 2 Junhai Yong 1 Jean-Claude Paul 3,1 1 Tsinghua University, China 2 The University of Hong Kong, China 3 INRIA, France 1

Motivation Global IlluminationInteractiveof Dynamic Scenes Multi-bounces on both low and high frequency surfaces with occlusion Fast enough to response user’s actions immediately No pre-computation, everything (camera, light, geometry) completely dynamic Easy to implement on conventional hardware diffuse glossy specular A Simple, Practical Technique for 2

Previous Work  Interactive GI for dynamic scenes  VPL, Instant Radiosity  [Keller 97]  Low frequency reflection  Visibility is expensive  SSAO,SSDO  Simple and fast  Approximate, not physics based  Photon mapping  Handle all frequency with visibility  Require spatial index structure  Pre-computed on CPU [McGuire 09], or  Complicated implementation on GPU [Wang 09] 3

Photon Mapping  Traditional photon mapping  Off-line rendering  Seconds / minutes for rendering  Two stages  Photon tracing  Radiance reconstruction 4 Photon splatting on GPU [Sturzlinger 97] [Lavignotte 03] [Herzog 07] [McGuire 09] We focus on this

Previous Works  Image space photon tracing  Caustic mapping  [Wyman 06] [Hu 07] [Shah 07] [Wyman 08]  Use single image for specular reflections  Caustic photon rays  Easy to be predicted  Contain in a single image  Global photon rays  More complex  May start and arrive at any position of the scene 5

Image Space Photon Tracing Image SpaceObject Space Pros. Building representation FastSlow ImplementationSimpleComplicated Searching timeConstant Depend on geometry complexity Cons. AccuracyApproximateAccurate ApplicabilityLimitedAll cases 6

Why Image Space?  Consider the disadvantages  Approximate result  Photon mapping only care about the density of points  Represent geometry by images  Use multiple environment maps  Select centers to cover most surfaces 7 Our main contribution

Existing Methods  Image space ray tracing  For specular reflection  [Szirmay-Kalos et al. 2005]  For caustic photon tracing.  Caustic mapping  Basic idea  Store geometry information in depth maps  Implicit equation of the surface  Points along the ray  Solve equation 8

Problems with Single Image  Problem 1 : Required point is not stored in the rendered image 9 Viewpoint A B Ray

Problems with Single Image  Problem 1 : Uncovered area will always be dark 10 IlluminationPhotons

Problems with Single Image  Problem 2 : obtained result may be not the first intersection along the ray 11 Viewpoint A B Ray

Problems with Single Image  Problem 2 : Light leaking 12 IlluminationPhotons

Multiple Environment Maps 13 Single environment map Scene Add more environment maps

How to Select Images?  Simplest idea  Choose them randomly  Coverage not guaranteed  Our idea  First sample large number of points randomly  Then choose some for largest coverage  This is a NP-hard problem  Equivalent to set-covering problem  Find smallest k sets covering all elements  Classical NP-hard problem 14

Heuristic Selection  Selecting k points with greedy algorithm  Mark all points unselected  For all unselected points, compute its new coverage area  The area covered by the point but not covered by any selected point  Mark the point v with maximum new coverage area selected  Repeat for k times 15

New Coverage Area 16 selected unselected Shadow New coverage area

Computing Area  Shadow generated by shadow mapping  Env. map from current point  Compute the area  In image space  Sum up areas of all shadowed pixels  Low resolution for performance  32x32x6  Only used for comparison 17

Coverage  Red pixels indicate uncovered area 18 8 selected from 27 random maps 8 random maps

Finding Intersection  Test with each environment map  Several results  Four possible types 19 A D B C Ray Infinity The correct intersection No intersection Not in the ray Not first intersection

Finding Intersection  Reject A immediately  Reject B by angle bias  Find the nearest point to the ray origin  Implemented as depth testing of rasterization 20 A D B C Ray Infinity

Rendering  Scatter illumination onto screen  Photon splatting 21

Variable splat sizes  Control by probability for variable splat sizes 22 Fixed splat sizes Variable splat sizes

Multi-Level Upsampling 23  Reduce fill-rate No upsampling 3FPS3-level upsampling 24 FPS8 x Error

Result 24

Result: Glossy 25 DiffusePhong, n=30Phong, n=100

Result: Caustics 26

Ground Truth Comparison 27 Ours: 47 msPath tracing: 48min Indirect shadows Both 512 x 512

Ground Truth Comparison 28 Photon Mapping: 5 min Caustics Both 512 x 512 Ours: 26 ms

Ground Truth Comparison 29 Ours: 77 msPath tracing: 137 min Both 512 x 512

Performance 30 SceneTriangles Global Photons Caustic Photons FPS Box115K376K011.4 Water21K91K89K12.8 Room184K403K2.9K5.4 Sibenik79K739K05.5 Box258K464K09.2 Room2101K368K07.5 Ring2.1K0164K28.2 Under Water54K536K822K6.3 On NVIDIA Geforce X 1024 with environment 512 x 512 x 6 Principle : High quality first

Performance/Quality k 11 FPS78k 40 FPS 800 X 800 Boundary bias Indirect shadow Similar to [McGuire 09]

Limitation : Bias 32 Blurry shadow Light leaking Dark area Ours: 77 msPath tracing: 137 min

Limitation: Reflection 33 Photon Mapping: 5 minOurs: 26 ms

Video 34

Video 35

Conclusions  A new method for interactive global illumination based on photon mapping  Both steps are in image-space, entirely on GPU  No pre-computation  Easy implementation with shaders  Future improvement  Performance  Selective photon tracing  Quality  GPU final gathering 36

Thank you for your attention 37