Recent Advances in Radiosity Philippe Bekaert Department of Computer Science K.U.Leuven.

Slides:



Advertisements
Similar presentations
Computer graphics & visualization Global Illumination Effects.
Advertisements

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.
Illumination Models Radiosity Chapter 14 Section 14.7 Some of the material in these slides may have been adapted from University of Virginia, MIT, Colby.
Path Differentials for MC Rendering Frank Suykens Department of Computer Science K.U.Leuven, Belgium Dagstuhl 2001: Stochastic methods in Rendering.
Christian Lauterbach COMP 770, 2/11/2009
Real-Time Rendering Paper Presentation Imperfect Shadow Maps for Efficient Computation of Indirect Illumination T. Ritschel T. Grosch M. H. Kim H.-P. Seidel.
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.
Radiosity A Fascinating Presentation by Alex Danilevky.
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.
Rendering theory & practice. Introduction  We’ve looked at modelling, surfacing and animating.  The final stage is rendering.  This can be the most.
Everything on Global Illumination Xavier Granier - IMAGER/UBC.
1 7M836 Animation & Rendering Global illumination, radiosity Arjan Kok
CSCE 641 Computer Graphics: Radiosity Jinxiang Chai.
The Radiosity Method Donald Fong February 10, 2004.
Paper by Alexander Keller
EGWR 2000 Metropolis Light Transport for Participating Media Mark Pauly Thomas KolligAlexander Keller ETH ZürichUniversity of Kaiserslautern.
CSCE 641 Computer Graphics: Radiosity Jinxiang Chai.
CSCE 441 Computer Graphics: Radiosity Jinxiang Chai.
CSC418 Computer Graphics n Raytracing n Shadows n 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 Stochastic Radiosity K. H. Ko School of Mechatronics Gwangju Institute.
Global Illumination Jian Huang, CS 594, Fall 2002 This set of slides reference text book and the course note of Dutre et. al on SIGGRAPH 2001.
Global Illumination. Direct Illumination vs. Global Illumination reflected, scattered and focused light (not discreet). physical-based light transport.
Selected Topics in Global Illumination Computation Jaroslav Křivánek Charles University, Prague
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.
-Global Illumination Techniques
01/29/03© 2003 University of Wisconsin Last Time Radiosity.
David Luebke 1 10/12/2015 CS 551/651: Advanced Computer Graphics Advanced Ray Tracing Radiosity.
02/16/05© 2005 University of Wisconsin Last Time Re-using paths –Irradiance Caching –Photon Mapping.
CS447/ Realistic Rendering -- Radiosity Methods-- Introduction to 2D and 3D Computer Graphics.
02/18/05© 2005 University of Wisconsin Last Time Radiosity –Converting the LTE into the radiosity equation –Solving with Gauss-Seidel relaxation –Form.
Volume radiosity Michal Roušal University of West Bohemia, Plzeň Czech republic.
Global Illumination with a Virtual Light Field Mel Slater Jesper Mortensen Pankaj Khanna Insu Yu Dept of Computer Science University College London
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.
111/17/ :21 Graphics II Global Rendering and Radiosity Session 9.
Radiosity Jian Huang, CS594, Fall 2002 This set of slides reference the text book and slides used at Ohio State.
Global Illumination: Radiosity, Photon Mapping & Path Tracing Rama Hoetzlein, 2009 Lecture Notes Cornell University.
University of Montreal & iMAGIS A Light Hierarchy for Fast Rendering of Scenes with Many Lights E. Paquette, P. Poulin, and G. Drettakis.
Iteration Solution of the Global Illumination Problem László Szirmay-Kalos.
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.
Monte-Carlo Ray Tracing and
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.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Path Tracing Algorithms K. H. Ko School of Mechatronics Gwangju.
CS 445 / 645 Introduction to Computer Graphics Lecture 16 Radiosity Radiosity.
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.
Controlling Memory Consumption of Hierarchical Radiosity with Clustering iMAGIS -GRAVIR/IMAG-INRIA iMAGIS is a joint project of CNRS/INRIA/UJF/INPG Xavier.
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.
Distributed Ray Tracing. Can you get this with ray tracing?
Graphics Lecture 14: Slide 1 Interactive Computer Graphics Lecture 14: Radiosity - Computational Issues.
Distributed Ray Tracing. Can you get this with ray tracing?
Computer graphics III – Rendering equation and its solution
(c) 2002 University of Wisconsin
Path Tracing (some material from University of Wisconsin)
CSc4820/6820 Computer Graphics Algorithms Ying Zhu Georgia State University Radiosity.
CSCE 441 Computer Graphics: Radiosity
(c) 2002 University of Wisconsin
© 2003 University of Wisconsin
Efficient Importance Sampling Techniques for the Photon Map
CSc4820/6820 Computer Graphics Algorithms Ying Zhu Georgia State University Lecture 25 Radiosity.
Radiosity Sung-Eui Yoon (윤성의) CS580: Course URL:
Presentation transcript:

Recent Advances in Radiosity Philippe Bekaert Department of Computer Science K.U.Leuven

KV 02/10/98 T.U.Wien2 Global Illumination ä Goal: produce images that are perceived indistinguishable from reality.

KV 02/10/98 T.U.Wien3 Global Illumination (2) ä Three steps: ä Modelling: geometry + optical properties ä Illumination computation: stochastic ray tracing, radiosity method, … ä Visualisation of the result (tone mapping,...)

KV 02/10/98 T.U.Wien4 Illumination computation

KV 02/10/98 T.U.Wien5 Radiosity vs. (MC) Ray Tracing Radiosity ä ä view-independent solution (world-space) ä ä diffuse scenes (soft shadows, colour bleeding, …) ä ä approximate solution on BREP model. ä ä time consuming ? ä ä huge storage requirements (only for simple scenes)?Ray-Tracing ä view-dependent solution (pixel-driven) ä general reflection, refraction, emission ä exact solution for CSG models, procedural objects, fractals,... ä low storage requirements (complex scenes) ä reliable

KV 02/10/98 T.U.Wien6 The Radiosity Method ä ä Scene discretised in patches i ä Compute average radiosity B i [W/m 2 ] for each patch by solving... ä The radiosity system of equations: B i = E i +  i  j F ij B j B i = E i +  i  j F ij B j reflectivity form factor

KV 02/10/98 T.U.Wien7 The Radiosity Method(2) ä Four steps: ä Discretisation of the scene into patches ä Form factor F ij computation ä Solution of radiosity system of equations ä Render image using computed radiosities ä In practice: intertwined steps

KV 02/10/98 T.U.Wien8 Step 1: Discretisation ä Quality: ä consistent enumeration of vertices ä well-formed facets ä non intersecting facets (shadow- and light leaks) ä Constant radiosity assumption should be fulfilled (cannot be determined a priori)

KV 02/10/98 T.U.Wien9 Discretisation (2) ä Illustration: washed out shadows, light leaks

KV 02/10/98 T.U.Wien10 Step 2: Form Factors ä F ij = Fraction of power emitted by i and received by j. ä Difficult double integral, numerous techniques: analytic formulae, contour integration, MC integration of deterministic quadrature rules, hemicube, MC simulation... ä Number of FF = square number of patches: storage?

KV 02/10/98 T.U.Wien11 Step 3: Radiosity system solution ä Iterative methods (Jacobi, Gauss-Seidel, Southwell =progressive radiosity) ä Monte Carlo simulation ä Not so problematic.

KV 02/10/98 T.U.Wien12 Step 4: Rendering ä Not so problematic either Using graphics hardware Ray-tracing second pass

KV 02/10/98 T.U.Wien13 Summary of problems: ä Discretisation (meshing) quality ä Need for a priori adaptive meshing ä Form factor storage ä Form factor computation time ä Reliability: numerical errors

KV 02/10/98 T.U.Wien14 Solutions ä Discontinuity meshing ä Hierarchical Refinement ä Clustering ä Implicit instead of explicit form factor computation by MC simulation ä Higher order approximations instead of constant ä View potential driven “focussing” of the computations

KV 02/10/98 T.U.Wien15 Hierarchical Refinement ä Goal: ä automatic adaptive discretisation ä reduction of the number of form factors through multiresolution representation of radiosity. ä Example:

KV 02/10/98 T.U.Wien16

KV 02/10/98 T.U.Wien17

KV 02/10/98 T.U.Wien18 oracle says: “Refine!” oracle says: “OK!” Recursive refinement in HR.

KV 02/10/98 T.U.Wien19 Hierarchical refinement ä Questions: ä Q1: When to refine? ä Q2: If required, how to carry out refinement? ä Q3: How to keep the multilevel representation consistent? ä Q4: Relation between link error threshold and total error?

KV 02/10/98 T.U.Wien20 Q1: When to refine? ä When form factor too large. ä Based on error estimates: total error = approximation error + propagated error.

KV 02/10/98 T.U.Wien21 Q2: How to refine? ä Which element: receiver or source? ä The largest of the two ä The one contributing the largest error ä How to subdivide the chosen element? ä Regular quad-tree subdivision ä Along discontinuity lines ä Alternative: Increase approximation order.

KV 02/10/98 T.U.Wien22 Q3: Keeping the MRR consistent ä Goal: obtain new consistent representation of total radiosity on all levels? ä push: propagate radiosity top-down ä pull: average radiosity bottom-up.

Elementary push-pull

KV 02/10/98 T.U.Wien24 Q4: link error versus total error? ä Link error threshold can be computed in order to give same total error everywhere. ä Experiment: measured (total) error versus desired accuracy:

KV 02/10/98 T.U.Wien25 Remaining problems: ä Storage requirements: still several 100 bytes per element. ä Computational error on form factors and error estimates. ä Solution: avoid explicit form factor computation and storage!!!

KV 02/10/98 T.U.Wien26 Monte Carlo Radiosity ä Simulate path of photons through environment. Score yields radiosity. ä Form factors do not need to be computed explcitely.

Which is best?? ä Breadth first versus depth first ä Local versus global lines. ä Continuous versus discrete: ä discrete = warp particle to new position on hit patch. ä Influence of random number generator (MC versus QMC) ???

28 1) Breadth-first versus depth-first Depth-first (particle tracing) Breadth-first (WDRS)

Initial power distribution Initial ray set new power distribution Breadth-first RW (1)

Breadth-first RW (2) modified power distribution extra rays (same ray power) new power distribution

Breath-first RW (3) extra rays (same ray power as before)

Breath-first RW (4) extra rays (same ray power as before)

Depth-first RW (1)

Halton Random Breadth-first vs depth-first ä It doesn‘t really matter.

2) Local versus Global Lines Global lines (Sbert’93) Local lines ä Global lines are cheaper per intersection, but local lines allow better sample distribution.

Local versus Global Lines: global local Halton random

3) Continuous versus discrete Discrete Halton ContinuousHalton Keller

KV 02/10/98 T.U.Wien38 Problems of MC Radiosity ä lack of automatic adaptive meshing ä noise/aliasing effects ä Solution: hierarchical refinement!!

Hierarchical Monte Carlo Radiosity ä Random walk algorithms avoiding explicit form factor computation and storage ä Per sample decision what level of detail is appropriate for light transport. ä Combination of wavelets and Monte Carlo.

KV 02/10/98 T.U.Wien40 Recursive refinement in HMC. form factor sample line oracle says: “Refine!” oracle says: “OK!”

Results: ä Surprisingly fast first complete solutions. ä Gradually improved by reducing noise ä Low storage requirements (no form factor storage) ä Reliable (no difficult element pairwise form factor integration)

KV 02/10/98 T.U.Wien42 5min.9min. 10min.

Conclusion ä We´ve come a long way. ä The way ahead is also long: ä more efficient refinement + better approximations ä general light transport (not only diffuse) ä participating media ä dynamic scenes ä... ä DEMO TIME!!!