Realishtime Radiosity And Next Shooter Selection Jeff Pool COMP 870 Final December 4, 2008 UNC Dept. of Computer Science.

Slides:



Advertisements
Similar presentations
What Well Be Covering Today: Modified Butterfly Subdivision Texturing and Antialiasing Global Illumination via Radiosity.
Advertisements

Accelerating Real-Time Shading with Reverse Reprojection Caching Diego Nehab 1 Pedro V. Sander 2 Jason Lawrence 3 Natalya Tatarchuk 4 John R. Isidoro 4.
Exploration of advanced lighting and shading techniques
CS123 | INTRODUCTION TO COMPUTER GRAPHICS Andries van Dam © 1/16 Deferred Lighting Deferred Lighting – 11/18/2014.
Understanding the graphics pipeline Lecture 2 Original Slides by: Suresh Venkatasubramanian Updates by Joseph Kider.
Computer graphics & visualization Global Illumination Effects.
Computer Graphics In4/MSc Computer Graphics Lecture Notes #15 Illumination III View Independent Rendering.
Zhao Dong 1, Jan Kautz 2, Christian Theobalt 3 Hans-Peter Seidel 1 Interactive Global Illumination Using Implicit Visibility 1 MPI Informatik Germany 2.
Radiosity Mel Slater Department of Computer Science University College London
Modeling the Interaction of Light Between Diffuse Surfaces Cindy M. Goral, Keenth E. Torrance, Donald P. Greenberg and Bennett Battaile Presented by: Chris.
Rasterization and Ray Tracing in Real-Time Applications (Games) Andrew Graff.
Rendering on the GPU Tom Fili. Agenda Global Illumination using Radiosity Ray Tracing Global Illumination using Rasterization Photon Mapping Rendering.
Radiosity A Fascinating Presentation by Alex Danilevky.
Real-Time Geometric and Color Calibration for Multi-Projector Displays Christopher Larson, Aditi Majumder Large-Area High Resolution Displays Motivation.
Direct-to-Indirect Transfer for Cinematic Relighting Milos Hasan (Cornell University) Fabio Pellacini (Dartmouth College) Kavita Bala (Cornell 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.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL An Incremental Weighted Least Squares Approach To Surface Light Fields Greg Coombe Anselmo Lastra.
GPUGI: Global Illumination Effects on the GPU
1 7M836 Animation & Rendering Global illumination, radiosity Arjan Kok
CSCE 641 Computer Graphics: Radiosity Jinxiang Chai.
The Radiosity Method Donald Fong February 10, 2004.
Foundations of Computer Graphics (Spring 2010) CS 184, Lecture 21: Radiosity
CSCE 641 Computer Graphics: Radiosity Jinxiang Chai.
CSCE 441 Computer Graphics: Radiosity Jinxiang Chai.
Ray Tracing and Photon Mapping on GPUs Tim PurcellStanford / NVIDIA.
Reflections Specular reflection is the perfect reflection of light from a surface. The law a reflection states that the direction of the incoming ray and.
Radiosity 김 성 남. Contents Definition/Goal Basic Radiosity Method Progressive Radiosity Method Mesh substructuring Hierarchical Radiosity Ray.
Cg Programming Mapping Computational Concepts to GPUs.
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.
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.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Tone Mapping on GPUs Cliff Woolley University of Virginia Slides courtesy Nolan Goodnight.
Global Illumination CMSC 435/634. Global Illumination Local Illumination – light – surface – eye – Throw everything else into ambient Global Illumination.
1 Real-time visualization of large detailed volumes on GPU Cyril Crassin, Fabrice Neyret, Sylvain Lefebvre INRIA Rhône-Alpes / Grenoble Universities Interactive.
Graphics Lecture 13: Slide 1 Interactive Computer Graphics Lecture 13: Radiosity - Principles.
Tiled Forward Shading Johan Medeström. Project Goals Render a scene with lots of lights Learn more OpenGL and shading techniques Learn more about OpenCL/Compute.
Introduction to Radiosity Geometry Group Discussion Session Jiajian (John) Chen 9/10/2007.
111/17/ :21 Graphics II Global Rendering and Radiosity Session 9.
Accelerated Stereoscopic Rendering using GPU François de Sorbier - Université Paris-Est France February 2008 WSCG'2008.
Radiosity Jian Huang, CS594, Fall 2002 This set of slides reference the text book and slides used at Ohio State.
CPSC 641 Computer Graphics: Radiosity Jinxiang Chai.
Hardware-accelerated Point-based Rendering of Surfaces and Volumes Eduardo Tejada, Tobias Schafhitzel, Thomas Ertl Universität Stuttgart, Germany.
- Laboratoire d'InfoRmatique en Image et Systèmes d'information
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Surface Rendering Methods 고려대학교 컴퓨터 그래픽스 연구실.
Global Illumination. Local Illumination  the GPU pipeline is designed for local illumination  only the surface data at the visible point is needed to.
Illumination and Shading Prof. Lizhuang Ma Shanghai Jiao Tong University.
Ray Tracing using Programmable Graphics Hardware
Real-Time Dynamic Shadow Algorithms Evan Closson CSE 528.
Shadows David Luebke University of Virginia. Shadows An important visual cue, traditionally hard to do in real-time rendering Outline: –Notation –Planar.
Computer Graphics (Fall 2003) COMS 4160, Lecture 20: Radiosity Ravi Ramamoorthi
Global Illumination (2) Radiosity (3). Classic Radiosity Algorithm Mesh Surfaces into Elements Compute Form Factors Between Elements Solve Linear System.
Radiance Cache Splatting: A GPU-Friendly Global Illumination Algorithm P. Gautron J. Křivánek K. Bouatouch S. Pattanaik.
02/07/03© 2003 University of Wisconsin Last Time Finite element approach Two-pass approaches.
Graphics Lecture 14: Slide 1 Interactive Computer Graphics Lecture 14: Radiosity - Computational Issues.
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
Illumination and Shading Prof. Lizhuang Ma Shanghai Jiao Tong University.
Deferred Lighting.
CSc4820/6820 Computer Graphics Algorithms Ying Zhu Georgia State University Radiosity.
Computer Graphics (Spring 2003)
CSCE 441 Computer Graphics: Radiosity
© 2003 University of Wisconsin
Problems with Gauss-Seidel
CSc4820/6820 Computer Graphics Algorithms Ying Zhu Georgia State University Lecture 25 Radiosity.
Illumination and Shading
OPTICS III, IV: Global Illumination
Radiosity Sung-Eui Yoon (윤성의) CS580: Course URL:
Presentation transcript:

Realishtime Radiosity And Next Shooter Selection Jeff Pool COMP 870 Final December 4, 2008 UNC Dept. of Computer Science

Approaches to Radiosity CPU matrix solving GPU gathering GPU scattering GPU scatter/gathering Hemicubes Hemispheres

I tried: GPU gathering Hemicubes – 5 renders per subelement – No form factor calculations, though FBOs Hemispheres Scatter/Gather

Approach 1 - Hemicubes Gathering – 50x50 elements Hemicubes – 5 renders per element CPU processing – Bandwidth issues  ~24 hours

Approach 2 – Hemicubes w/ FBO Gathering Hemicubes FBO – No sending data back and forth ~5 minutes 

Approach 3 – Coombe, et al. Scatter/Gather Hemispheres FBO  ~1/2 second

Key Points ID Buffer Hemispheres Progressive refinement – Next shooter selection – (fp MipMap generation) Texture packing for residual/full textures – (HW now has MRT)

ID Buffer Elements rendered with ID colors for visibility (hard part of form factors) Correlated to hemisphere rendered by shooter

Hemispheres Only one pass, not 5 Can be some distortion, so target framebuffer must be large for accurate visibility

ID texture size

Shooting Pass Scene rendered into hemisphere by shooter Each element is rendered as a quad Per fragment: – Form factor computation – Visibility = Idcolor==hemisphere(projectedPos) – Energy = FF * Reflectance * Visibility

Updating the elements Easy: Blend (src + dst) = additive rendering Render to multiple targets – residual AND full Shooter’s residual framebuffer is simply cleared

Next Shooter Selection Trivial to select element with most energy left – Multiply lowest mipmap level by area HOWEVER, two things to consider – Visual impact of color bleeding – Frame-frame coherence

Problem #1 Importance of color over brightness 6 shots over 64x64 (~0.3 seconds)

Problem #2 Note the flickering as the light source descends, which can be pretty distracting

Problem #2 (2)

Different Preference Measures Sum of components Max of components Variance (+mean) Luminance

SO: Radiosity at realtime framerates (1-10 fps) Quality tradeoffs for speed: – Size of hemisphere texture – Subdivision size – Aggregate shooting Preferential next shooter selection – Brightness – Color – Coherence