Photon Mapping. How did I use it 10 years ago? Why might you want to use it tomorrow?

Slides:



Advertisements
Similar presentations
The Radiance Equation.
Advertisements

GR2 Advanced Computer Graphics AGR
Exploration of advanced lighting and shading techniques
Parallax-Interpolated Shadow Map Occlusion
Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
Computer graphics & visualization Global Illumination Effects.
SE 313 – Computer Graphics Lecture 12: Lighting and Materials Lecturer: Gazihan Alankuş 1.
Zhao Dong 1, Jan Kautz 2, Christian Theobalt 3 Hans-Peter Seidel 1 Interactive Global Illumination Using Implicit Visibility 1 MPI Informatik Germany 2.
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.
Week 10 - Monday.  What did we talk about last time?  Global illumination  Shadows  Projection shadows  Soft shadows.
3D Graphics Rendering and Terrain Modeling
The Radiance Equation Mel Slater. Outline Introduction Light Simplifying Assumptions Radiance Reflectance The Radiance Equation Traditional Rendering.
Ray Tracing & Radiosity Dr. Amy H. Zhang. Outline  Ray tracing  Radiosity.
 Engineering Graphics & Introductory Design 3D Graphics and Rendering REU Modeling Course – June 13 th 2014.
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.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2008 Alla Sheffer Advanced Rendering Week.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Photon Tracing with Arbitrary Materials Patrick Yau.
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.
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.
Everything on Global Illumination Xavier Granier - IMAGER/UBC.
1 7M836 Animation & Rendering Global illumination, ray tracing Arjan Kok
The Radiosity Method Donald Fong February 10, 2004.
Paper by Alexander Keller
CSCE 641 Computer Graphics: Radiosity Jinxiang Chai.
Introduction | Crepuscular rays and Caustics Caustics are high intensity highlights due to convergence of light via different paths Crepuscular rays (godrays)
Presentation of LR2V Kadi Bouatouch IRISA
CSC418 Computer Graphics n Raytracing n Shadows n Global Illumination.
Ray Tracing Primer Ref: SIGGRAPH HyperGraphHyperGraph.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
Ray Tracing and Photon Mapping on GPUs Tim PurcellStanford / NVIDIA.
1 Perception and VR MONT 104S, Spring 2008 Lecture 22 Other Graphics Considerations Review.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Realtime Caustics using Distributed Photon Mapping Johannes Günther Ingo Wald * Philipp Slusallek Computer Graphics Group Saarland University ( * now at.
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.
1 Speeding Up Ray Tracing Images from Virtual Light Field Project ©Slides Anthony Steed 1999 & Mel Slater 2004.
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
Computer graphics & visualization Photon Mapping.
Collaborative Visual Computing Lab Department of Computer Science University of Cape Town Graphics Topics in VR By Shaun Nirenstein.
1 Real-time visualization of large detailed volumes on GPU Cyril Crassin, Fabrice Neyret, Sylvain Lefebvre INRIA Rhône-Alpes / Grenoble Universities Interactive.

Introduction to Radiosity Geometry Group Discussion Session Jiajian (John) Chen 9/10/2007.
Radiosity Jian Huang, CS594, Fall 2002 This set of slides reference the text book and slides used at Ohio State.
Hierarchical Penumbra Casting Samuli Laine Timo Aila Helsinki University of Technology Hybrid Graphics, Ltd.
Global Illumination: Radiosity, Photon Mapping & Path Tracing Rama Hoetzlein, 2009 Lecture Notes Cornell University.
- Laboratoire d'InfoRmatique en Image et Systèmes d'information
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Surface Rendering Methods 고려대학교 컴퓨터 그래픽스 연구실.
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.
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.
David Luebke3/12/2016 Advanced Computer Graphics Lecture 3: More Ray Tracing David Luebke
Graphics Lecture 14: Slide 1 Interactive Computer Graphics Lecture 14: Radiosity - Computational Issues.
1© 2009 Autodesk Hardware Shade – Presenting Your Designs Hardware and Software Shading HW Shade Workflow Tessellation Quality Settings Lighting Settings.
The Ray Model of Light.
Visualization of Scanned Cave Data with Global Illumination
Real-Time Soft Shadows with Adaptive Light Source Sampling
3D Graphics Rendering PPT By Ricardo Veguilla.
Jim X. Chen George Mason University
The Rendering Equation
(c) 2002 University of Wisconsin
UMBC Graphics for Games
(c) 2002 University of Wisconsin
Illumination and Shading
Presentation transcript:

Photon Mapping

How did I use it 10 years ago? Why might you want to use it tomorrow?

Ever increasing complexity (For an approximation!)

Photon map creation Emit photon from light sources in turn based on relative energy output, until ‘n’ emitted. Photons all emit at same power but power and color may vary after reflectance. Stored AND / OR reflected at each hit surface. Adjust photon energy based on number of actual emitted photons. Heavy use of random probability based on surface material (drand48)

Photon Map – Raw samples

Sampling photons Incorrect density estimates = dark corners & edges Problem: Photon map does not store geometry Impractical… for direct visualization

Kd-tree From efficient storage to critical tool. Can be dynamized for generic use

Why do indirect lights work? Photon Map stores energy to emit ‘The Final Bounce’ Ray tracers use photon map to accelerate ‘Final Gathering’ Light Energy is conserved

Indirect Lights Sampled from top levels of kd-tree

Direct lights close to surfaces

Spatial structures for visibility testing Hybrid BSP Top levels are octree Lower levels arbitrary planes Stored as binary tree Not balanced Polys in leaves as edges

Packing textures Good enough Many ways to generate texture atlas Can be part of seam reduction I used simple, largest first box packing with empty space reclamation

There seems to be a problem The map makers problem… how to map a round surface to a flat plane, and hide the evidence. Biliner filtering works against you. There is no perfect solution.

(Feature) Size Matters Texel size vs Geometry wall thickness means choosing sample points wisely. Shift sample points within texel. Use multiple sample point locations.

Direct Lights can look coarse Not enough of them to look like indirect light

Direct lights can look soft When considered a surface instead of a point.

Why can’t I see the stars during the day time? Exposure control to the rescue… map infinite floating point light range to 8 bits. Pics show 0.5, 1.0, 2.0 K values for equation

Area lights Pretend it’s Radiosity Light polys sampled as jittered grid, texel receivers How much energy from one area to another

Final Results (1 of 3)

Final Results (2 of 3)

Final Results (3 of 3)

How fast is it?

Real-time? Deferred lighting / shading for many direct light sources. May not need shadows / occlusion per light. Photon map creation (sample scene energy) and prepare virtual lights takes ‘seconds’. As background process, get results with latency. Energy changes when lights OR geometry move. Represent geometry with LOD mesh or voxels.

Screens from My Virtual Home (1 of 3)

What if we changed the kitchen? (2 of 3)

MVH Looking good (3 of 3)

Questions? From self published paper: Diffuse Global Illumination via Direct and Virtual Indirect Light Sources (2003) Download from citeseer or gmscript.com  Some images used without permission… Thanks Google. Thank you for staying awake and not texting.