Local Vs. Global Illumination & Radiosity

Total Page:16

File Type:pdf, Size:1020Kb

Local Vs. Global Illumination & Radiosity Last Time? Local vs. Global Illumination • Ray Casting & & Radiosity Ray-Object Intersection • Recursive Ray Tracing • Distributed Ray Tracing An early application of radiative heat transfer in stables. Today BRDF • Local Illumination • Ratio of light coming from one direction – BRDF that gets reflected in another direction – Ideal Diffuse Reflectance – Ideal Specular Reflectance • Bidirectional Reflectance – The Phong Model Distribution Function • Why is Global Illumination Important? –4D • Radiosity Equation/Matrix –R(θi ,φi ; θo, φo) • Calculating the Form Factors Incoming Radiance Ideal Diffuse Reflectance • The amount of light received by a • Assume surface reflects equally in surface depends on incoming angle all directions (a.k.a. Lambertian) – Bigger at normal incidence • An ideal diffuse surface is, at the microscopic level, (Winter/Summer difference) n l a very rough surface • By how much? dB • Examples: chalk, Surface – dB = dA cos θ θ clay, some paints – Same as: l . n (dot product with normal) dA Surface 1 Ideal Specular Reflectance Non-Ideal Reflectors • Assume surface reflects n • Real materials tend to be neither only in mirror direction θ θ ideal diffuse nor ideal reflective – View dependent r l • Highlight is blurry, looks glossy • Microscopic surface elements are oriented in Surface the same direction as the surface • Examples: mirrors, highly polished metals Non-Ideal Reflectors The Phong Model • Most light reflects in the ideal reflected direction • How much light is reflected “specularly”? • Microscopic surface variations will reflect light – Depends on the angle between the ideal reflection direction and the viewer direction α. just slightly offset n • How much light is reflected? Camera r q Li Lo = ks (cosα) 2 θ θ r α l ks: specular reflection coefficient q : specular reflection exponent v Surface Effect of the q exponent The Phong Model Ambient Illumination • Sum of three components: • In a typical room, everything receives at least a diffuse reflection + specular reflection + “ambient”. little bit of light • Ambient illumination represents the reflection of all indirect illumination L(ωr ) = ka Surface • This is a total hack! variations in Phong specular exponent 2 Anisotropic BRDFs Questions? • Surfaces with strongly oriented microgeometry • Examples: – brushed metals, hair, fur, cloth, velvet Source: Westin et.al 92 Lightscape http://www.lightscape.com Today Why Global Illumination? • Local Illumination • Simulate all light inter-reflections (indirect lighting) • Why is Global Illumination Important? – in a room, a lot of the light is indirect: it is reflected by walls. • How have we dealt with this so far? – The Cornell Box – Ambient term to fake some uniform indirect light – Radiosity vs. Ray Tracing ray tracing indirect illumination “right” answer • Radiosity Equation/Matrix • Calculating the Form Factors += (no ambient term) it is smooth, but not constant! Henrik Wann Jensen Why Radiosity? Radiosity vs. Ray Tracing • Sculpture by John Ferren • Diffuse panels photograph: Original sculpture by Ray traced image. A standard Image rendered with radiosity. diagram John Ferren lit by ray tracer cannot simulate the note color bleeding effects. daylight from behind. interreflection of light between from above: diffuse surfaces. eye 3 Reading for Today: The Cornell Box • Careful calibration and measurement allows for comparison between physical scene & simulation photograph Goral, Torrance, Greenberg & Battaile photograph simulation Modeling the Interaction of Light Between Diffuse Surfaces Light Measurement Laboratory simulation SIGGRAPH '84 Cornell University, Program for Computer Graphics Two approaches for global illumination Visualizing Inter-reflections… • Radiosity – View-independent – Diffuse materials only • Monte-Carlo Ray-tracing – Send tons of indirect rays direct illumination 1 bounce 2 bounces (0 bounces) images by Micheal Callahan http://www.cs.utah.edu/~shirley/classes/cs684_98/students/callahan/bounce/ Radiosity vs. Ray Tracing Today • Ray tracing is an image-space algorithm • Local Illumination – If the camera is moved, we have to start over • Why is Global Illumination Important? • Radiosity is computed in object-space • Radiosity Equation/Matrix – View-independent • Calculating the Form Factors (just don't move the light) – Can pre-compute complex lighting to allow interactive walkthroughs 4 Radiosity Overview Radiosity Equation • Surfaces are assumed to be perfectly Lambertian (diffuse) L(x',ω') = E(x',ω') + ∫ρx'(ω,ω')L(x,ω)G(x,x')V(x,x') dA – reflect incident light in all Radiosity assumption: directions with equal intensity perfectly diffuse surfaces (not directional) • The scene is divided into a set of small areas, or patches. Bx' = Ex' + ρx' ∫ Bx G(x,x')V(x,x') • The radiosity, Bi, of patch i is the total rate of energy leaving a surface. The radiosity over a patch is constant. ω' • Units for radiosity: Watts / steradian * meter2 x' Continuous Radiosity Equation Discrete Radiosity Equation Discretize the scene into n patches, over which the radiosity is constant reflectivity reflectivity x n Bx' = Ex' + ρx' ∫ G(x,x') V(x,x') Bx Aj = + ρ Bi Ei i ∑ Fij B j form factor j=1 G: geometry term form factor V: visibility term • discrete representation No analytical solution, • iterative solution x’ even for simple configurations Ai • costly geometric/visibility calculations The Radiosity Matrix Solving the Radiosity Matrix n The radiosity of a single patch i is updated for each iteration by = + ρ Bi Ei i ∑ Fij B j gathering radiosities from all other patches: j=1 n simultaneous equations with n unknown Bi values can be written in matrix form: ⎡⎤1−−ρρ111FF 112L − ρ 11 Fn ⎡⎤B1 ⎡⎤E1 ⎢⎥−−ρρFF1 ⎢⎥B ⎢⎥E ⎢⎥221 222 ⎢⎥2 = ⎢⎥2 ⎢⎥MO⎢⎥M ⎢⎥M ⎢⎥⎢⎥ ⎢⎥ ⎣⎦⎢⎥−−ρρnnFF1 LL1 nnn ⎣⎦⎢⎥Bn ⎣⎦⎢⎥En A solution yields a single radiosity value Bi for each patch in the environment, a view-independent solution. This method is fundamentally a Gauss-Seidel relaxation 5 Computing Vertex Radiosities Questions? •Bi radiosity values are constant over the extent of a patch. • How are they mapped to the vertex radiosities (intensities) needed by the renderer? – Average the radiosities of patches that contribute to the vertex – Vertices on the edge of a surface are assigned values extrapolation Factory simulation. Program of Computer Graphics, Cornell University. 30,000 patches. Today Calculating the Form Factor Fij • Local Illumination •Fij = fraction of light energy leaving patch j • Why is Global Illumination Important? that arrives at patch i • The Rendering Equation • Takes account of both: • Radiosity Equation/Matrix – geometry (size, orientation & position) – visibility (are there any occluders?) • Calculating the Form Factors patch j patch j patch j patch i patch i patch i Calculating the Form Factor Fij Form Factor Determination The Nusselt analog: the form factor of a patch is equivalent to the fraction of the •Fij = fraction of light energy leaving patch j that arrives at patch i the unit circle that is formed by taking the projection of the patch onto the patch j hemisphere surface and projecting it down onto the circle. Aj θj r Aj θi dA patch i i r = 1 F dAi,Aj 1 cos θi cos θj Fij = ∫∫ 2 Vij dAj dAi Ai Ai Aj π r 6 Hemicube Algorithm Form Factor from Ray Casting • A hemicube is constructed around the center of each patch •Cast n rays between the two patches • Faces of the hemicube are divided into "pixels" – n is typically between 4 and 32 • Each patch is projected (rasterized) onto the faces of the hemicube – Compute visibility • Each pixel stores its pre-computed form factor – Integrate the point-to-point form factor The form factor for a particular • Permits the computation Aj patch is just the sum of the pixels it overlaps of the patch-to-patch • Patch occlusions are form factor, as opposed handled similar to to point-to-patch A z-buffer rasterization i Questions? Reading for Tuesday 3/4: • “A Two-Pass Solution to the Rendering Equation: A Synthesis of Ray Tracing and Radiosity Methods” Wallace, Cohen, & Greenberg, SIGGRAPH 1987 • Optional Reading: “The Rendering Equation” Kajiya, SIGGRAPH 1986 Lightscape http://www.lightscape.com 7.
Recommended publications
  • An Overview of Modern Global Illumination
    Scholarly Horizons: University of Minnesota, Morris Undergraduate Journal Volume 4 Issue 2 Article 1 July 2017 An Overview of Modern Global Illumination Skye A. Antinozzi University of Minnesota, Morris Follow this and additional works at: https://digitalcommons.morris.umn.edu/horizons Part of the Graphics and Human Computer Interfaces Commons Recommended Citation Antinozzi, Skye A. (2017) "An Overview of Modern Global Illumination," Scholarly Horizons: University of Minnesota, Morris Undergraduate Journal: Vol. 4 : Iss. 2 , Article 1. Available at: https://digitalcommons.morris.umn.edu/horizons/vol4/iss2/1 This Article is brought to you for free and open access by the Journals at University of Minnesota Morris Digital Well. It has been accepted for inclusion in Scholarly Horizons: University of Minnesota, Morris Undergraduate Journal by an authorized editor of University of Minnesota Morris Digital Well. For more information, please contact [email protected]. An Overview of Modern Global Illumination Cover Page Footnote This work is licensed under the Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/ 4.0/. UMM CSci Senior Seminar Conference, April 2017 Morris, MN. This article is available in Scholarly Horizons: University of Minnesota, Morris Undergraduate Journal: https://digitalcommons.morris.umn.edu/horizons/vol4/iss2/1 Antinozzi: An Overview of Modern Global Illumination An Overview of Modern Global Illumination Skye A. Antinozzi Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA 56267 [email protected] ABSTRACT world that enable visual perception of our surrounding envi- Advancements in graphical hardware call for innovative solu- ronments.
    [Show full text]
  • Radiosity Radiosity
    Radiosity Radiosity Motivation: what is missing in ray-traced images? Indirect illumination effects Color bleeding Soft shadows Radiosity is a physically-based illumination algorithm capable of simulating the above phenomena in a scene made of ideal diffuse surfaces. Books: Cohen and Wallace, Radiosity and Realistic Image Synthesis, Academic Press Professional 1993. Sillion and Puech, Radiosity and Global Illumination, Morgan- Kaufmann, 1994. Indirect illumination effects Radiosity in a Nutshell Break surfaces into many small elements Light source Formulate and solve a linear system of equations that models the equilibrium of inter-reflected Eye light in a scene. Diffuse Reflection The solution gives us the amount of light leaving each point on each surface in the scene. Once solution is computed, the shaded elements can be quickly rendered from any viewpoint. Meshing (partition into elements) Radiosity Input geometry Change geometry Form-Factors Change light or colors Solution Render Change view 1 Radiometric quantities The Radiosity Equation Radiant energy [J] Assume that surfaces in the scene have been discretized into n small elements. Radiant power (flux): radiant energy per second [W] Assume that each element emits/reflects light Irradiance (flux density): incident radiant power per uniformly across its surface. unit area [W/m2] Define the radiosity B as the total hemispherical Radiosity (flux density): outgoing radiant power per flux density (W/m2) leaving a surface. unit area [W/m2] Let’’s write down an expression describing the total flux (light power) leaving element i in the Radiance (angular flux dedensity):nsity): radiant power per scene: unit projected area per unit solid angle [W/(m2 sr)] scene: total flux = emitted flux + reflected flux The Radiosity Equation The Form Factor Total flux leaving element i: Bi Ai The form factor Fji tells us how much of the flux Total flux emitted by element i: Ei Ai leaving element j actually reaches element i.
    [Show full text]
  • RADIATION HEAT TRANSFER Radiation
    MODULE I RADIATION HEAT TRANSFER Radiation Definition Radiation, energy transfer across a system boundary due to a T, by the mechanism of photon emission or electromagnetic wave emission. Because the mechanism of transmission is photon emission, unlike conduction and convection, there need be no intermediate matter to enable transmission. The significance of this is that radiation will be the only mechanism for heat transfer whenever a vacuum is present. Electromagnetic Phenomena. We are well acquainted with a wide range of electromagnetic phenomena in modern life. These phenomena are sometimes thought of as wave phenomena and are, consequently, often described in terms of electromagnetic wave length, . Examples are given in terms of the wave distribution shown below: m UV X Rays 0.4-0.7 Thermal , ht Radiation Microwave g radiation Visible Li 10-5 10-4 10-3 10-2 10-1 10-0 101 102 103 104 105 Wavelength, , m One aspect of electromagnetic radiation is that the related topics are more closely associated with optics and electronics than with those normally found in mechanical engineering courses. Nevertheless, these are widely encountered topics and the student is familiar with them through every day life experiences. From a viewpoint of previously studied topics students, particularly those with a background in mechanical or chemical engineering, will find the subject of Radiation Heat Transfer a little unusual. The physics background differs fundamentally from that found in the areas of continuum mechanics. Much of the related material is found in courses more closely identified with quantum physics or electrical engineering, i.e. Fields and Waves.
    [Show full text]
  • Global Illumination for Dynamic Voxel Worlds Using Surfels and Light Probes
    Master of Science in Computer Science May 2020 Global Illumination for Dynamic Voxel Worlds using Surfels and Light Probes Dan Printzell Faculty of Computing, Blekinge Institute of Technology, 371 79 Karlskrona, Sweden This thesis is submitted to the Faculty of Computing at Blekinge Institute of Technology in partial ful- filment of the requirements for the degree of Master of Science in Computer Science. The thesis is equivalent to 20 weeks of full time studies. The authors declare that they are the sole authors of this thesis and that they have not used any sources other than those listed in the bibliography and identified as references. They further declare that they have not submitted this thesis at any other institution to obtain a degree. Contact Information: Author(s): Dan Printzell E-mail: [email protected] University advisor: Dr. Prashant Goswami Department of Computer Science Faculty of Computing Internet : www.bth.se Blekinge Institute of Technology Phone : +46 455 38 50 00 SE–371 79 Karlskrona, Sweden Fax : +46 455 38 50 57 Abstract Background. Getting realistic in 3D worlds has been a goal for the game industry since its creation. With the knowledge of how light works; computing a realistic looking image is possible. The problem is that it takes too much computational power for it to be able to render in real-time with an acceptable frame rate. In a paper Jendersie, Kuri and Grosch [8] and in a thesis by Kuri [9] they present a method of calculation light paths ahead-of- time, that will then be used at run-time to get realistic light.
    [Show full text]
  • Global Illumination Compendium (PDF)
    Global Illumination Compendium September 29, 2003 Philip Dutré [email protected] Computer Graphics, Department of Computer Science Katholieke Universiteit Leuven http://www.cs.kuleuven.ac.be/~phil/GI/ This collection of formulas and equations is supposed to be useful for anyone who is active in the field of global illu- mination in computer graphics. I started this document as a helpful tool to my own research, since I was growing tired of having to look up equations and formulas in various books and papers. As a consequence, many concepts which are ‘trivial’ to me are not in this Global Illumination Compendium, unless someone specifically asked for them. There- fore, any further input and suggestions for more useful content are strongly appreciated. If possible, adequate references are given to look up some of the equations in more detail, or to look up the deriva- tions. Also, an attempt has been made to mention the paper in which a particular idea or equation has been described first. However, over time, many ideas have become ‘common knowledge’ or have been modified to such extent that they no longer resemble the original formulation. In these cases, references are not given. As a rule of thumb, I include a reference if it really points to useful extra knowledge about the concept being described. In a document like this, there is always a fair chance of errors. Please report any errors, such that future versions have the correct equations and formulas. Thanks to the following people for providing me with suggestions and spotting errors: Neeharika Adabala, Martin Blais, Michael Chock, Chas Ehrlich, Piero Foscari, Neil Gatenby, Simon Green, Eric Haines, Paul Heckbert, Vladimir Koylazov, Vincent Ma, Ioannis (John) Pantazopoulos, Fabio Pellacini, Robert Porschka, Mahesh Ramasubramanian, Cyril Soler, Greg Ward, Steve Westin, Andrew Willmott.
    [Show full text]
  • Causes of Color Radiometry for Color
    Causes of color • The sensation of color is caused • Light could be produced in by the brain. different amounts at different wavelengths (compare the sun and • Some ways to get this sensation a fluorescent light bulb). include: • Light could be differentially – Pressure on the eyelids reflected (e.g. some pigments). – Dreaming, hallucinations, etc. • It could be differentially refracted - • Main way to get it is the (e.g. Newton’s prism) response of the visual system to • Wavelength dependent specular the presence/absence of light at reflection - e.g. shiny copper penny various wavelengths. (actually most metals). • Flourescence - light at invisible wavelengths is absorbed and reemitted at visible wavelengths. Computer Vision - A Modern Approach Set: Color Radiometry for color • All definitions are now “per unit wavelength” • All units are now “per unit wavelength” • All terms are now “spectral” • Radiance becomes spectral radiance – watts per square meter per steradian per unit wavelength • Radiosity --- spectral radiosity Computer Vision - A Modern Approach Set: Color 1 Black body radiators • Construct a hot body with near-zero albedo (black body) – Easiest way to do this is to build a hollow metal object with a tiny hole in it, and look at the hole. • The spectral power distribution of light leaving this object is a simple function of temperature Ê 1 ˆ Ê 1 ˆ E(l) µ 5 Á ˜ Ë l ¯ Ë exp(hc klT )-1¯ • This leads to the notion of color temperature --- the temperature of a black body that would look the same Computer Vision - A Modern Approach Set: Color Measurements of relative spectral power of sunlight, made by J.
    [Show full text]
  • Capturing and Simulating Physically Accurate Illumination in Computer Graphics
    Capturing and Simulating Physically Accurate Illumination in Computer Graphics PAUL DEBEVEC Institute for Creative Technologies University of Southern California Marina del Rey, California Anyone who has seen a recent summer blockbuster has witnessed the dramatic increases in computer-generated realism in recent years. Visual effects supervisors now report that bringing even the most challenging visions of film directors to the screen is no longer a question of whats possible; with todays techniques it is only a matter of time and cost. Driving this increase in realism have been computer graphics (CG) techniques for simulating how light travels within a scene and for simulating how light reflects off of and through surfaces. These techniquessome developed recently, and some originating in the 1980sare being applied to the visual effects process by computer graphics artists who have found ways to channel the power of these new tools. RADIOSITY AND GLOBAL ILLUMINATION One of the most important aspects of computer graphics is simulating the illumination within a scene. Computer-generated images are two-dimensional arrays of computed pixel values, with each pixel coordinate having three numbers indicating the amount of red, green, and blue light coming from the corresponding direction within the scene. Figuring out what these numbers should be for a scene is not trivial, since each pixels color is based both on how the object at that pixel reflects light and also the light that illuminates it. Furthermore, the illumination does not only come directly from the lights within the scene, but also indirectly Capturing and Simulating Physically Accurate Illumination in Computer Graphics from all of the surrounding surfaces in the form of bounce light.
    [Show full text]
  • Radiometry and Photometry
    Radiometry and Photometry Wei-Chih Wang Department of Power Mechanical Engineering National TsingHua University W. Wang Materials Covered • Radiometry - Radiant Flux - Radiant Intensity - Irradiance - Radiance • Photometry - luminous Flux - luminous Intensity - Illuminance - luminance Conversion from radiometric and photometric W. Wang Radiometry Radiometry is the detection and measurement of light waves in the optical portion of the electromagnetic spectrum which is further divided into ultraviolet, visible, and infrared light. Example of a typical radiometer 3 W. Wang Photometry All light measurement is considered radiometry with photometry being a special subset of radiometry weighted for a typical human eye response. Example of a typical photometer 4 W. Wang Human Eyes Figure shows a schematic illustration of the human eye (Encyclopedia Britannica, 1994). The inside of the eyeball is clad by the retina, which is the light-sensitive part of the eye. The illustration also shows the fovea, a cone-rich central region of the retina which affords the high acuteness of central vision. Figure also shows the cell structure of the retina including the light-sensitive rod cells and cone cells. Also shown are the ganglion cells and nerve fibers that transmit the visual information to the brain. Rod cells are more abundant and more light sensitive than cone cells. Rods are 5 sensitive over the entire visible spectrum. W. Wang There are three types of cone cells, namely cone cells sensitive in the red, green, and blue spectral range. The approximate spectral sensitivity functions of the rods and three types or cones are shown in the figure above 6 W. Wang Eye sensitivity function The conversion between radiometric and photometric units is provided by the luminous efficiency function or eye sensitivity function, V(λ).
    [Show full text]
  • 3Delight 11.0 User's Manual
    3Delight 11.0 User’s Manual A fast, high quality, RenderMan-compliant renderer Copyright c 2000-2013 The 3Delight Team. i Short Contents .................................................................. 1 1 Welcome to 3Delight! ......................................... 2 2 Installation................................................... 4 3 Using 3Delight ............................................... 7 4 Integration with Third Party Software ....................... 27 5 3Delight and RenderMan .................................... 28 6 The Shading Language ...................................... 65 7 Rendering Guidelines....................................... 126 8 Display Drivers ............................................ 174 9 Error Messages............................................. 183 10 Developer’s Corner ......................................... 200 11 Acknowledgements ......................................... 258 12 Copyrights and Trademarks ................................ 259 Concept Index .................................................. 263 Function Index ................................................. 270 List of Figures .................................................. 273 ii Table of Contents .................................................................. 1 1 Welcome to 3Delight! ...................................... 2 1.1 What Is In This Manual ?............................................. 2 1.2 Features .............................................................. 2 2 Installation ................................................
    [Show full text]
  • Real-Time Global Illumination Using Precomputed Illuminance Composition with Chrominance Compression
    Journal of Computer Graphics Techniques Vol. 5, No. 4, 2016 http://jcgt.org Real-Time Global Illumination Using Precomputed Illuminance Composition with Chrominance Compression Johannes Jendersie1 David Kuri2 Thorsten Grosch1 1TU Clausthal 2Volkswagen AG Figure 1. The Crytek Sponza1 (5.7ms, 245k triangles, 10k caches, 4 band SHs) with a visu- alization of the caches (left) and a Volkswagen test data set using an environment map from Persson2 (10.5ms, 1.35M triangles, 10k caches, 6 band SHs) with multiple bounce indirect illumination and slightly glossy surfaces (right). Abstract In this paper we present a new real-time approach for indirect global illumination under dy- namic lighting conditions. We use surfels to gather a sampling of the local illumination and propagate the light through the scene using a hierarchy and a set of precomputed light trans- port paths. The light is then aggregated into caches for lighting static and dynamic geometry. By using a spherical harmonics representation, caches preserve incident light directions to allow both diffuse and slightly glossy BRDFs for indirect lighting. We provide experimental results for up to eight bands of spherical harmonics to stress the limits of specular reflections. In addition, we apply a chrominance downsampling to reduce the memory overhead of the caches. The sparse sampling of illumination in surfels also enables indirect lighting from many light sources and an efficient progressive multi-bounce implementation. Furthermore, any existing pipeline can be used for surfel lighting, facilitating the use of all kinds of light sources, including sky lights, without a large implementation effort. In addition to the general initial 1Meinl, F.
    [Show full text]
  • Fast Global Illumination for Visualizing Isosurfaces with a 3D Illumination Grid
    A NATOMIC R ENDERING AND V ISUALIZATION Fast Global Illumination for Visualizing Isosurfaces with a 3D Illumination Grid Users who examine isosurfaces of their 3D data sets generally view them with local illumination because global illumination is too computationally intensive. By storing the precomputed illumination in a texture map, visualization systems can let users sweep through globally illuminated isosurfaces of their data at interactive speeds. isualizing a 3D scalar function is an ing) the equation for light transport. Generally, important aspect of data analysis in renderers that solve the light transport equation science, medicine, and engineering. are implemented in software and are conse- However, many software systems for quently much slower than their hardware-based 3DV data visualization offer only the default ren- counterparts. So a user faces the choice between dering capability provided by the computer’s fast-but-incorrect and slow-but-accurate displays graphics card, which implements a graphics li- of illuminated 3D scenes. Global illumination brary such as OpenGL1 at the hardware level to might make complicated 3D scenes more com- render polygons using local illumination. Local prehensible to the human visual system, but un- illumination computes the amount of light that less we can produce it at interactive rates (faster would be received at a point on a surface from a than one frame per second), scientific users will luminaire, neglecting the shadows cast by any continue to analyze isosurfaces of their 3D scalar intervening surfaces and indirect illumination data rendered with less realistic, but faster, local from light reflected from other surfaces. This illumination.
    [Show full text]
  • Real-Time Global Illumination on GPU
    Real-Time Global Illumination on GPU Mangesh Nijasure, Sumanta Pattanaik Vineet Goel U. Central Florida, Orlando, FL ATI Research, Orlando, FL Abstract Our algorithm takes advantage of the capability of the GPU for computing accurate global illumination in 3D We present a system for computing plausible global illu- scenes and is fast enough so that interactive and immer- mination solution for dynamic environments in real time on sive applications with desired complexity and realism are programmable graphics processors (GPUs). We designed a possible. We simulate the transport of light in a synthetic progressive global illumination algorithm to simulate mul- environment by following the light emitted from the light tiple bounces of light on the surfaces of synthetic scenes. source(s) through its multiple bounces on the surfaces of the The entire algorithm runs on ATI’s Radeon 9800 using ver- scene. Light bouncing off the surfaces is captured by cube- tex and fragment shaders, and computes global illumination maps distributed uniformly over the volume of the scene. solution for reasonably complex scenes with moving objects Cube-maps are rendered using graphics hardware. Light is and moving lights in realtime. distributed from these cube-maps to the nearby surface po- sitions by using a simple trilinear interpolation scheme for Keywords: Global Illumination, Real Time Rendering, the computation of each subsequent bounce. Iterative com- Programmable Graphics Hardware. puting of a small number of bounces gives us a plausible approximation of global illumination for scenes involving 1 Introduction both moving objects and changing light sources in fractions of seconds. Traditionally, cube maps are used for hardware simula- Accurate lighting computation is one of the key elements tion of the reflection of the environment on shiny surfaces to realism in rendered images.
    [Show full text]