Paper by Alexander Keller

Slides:



Advertisements
Similar presentations
The Radiance Equation.
Advertisements

Graphics Pipeline.
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.
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.
Ray Tracing & Radiosity Dr. Amy H. Zhang. Outline  Ray tracing  Radiosity.
1. What is Lighting? 2 Example 1. Find the cubic polynomial or that passes through the four points and satisfies 1.As a photon Metal Insulator.
Computer Graphics - Class 10
Real-Time Rendering Paper Presentation Imperfect Shadow Maps for Efficient Computation of Indirect Illumination T. Ritschel T. Grosch M. H. Kim H.-P. Seidel.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Photon Tracing with Arbitrary Materials Patrick Yau.
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.
3D Graphics Processor Architecture Victor Moya. PhD Project Research on architecture improvements for future Graphic Processor Units (GPUs). Research.
Everything on Global Illumination Xavier Granier - IMAGER/UBC.
CSCE 641 Computer Graphics: Radiosity Jinxiang Chai.
Recent Advances in Radiosity Philippe Bekaert Department of Computer Science K.U.Leuven.
The Radiosity Method Donald Fong February 10, 2004.
Foundations of Computer Graphics (Spring 2010) CS 184, Lecture 21: Radiosity
1 Dr. Scott Schaefer Radiosity. 2/38 Radiosity 3/38 Radiosity Physically based model for light interaction View independent lighting Accounts for indirect.
CSCE 441 Computer Graphics: Radiosity Jinxiang Chai.
Computer Graphics (Spring 2008) COMS 4160, Lecture 22: Global Illumination
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Radiosity K. H. Ko School of Mechatronics Gwangju Institute.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
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.
Image-Based Rendering from a Single Image Kim Sang Hoon Samuel Boivin – Andre Gagalowicz INRIA.
Jonathan M Chye Technical Supervisor : Mr Matthew Bett 2010.
-Global Illumination Techniques
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
09/11/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Graphics Pipeline Texturing Overview Cubic Environment Mapping.
CS447/ Realistic Rendering -- Radiosity Methods-- Introduction to 2D and 3D Computer Graphics.
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.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Radiosity K. H. Ko School of Mechatronics Gwangju Institute.

Using Interactive Ray Tracing for Interactive Global Illumination Computer Graphics Lab Saarland University, Germany
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
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.
- Laboratoire d'InfoRmatique en Image et Systèmes d'information
Instant Radiosity Alexander Keller University Kaiserslautern Present by Li-Fong Lin.
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.
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.
02/12/03© 2003 University of Wisconsin Last Time Intro to Monte-Carlo methods Probability.
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.
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.
Global Illumination (3) Path Tracing. Overview Light Transport Notation Path Tracing Photon Mapping.
Radiometry of Image Formation Jitendra Malik. A camera creates an image … The image I(x,y) measures how much light is captured at pixel (x,y) We want.
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.
11/29/01CS 559, Fall 2001 Today Photorealistic rendering Algorithms for producing high-quality images Ways of deciding which algorithm for use.
Radiometry of Image Formation Jitendra Malik. What is in an image? The image is an array of brightness values (three arrays for RGB images)
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
Computer graphics III – Rendering equation and its solution
The Rendering Equation
(c) 2002 University of Wisconsin
Radiosity Dr. Scott Schaefer.
CSCE 441 Computer Graphics: Radiosity
(c) 2002 University of Wisconsin
Foundations of Computer Graphics (Spring 2012)
Frame Buffer Applications
Presentation transcript:

Paper by Alexander Keller Instant Radiosity Paper by Alexander Keller

What is Radiosity? Perfect Diffuse Interaction View-Independent Must be Followed By Projection Computation May have a post-process Ray Tracing enhancement

Process An array of emitting patches Diffuse-Diffuse Interaction between light patch and all receiving patches Mostly iterative procedure Applied to ENTIRE scene.

Output

Single Frame

Combined Solution

Advantages Needs only be calculated once Only if geometry changes is there a need to recalculate the form factors If lighting changes then only equation needs resolving Viewport changes do not need a form factor recalculation

Problems Basic Radiosity Solution is Slow Procedural Process Must cover entire scene

Instant Radiosity Solution Operates on the textured scene Produce photorealistic images without any finite kernel or solution discretization of underlying integral equation Rendering rates of a few seconds are obtained by Hardware, quasi-random walk, jittered low discrepancy sampling. Does NOT need to evaluate form factors or generate meshes

Algorithm Basics Photons are traced from the light source into the scene At the origin of the path of the photon, and where it hits a scene a point light is placed The scene is rendered several times for each light source Resulting image is composited in the accumulation buffer (hardware)

Algorithm Basics Generates a particle approximation of the diffuse radiant scene using Quasi-random walk based on quasi-Monte Carlo integration Hardware renders an image with shadows for each particle used as point light source Illumination is obtained by summing up the single images in an accumulation buffer and displaying the result

The Algorithm Calculate the average radiance passing through a pixel Add that to a discrete density of point light sources Evaluated for all pixels of the image matrix

In Mathematical Terms The Radiance of m to n is an approximation of Source Radiance * Avg Radiance from m to n + The Sum from 0 to M – 1 points of light of Reflectiveness(BRDF) * Radiance of light i * Kronecker delta function of The point on the surface – the position of light i

Pseudocode Variable Defs N – Number of Particles – average reflectivity w – attenuation L – radiance of a point y – point on the surface – aligned normal to y

Pseudocode 1st Level Loop Фn(i) – Base n Halton Sequence yo(Ф2(i), Ф3(i)) – Isometry from unit square to onto each light source Le(y) * supp Le – Sum of source radiance for y * support of the light sources

Pseudocode 2nd Level Loop - Shoot A ray into direction - Return the first point hit when shooting a ray from y into - Reflectivity of the diffuse surface texture /

GL Calls glRenderShadowedScene(LightPower,LightPosition) 2d image that doesn't 'see' that light is black, otherwise it is colored as usual (hard shadows) glAccum(GL_ACCUM, weight) 2d image that was rendered in previous step added to current accumulated buffer Repeated for different bright spots until N iterations are complete. Result is a soft shadowed scene that can be rendered very quickly in OpenGL

Result

Disadvantages View-dependency Rendering tens to hundreds of light sources each frame is too costly Somewhat more suitable for generating quick previews than interactive walkthroughs Not very precise Many point sources have to be rendered for accurate images Problematic! Accumulation buffer only has a limited precision!

Walkthroughs They are possible We could render each lit surface into a texture, and use these as light maps Very time consuming since for every texture a lot of images have to be composited Keep last N images from the last N paths in memory, while the system keeps rendering new images for new paths When an image is finished, the oldest image is replaced by the new one. Suited for extremely slow walkthroughs

Specular Effects Specular Effects Let the algorithm use a full BRDF in the hardware lighting pass, enabling specular highlights In The particle generation phase, random surfaces are tested to be specular or diffuse. Virtual Lights for specular object

Conclusions Provides quickly rendered images for the Global Illumination problem Low precision Inherent upper bounds issues with respect to hardware

OpenGL Implementation 2D Points and the Depth Buffer Shadow Maps Software Restraints Accumulation Buffer Hardware Issues Results

2D Points and the Depth Buffer

Applications Stored Z Values for an X,Y point Clamped [0, 1] Crude vector-object collision detection Special Cases Shadow Maps Hardware Restraints Software Restraints

Hardware Shadow Vs. Software Shadows

Accumulation Buffer Not Hardware Accelerated (Most Cases) Average execution time N = 300 ~265 seconds total ~270 for Software Render ~264 seconds in accumulator

Original Scene

Results: N=75

Results: N=150

Results: N=300