Iteration Solution of the Global Illumination Problem László Szirmay-Kalos.

Slides:



Advertisements
Similar presentations
1GR2-00 GR2 Advanced Computer Graphics AGR Lecture 16 Radiosity - continued.
Advertisements

Computer graphics & visualization Global Illumination Effects.
Radiosity Mel Slater Department of Computer Science University College London
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.
Path Differentials for MC Rendering Frank Suykens Department of Computer Science K.U.Leuven, Belgium Dagstuhl 2001: Stochastic methods in Rendering.
16.1 si31_01 SI31 Advanced Computer Graphics AGR Lecture 16 Radiosity - continued.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 10: Global Illumination Ravi Ramamoorthi Some images courtesy.
Everything on Global Illumination Xavier Granier - IMAGER/UBC.
GPUGI: Global Illumination Effects on the GPU
1 7M836 Animation & Rendering Global illumination, radiosity Arjan Kok
Recent Advances in Radiosity Philippe Bekaert Department of Computer Science K.U.Leuven.
The Radiosity Method Donald Fong February 10, 2004.
Paper by Alexander Keller
1 Dr. Scott Schaefer Radiosity. 2/38 Radiosity 3/38 Radiosity Physically based model for light interaction View independent lighting Accounts for indirect.
Computer Graphics (Spring 2008) COMS 4160, Lecture 22: Global Illumination
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Radiosity What we can do with scan line conversion and ray tracing What we can’t do Radiosity.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Hybrid Algorithms K. H. Ko School of Mechatronics Gwangju Institute.
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.
Random-walk solution of the global illumination problem László Szirmay-Kalos.
-Global Illumination Techniques
01/29/03© 2003 University of Wisconsin Last Time Radiosity.
02/16/05© 2005 University of Wisconsin Last Time Re-using paths –Irradiance Caching –Photon Mapping.
02/18/05© 2005 University of Wisconsin Last Time Radiosity –Converting the LTE into the radiosity equation –Solving with Gauss-Seidel relaxation –Form.
02/10/03© 2003 University of Wisconsin Last Time Participating Media Assignment 2 –A solution program now exists, so you can preview what your solution.
Volume radiosity Michal Roušal University of West Bohemia, Plzeň Czech republic.
02/05/03© 2003 University of Wisconsin Last Time Importance Better Form Factors Meshing.
Computer Graphics Global Illumination: Photon Mapping, Participating Media Lecture 12 Taku Komura.
Global Illumination with a Virtual Light Field Mel Slater Jesper Mortensen Pankaj Khanna Insu Yu Dept of Computer Science University College London
Global Illumination Models THE WHITTED IMAGE - BASIC RECURSIVE RAY TRACING Copyright © 1997 A. Watt and L. Cooper.
Global Illumination CMSC 435/634. Global Illumination Local Illumination – light – surface – eye – Throw everything else into ambient Global Illumination.
Rendering Problem László Szirmay-Kalos. Image synthesis: illusion of watching real world objects Le(x,)Le(x,) pixel f r (  ’, x,  ) S We(x,)We(x,)
1 Implicit Visibility and Antiradiance for Interactive Global Illumination Carsten Dachsbacher 1, Marc Stamminger 2, George Drettakis 1, Frédo Durand 3.
Towards a Taxonomy of Global Illumination Algorithms Philip Dutré Program of Computer Graphics Cornell University.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Radiosity K. H. Ko School of Mechatronics Gwangju Institute.
Graphics Lecture 13: Slide 1 Interactive Computer Graphics Lecture 13: Radiosity - Principles.
Introduction to Radiosity Geometry Group Discussion Session Jiajian (John) Chen 9/10/2007.
111/17/ :21 Graphics II Global Rendering and Radiosity Session 9.
Radisoity Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts Director, Arts Technology Center University of New.
Radiosity Jian Huang, CS594, Fall 2002 This set of slides reference the text book and slides used at Ohio State.
Instant Radiosity Alexander Keller University Kaiserslautern Present by Li-Fong Lin.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Surface Rendering Methods 고려대학교 컴퓨터 그래픽스 연구실.
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.
Radiosity 1. 2 Introduction Ray tracing best with many highly specular surfaces ­Not real scenes Rendering equation describes general shading problem.
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.
CMSC 635 Global Illumination.  Local Illumination  light – surface – eye  Throw everything else into ambient  Global Illumination  light – surface.
Slide 1Lastra, 2/14/2016 Monte-Carlo Methods. Slide 2Lastra, 2/14/2016 Topics Kajiya’s paper –Showed that existing rendering methods are approximations.
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.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Radiosity K. H. Ko School of Mechatronics Gwangju Institute.
The Computation of Higher-Order Radiosity Approximations with a Stochastic Jacobi Iterative Method Ph. Bekaert, M. Sbert, Y Willems Department of Computer.
Global Illumination (3) Photon Mapping (1). Overview Light Transport Notation Path Tracing Photon Mapping –Photon Tracing –The Photon Map.
Global Illumination (2) Radiosity (3). Classic Radiosity Algorithm Mesh Surfaces into Elements Compute Form Factors Between Elements Solve Linear System.
02/07/03© 2003 University of Wisconsin Last Time Finite element approach Two-pass approaches.
Global Illumination (3) Path Tracing. Overview Light Transport Notation Path Tracing Photon Mapping.
01/27/03© 2002 University of Wisconsin Last Time Radiometry A lot of confusion about Irradiance and BRDFs –Clarrified (I hope) today Radiance.
Distributed Ray Tracing. Can you get this with ray tracing?
Distributed Ray Tracing. Can you get this with ray tracing?
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.
Computer graphics III – Rendering equation and its solution
Robust Diffuse Final Gathering on the GPU
Finite element methods
The Rendering Equation
Radiosity Dr. Scott Schaefer.
OPTICS III, IV: Global Illumination
Radiosity Sung-Eui Yoon (윤성의) CS580: Course URL:
Monte Carlo Path Tracing and Caching Illumination
Presentation transcript:

Iteration Solution of the Global Illumination Problem László Szirmay-Kalos

Solution by iteration l Expansion uses independent samples –no resuse of visibility and illumination information l Iteration may use the complete previous information – L n = L e +  L n-1 –  pixel =  L n

Storage of the temporary radiance: finite elements l FEM: l Projecting to an adjoint base:  L j (n) b j (p) =  L j e b j (p) +   L j (n-1) b j (p) L(p)   L j b j (p) L i (n) = L i e +  L j (n-1) p= (x,  )

FEM iteration l Matrix form: l Jacobi iteration –Complexity: O(steps · 1 step) = O(c · N 2 ) l Other iteration methods: –Gauss-Seidel iteration: O(c · N 2 ) –Southwell iteration: O(N · N) –Successive overrelaxation: O(c · N 2 ) L (n) = L e + R  L (n-1)

Problems of classical iteration l storage complexity of the finite-element representation –4 variate radiance: very many basis functions l error accumulation –   L/(1-q), q  contraction l The error is due to the drastic simplifications of the form-factor computation

Stochastic iteration Use instantiations of random operator  * – L n = L e +  * n L n-1 l which behaves as the real operator in average –   * n L   L

Example: x = 0.1 x Solution by stochastic iteration l Random transport operator: –x n = T n x n + 1.8, T is r.v. in [ 0, 0.2] l n : l T n sequence: l x n sequence: 0  l Not convergent! l Averaging:

Iteration with a single ray Transfer the whole power from x into  selected with probability:L(x,  ) cos  x   x   x   L e (x,  ) 

Making it convergent L n = L e +  * n L n-1  n =  L n is not convergent  pixel =(  L 1 +  L  L m )/m

Stochastic iteration with FEM Diffuse case l Projected transport operator: –directional integral of the transport operator –surface integral of the projection l Alternatives: –both explicitely: classical iteration, stochastic radiosity –surface integral explicitely: transillumination radiosity –both implicitely: stochastic ray-radiosity

Stochastic radiosity P = P e + HP Random transport operator: H* P| i = H ij  Expected value: E[H*P| i ]=  j H ij   P i /  = H P| i Selects a single (a few) patch with the probability of its relative power and transfers all power from here

Transillumination radiosity Selects a single (a few) directions and transfers all power into these directions Projected rendering equation: L = L e + R  L Transport operator: R ij = = f i /A i    Ai  b j (h(x,-  ’  ) cos  ’ dxd  ’ Random transport operator: R ij * = 4  f i /A i  Ai  b j (h(x,-  ’  ) cos  ’dx

 Ai  b j (h(x,-  ’  ) cos  ’dx AiAi ’’ A(i,j,  ’) AjAj  Transillumination plane A(i,j,  ’)= projected area of path j, which is visible from path i in direction  ’

Stochastic ray radiosity Selects a single (a few) rays (points+dirs) with a probability proportional to the power  cos  /area and transfers all power by these rays P = P e + HP Random transport operator: if y and  are selected: H* P| i = f i  b i (h(y,  )  Expected value of the random transport operator: E[H*P| i ]=  j f i   Aj b i (h(y,  )  cos  /  dy/A j P j /  =  j f i /A j  Aj b i (h(y,  ) cos  dy P j = H P| i

Stochastic iteration for the non-diffuse case L n = L e +  * n L n-1 l Reduce the storage requirements of the finite-element representation Search  * which require L not everywhere L n (p n+1 ) = L e (p n+1 )+  * n (p n+1,p n ) L n-1 (p n )

Stochastic integration l Projected transport operator: –directional integral of the transport operator –directional-surface integrals of the projection l Alternatives: –all integrals explicitely: classical iteration –all integrals implicitely: iteration with a single ray –directional integral of the transport operator implicitely, integral of the projection explicitely

Ray-bundle based iteration L e pixel Storage requirement: 1 variable per patch

Finite elements for the positional variation l FEM: l Projected rendering equation: –L(  ’) = L e (  ’) +   F(  ’,  ) A(  ’) L(  ’)d  ’ l Random transport operator: –Select a global direction  ’ randomly: –  * L(  ’) = 4  F(  ’,  ) A(  ’) L(  ’) L(x,  )   L j (  ) b j (x)

Ray-bundle iteration Generate the first random direction   FOR each patch i L[i] = L e (  1 ) FOR m = 1 TO M Reflect incoming radiance L to the eye and add contribution/M to Image Generate random global direction  m+1 L = L e (  m+1 )+ 4  F(  m,  m+1 ) A(  m ) L(  m ) ENDFOR Display Image

Ray-bundle images 10k patches 500 iterations 9 mins 60k patches 600 iterations 45 mins 60k patches 300 iterations 30 mins

Can we use quasi-Monte Carlo samples in iteration? 1/(M-1)   *(p i )  *(p i-1 ) L e    2 L e 1/(M-1)  f(p i,p i-1 )   f(x,y) dxdy p i must be infinite-distribution sequence!

Future improvements ? l Problem formulation –Monte-Carlo integral –Expansion versus iteration l Same accuracy with fewer samples –importance sampling –very uniform sequences, stratification l Making the samples cheaper –fast visibility computations –global methods: coherence principle