Controlling Memory Consumption of Hierarchical Radiosity with Clustering iMAGIS -GRAVIR/IMAG-INRIA iMAGIS is a joint project of CNRS/INRIA/UJF/INPG Xavier.

Slides:



Advertisements
Similar presentations
Sven Woop Computer Graphics Lab Saarland University
Advertisements

Christian Lauterbach COMP 770, 2/16/2009. Overview  Acceleration structures  Spatial hierarchies  Object hierarchies  Interactive Ray Tracing techniques.
An Efficient Progressive Refinement Strategy for Hierarchical Radiosity Nicolas Holzschuch, François Sillion and George Drettakis iMAGIS/IMAG, Grenoble.
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.
Interactive Rendering using the Render Cache Bruce Walter, George Drettakis iMAGIS*-GRAVIR/IMAG-INRIA Steven Parker University of Utah *iMAGIS is a joint.
Presented by Konstantinos Georgiadis. Abstract This method extends the Hierarchical Radiosity approach for environments whose geometry and surface attributes.
Radiosity Mel Slater Department of Computer Science University College London
Developer’s Survey of Polygonal Simplification Algorithms Based on David Luebke’s IEEE CG&A survey paper.
Visibility Culling. Back face culling View-frustrum culling Detail culling Occlusion culling.
Efficient Sparse Voxel Octrees
K-structure, Separating Chain, Gap Tree, and Layered DAG Presented by Dave Tahmoush.
Paper Presentation - An Efficient GPU-based Approach for Interactive Global Illumination- Rui Wang, Rui Wang, Kun Zhou, Minghao Pan, Hujun Bao Presenter.
Haptic Rendering using Simplification Comp259 Sung-Eui Yoon.
Bounding Volume Hierarchy “Efficient Distance Computation Between Non-Convex Objects” Sean Quinlan Stanford, 1994 Presented by Mathieu Brédif.
16.1 si31_01 SI31 Advanced Computer Graphics AGR Lecture 16 Radiosity - continued.
Everything on Global Illumination Xavier Granier - IMAGER/UBC.
1 7M836 Animation & Rendering Global illumination, radiosity Arjan Kok
CSCE 641 Computer Graphics: Radiosity Jinxiang Chai.
Recent Advances in Radiosity Philippe Bekaert Department of Computer Science K.U.Leuven.
B + -Trees (Part 1). Motivation AVL tree with N nodes is an excellent data structure for searching, indexing, etc. –The Big-Oh analysis shows most operations.
The Radiosity Method Donald Fong February 10, 2004.
Paper by Alexander Keller
CSCE 641 Computer Graphics: Radiosity Jinxiang Chai.
CSCE 441 Computer Graphics: Radiosity Jinxiang Chai.
Geometric clustering for line drawing simplification
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert.
Visibility Queries Using Graphics Hardware Presented by Jinzhu Gao.
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*
-Global Illumination Techniques
David Luebke 1 10/12/2015 CS 551/651: Advanced Computer Graphics Advanced Ray Tracing Radiosity.
02/18/05© 2005 University of Wisconsin Last Time Radiosity –Converting the LTE into the radiosity equation –Solving with Gauss-Seidel relaxation –Form.
Real-Time Rendering SPEEDING UP RENDERING Lecture 04 Marina Gavrilova.
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
Ground Truth Free Evaluation of Segment Based Maps Rolf Lakaemper Temple University, Philadelphia,PA,USA.
1 Real-time visualization of large detailed volumes on GPU Cyril Crassin, Fabrice Neyret, Sylvain Lefebvre INRIA Rhône-Alpes / Grenoble Universities Interactive.
B + -Trees. Motivation An AVL tree with N nodes is an excellent data structure for searching, indexing, etc. The Big-Oh analysis shows that most operations.
1 Implicit Visibility and Antiradiance for Interactive Global Illumination Carsten Dachsbacher 1, Marc Stamminger 2, George Drettakis 1, Frédo Durand 3.
Hierarchical Radiosity with Multiresolution Meshes Andrew J. WillmottCommittee Paul Heckbert David O’Hallaron Steven Seitz Francois Sillion (iMAGIS)
111/17/ :21 Graphics II Global Rendering and Radiosity Session 9.
Image-Based Rendering of Diffuse, Specular and Glossy Surfaces from a Single Image Samuel Boivin and André Gagalowicz MIRAGES Project.
DPL11/27/2015 CS 551/651: Radiosity David Luebke
Hierarchical Penumbra Casting Samuli Laine Timo Aila Helsinki University of Technology Hybrid Graphics, Ltd.
Efficient Streaming of 3D Scenes with Complex Geometry and Complex Lighting Romain Pacanowski and M. Raynaud X. Granier P. Reuter C. Schlick P. Poulin.
- Laboratoire d'InfoRmatique en Image et Systèmes d'information
University of Montreal & iMAGIS A Light Hierarchy for Fast Rendering of Scenes with Many Lights E. Paquette, P. Poulin, and G. Drettakis.
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.
Rooted Tree a b d ef i j g h c k root parent node (self) child descendent leaf (no children) e, i, k, g, h are leaves internal node (not a leaf) sibling.
I MAGIS is a joint project of CNRS - INPG - INRIA - UJF iMAGIS-GRAVIR / IMAG Efficient Parallel Refinement for Hierarchical Radiosity on a DSM computer.
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.
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.
Scheduling Level of Detail with guaranteed Quality and Cost W. Pasman, F. W. Jansen Delft University of Technology.
Graphics Lecture 14: Slide 1 Interactive Computer Graphics Lecture 14: Radiosity - Computational Issues.
Quirin Meyer 1, Christian Eisenacher 1, Marc Stamminger 1, Carsten Dachsbacher 2 1 Erlangen-Nuremberg University, Department Informatik, Computer Graphics.
Interactive Rendering of Translucent Deformable Objects Tom Mertens 1, Jan Kautz 2, Philippe Bekaert 1, Hans-Peter Seidel 2, Frank Van Reeth
Distance Computation “Efficient Distance Computation Between Non-Convex Objects” Sean Quinlan Stanford, 1994 Presentation by Julie Letchner.
B+ Trees What are B+ Trees used for What is a B Tree What is a B+ Tree
COSC160: Data Structures B-Trees
B+ Trees What are B+ Trees used for What is a B Tree What is a B+ Tree
CSc4820/6820 Computer Graphics Algorithms Ying Zhu Georgia State University Radiosity.
CSCE 441 Computer Graphics: Radiosity
Hierarchical Radiosity with Multiresolution Meshes
© 2003 University of Wisconsin
CSc4820/6820 Computer Graphics Algorithms Ying Zhu Georgia State University Lecture 25 Radiosity.
Radiosity Sung-Eui Yoon (윤성의) CS580: Course URL:
L. Glimcher, R. Jin, G. Agrawal Presented by: Leo Glimcher
Presentation transcript:

Controlling Memory Consumption of Hierarchical Radiosity with Clustering iMAGIS -GRAVIR/IMAG-INRIA iMAGIS is a joint project of CNRS/INRIA/UJF/INPG Xavier Granier George Drettakis Graphics Interface 99

iMAGIS Graphics Interface 99 Overview  Motivation and Previous Work  New Framework  Reduce memory used by links  Reduce memory used by hierarchy  Memory Control Mechanism  Results  Conclusion

iMAGIS Graphics Interface 99 Overview  Motivation and Previous Work  New Framework  Reduce memory used by links  Reduce memory used by hierarchy  Memory Control Mechanism  Results  Conclusion

iMAGIS Graphics Interface 99 Motivation  Global illumination of large scenes  Hierarchical Radiosity with Clustering [Sil95,SAS94]  fast global illumination  view-independent  High memory consumption due to:  Link structure [WH97]  Hierarchy structure (clusters, subdivided polygons)

iMAGIS Graphics Interface 99 Hierarchical radiosity   Multi-resolution representation of exchanges  Clustering

iMAGIS Graphics Interface 99 Three hierarchy traversals  Refinement :  build the hierarchy  create link: store information of the exchanges  Gather :  compute irradiance due to links I i =  links on i F ij B k j  Push-Pull  Descend hierarchy : sum the irradiances  Leaves: reflect entire irradiance  Returning : update the hierarchical representation

iMAGIS Graphics Interface 99 Hierarchical radiosity B = 0 B = E 22 11

iMAGIS Graphics Interface 99 Refinement

iMAGIS Graphics Interface 99 Gather I 1 = F 1 *E I += I 1

iMAGIS Graphics Interface 99 Push-Pull : Descend I2I2 I1I1 I 1 += I 2

iMAGIS Graphics Interface 99 Push-Pull : Return B 1 =  1 *I 1 B = (  A i B i )/A

iMAGIS Graphics Interface 99 Previous work  Progressive refinement [CCWG88]  Lack of global error control  Memory used by links  Study by Willmott and Heckbert [WH97]  Getting rid of Links [SSSS98]  unshot radiosity  link cache

iMAGIS Graphics Interface 99 Shooting Algorithm [SSSS98]  Shooting algorithm  B 0 = E (sources)  B 0 = 0 (others)  Theoretically the same as standard algorithm  Convergence : global error

iMAGIS Graphics Interface 99 Shooting algorithm B = 0  B = 0 B = 0  B = 0 B = E  B = E 22 11

iMAGIS Graphics Interface 99 1 st Iteration 22 11 B =  2 * I 2  B =  2 * I 2 B = 0  B = 0 B = E  B = 0

iMAGIS Graphics Interface 99 2 nd iteration 22 11 B =  2 * I 2  B = 0 B =  1 * I 1  B =  1 * I 1 B = E  B = 0

iMAGIS Graphics Interface 99 3 th iteration 22 11 B =  2 * (I 2 +I 3 )  B =  2 * I 3 B =  1 * I 1  B = 0 B = E  B = 0

iMAGIS Graphics Interface 99 Overview  Motivation and Previous Work  New Framework  Reduce memory used by links  Reduce memory used by hierarchy  Memory Control Mechanism  Results  Conclusion

iMAGIS Graphics Interface 99 Goals of New Framework  Reduce both link and hierarchy memory consumption  Low speed penalty  Maintain global representation

iMAGIS Graphics Interface 99 New Framework for Memory Reduction  Goal  Keep only links needed in next iteration  Algorithm  Unshot radiosity [SSSS98]  B = B i+1 - B i  Merge radiosity steps  Traverse Link Hierarchy

iMAGIS Graphics Interface 99 New Framework for Memory Reduction  Link Hierarchy and Traversal  Allows reduction of stored links  Reduce links creation number of links  Remove links where possible  Merge radiosity steps  Facilitates reduction of memory used by radiosity hierarchy ...allows us to move links “higher” in the hierarchy  Enables effective memory control mechanism

iMAGIS Graphics Interface 99 Link hierarchy [DS97]  Active link = hierarchy leaf  Passive link = hierarchy node Is the father of

iMAGIS Graphics Interface 99 Overview  Motivation and Previous Work  New Framework  Reduce memory used by links  Reduce memory used by hierarchy  Memory Control Mechanism  Results  Conclusion

iMAGIS Graphics Interface 99 Link Memory Reduction  Only create links when needed  Merge Refine and Gather  Creation Criterion:  First approach : Don’t store links from sources  More sophisticated approaches possible  Control link creation using a cache mechanism  Predict link utility in future iterations

iMAGIS Graphics Interface 99 create gather create and gather refine Refine And Gather - schema source  Active link = hierarchy leaf  Passive link = hierarchy node

iMAGIS Graphics Interface 99 Link reduction summary  New approach reduces memory used by links  No overall control of memory  Now, hierarchy uses most of the memory

iMAGIS Graphics Interface 99 Overview  Motivation and Previous Work  New Framework  Reduce memory used by links  Reduce memory used by hierarchy  Memory Control Mechanism  Results  Conclusion

iMAGIS Graphics Interface 99 Hierarchy storage reduction  Goal: reduce memory during refinement  Otherwise we cannot control overall memory usage  Full recursion on link hierarchy  Refine, Gather and Push Pull method  Hierarchy simplification

iMAGIS Graphics Interface 99 Refine, Gather And PushPull  We have to do only one PushPull  For each hierarchy element  For each iteration  Receiver refinement  Refine gather and push pull on each child  Source refinement  Refine gather and push pull on last child  Else refine gather  Replace hierarchy on which no links arrive

iMAGIS Graphics Interface 99 create and gathercreate and gather + push pull gatherrefine and push pull gather and push pull Refine Gather and PushPull source  Active link = hierarchy leaf  Passive link = hierarchy node

iMAGIS Graphics Interface 99 create Refine Gather and PushPull source replacement  Active link = hierarchy leaf  Passive link = hierarchy node

iMAGIS Graphics Interface 99 Texture replacement + 

iMAGIS Graphics Interface 99 Hierarchy reduction summary  Advantages  Reduce subdivision due to direct light  But  still a memory peak  Need a mechanism to limit memory

iMAGIS Graphics Interface 99 Overview  Motivation and Previous Work  New Framework  Reduce memory used by links  Reduce memory used by hierarchy  Memory Control Mechanism  Results  Conclusion

iMAGIS Graphics Interface 99 Memory control mechanism  Control link memory  Move links higher in the element hierarchy  Increase texture replacement  “Cache”-like test  Estimate the expected depth of Link hierarchy

iMAGIS Graphics Interface 99 Overview  Motivation and Previous Work  New Framework  Reduce memory used by links  Reduce memory used by hierarchy  Memory Control Mechanism  Results  Conclusion

iMAGIS Graphics Interface 99 Tests scenes Medium hall 4 blocks K Polygons

iMAGIS Graphics Interface 99 Tests scenes Simple hall 2 blocks - 65 K polygons complex hall 16 blocks K polygons

iMAGIS Graphics Interface 99 Memory used by HRC

iMAGIS Graphics Interface 99 New algorithm (texture replacement)

iMAGIS Graphics Interface 99 Cluster reduction

iMAGIS Graphics Interface 99 Overview  Motivation and Previous Work  New Framework  Reduce memory used by links  Reduce memory used by hierarchy  Memory Control Mechanism  Results  Conclusion

iMAGIS Graphics Interface 99 Summary  New framework for controlling memory  Using Link Hierarchy  Merge all steps of the radiosity solution  Memory control mechanism  Change => Use memory where it’s needed

iMAGIS Graphics Interface 99 Future Work  Store part of hierarchy on disk  load only the parts needed in memory  Better representation for simplified clusters  image based rendering  volumetric primitives  multi-resolution geometric simplification  More sophisticated memory control mechanisms  take the memory of hierarchy into account