Lightscape A Tool for Design, Analysis and Presentation. Architecture Integrated Building Systems

Similar documents
Local vs. Global Illumination & Radiosity

The Rendering Equation & Monte Carlo Ray Tracing

CS 428: Fall Introduction to. Radiosity. Andrew Nealen, Rutgers, /7/2009 1

CS770/870 Spring 2017 Radiosity

CS770/870 Spring 2017 Radiosity

Radiosity. Johns Hopkins Department of Computer Science Course : Rendering Techniques, Professor: Jonathan Cohen

Introduction to Radiosity

Anti-aliasing. Images and Aliasing

Today. Anti-aliasing Surface Parametrization Soft Shadows Global Illumination. Exercise 2. Path Tracing Radiosity

Global Illumination and Radiosity

Radiosity. Early Radiosity. Page 1

Global Illumination CS334. Daniel G. Aliaga Department of Computer Science Purdue University

A Brief Overview of. Global Illumination. Thomas Larsson, Afshin Ameri Mälardalen University

Computer Graphics. Lecture 14 Bump-mapping, Global Illumination (1)

Illumination models: Radiosity analysis

Global Illumination. COMP 575/770 Spring 2013

Global Illumination and the Rendering Equation

S U N G - E U I YO O N, K A I S T R E N D E R I N G F R E E LY A VA I L A B L E O N T H E I N T E R N E T

COMP3421. Global Lighting Part 2: Radiosity

Computer Graphics. Lecture 13. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura

Computer Graphics. Lecture 10. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura 12/03/15

Global Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

Radiance. Radiance properties. Radiance properties. Computer Graphics (Fall 2008)

MIT Monte-Carlo Ray Tracing. MIT EECS 6.837, Cutler and Durand 1

6. Illumination, Lighting

CMSC427 Advanced shading getting global illumination by local methods. Credit: slides Prof. Zwicker

Rendering. Mike Bailey. Rendering.pptx. The Rendering Equation

Orthogonal Projection Matrices. Angel and Shreiner: Interactive Computer Graphics 7E Addison-Wesley 2015

Lighting and Shading Computer Graphics I Lecture 7. Light Sources Phong Illumination Model Normal Vectors [Angel, Ch

Core ideas: Neumann series

Schedule. MIT Monte-Carlo Ray Tracing. Radiosity. Review of last week? Limitations of radiosity. Radiosity

Reflection and Shading

Recollection. Models Pixels. Model transformation Viewport transformation Clipping Rasterization Texturing + Lights & shadows

CS5620 Intro to Computer Graphics

Photorealism vs. Non-Photorealism in Computer Graphics

Introduction to Radiosity

Dynamic Ambient Occlusion and Indirect Lighting. Michael Bunnell NVIDIA Corporation

Lighting. Figure 10.1

Global Illumination. Global Illumination. Direct Illumination vs. Global Illumination. Indirect Illumination. Soft Shadows.

The Rendering Equation and Path Tracing

Virtual Reality for Human Computer Interaction

Photorealism. Ray Tracing Texture Mapping Radiosity

A Survey of Radiosity and Ray-tracing. Methods in Global Illumination

Global Illumination. CSCI 420 Computer Graphics Lecture 18. BRDFs Raytracing and Radiosity Subsurface Scattering Photon Mapping [Ch

Introduction to 2D and 3D Computer Graphics. Realistic Rendering. -- Radiosity Methods--

Advanced Graphics. Global Illumination. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd

Starting this chapter

So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources.

in order to apply the depth buffer operations.

Shading I Computer Graphics I, Fall 2008


Global Illumination. Why Global Illumination. Pros/Cons and Applications. What s Global Illumination

Realtime Shading of Folded Surfaces

Point based global illumination is now a standard tool for film quality renderers. Since it started out as a real time technique it is only natural

Comparison of radiosity and ray-tracing techniques with a practical design procedure for the prediction of daylight levels in atria

CS 488. More Shading and Illumination. Luc RENAMBOT

Sources, shadows and shading

CSE 681 Illumination and Phong Shading

w Foley, Section16.1 Reading

Global Illumination. Global Illumination. Direct Illumination vs. Global Illumination. Indirect Illumination. Soft Shadows.

Raytracing & Epsilon. Today. Last Time? Forward Ray Tracing. Does Ray Tracing Simulate Physics? Local Illumination

University of Victoria CSC 305 Shading. Brian Wyvill 2016

Rendering Algorithms: Real-time indirect illumination. Spring 2010 Matthias Zwicker

Announcement. Lighting and Photometric Stereo. Computer Vision I. Surface Reflectance Models. Lambertian (Diffuse) Surface.

Computer Graphics Global Illumination

Radiometry, Radiosity and Photon Mapping

Overview. Radiometry and Photometry. Foundations of Computer Graphics (Spring 2012)

lecture 19 Shadows - ray tracing - shadow mapping - ambient occlusion Interreflections

surface: reflectance transparency, opacity, translucency orientation illumination: location intensity wavelength point-source, diffuse source

Shadows. COMP 575/770 Spring 2013

Comp 410/510 Computer Graphics. Spring Shading

GLOBAL ILLUMINATION. Christopher Peters INTRODUCTION TO COMPUTER GRAPHICS AND INTERACTION

Consider a partially transparent object that is illuminated with two lights, one visible from each side of the object. Start with a ray from the eye

Lecture 15: Shading-I. CITS3003 Graphics & Animation

The Design and Implementation of a Radiosity Renderer. Alexandru Telea

Soft shadows. Steve Marschner Cornell University CS 569 Spring 2008, 21 February

2001, Denis Zorin. Subdivision Surfaces

BRDF Computer Graphics (Spring 2008)

Topic 12: Texture Mapping. Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping

Topic 11: Texture Mapping 11/13/2017. Texture sources: Solid textures. Texture sources: Synthesized

Shadows & Programmable Shaders

Photometric Stereo. Lighting and Photometric Stereo. Computer Vision I. Last lecture in a nutshell BRDF. CSE252A Lecture 7

Global Illumination. Frank Dellaert Some slides by Jim Rehg, Philip Dutre

Topic 9: Lighting & Reflection models 9/10/2016. Spot the differences. Terminology. Two Components of Illumination. Ambient Light Source

Simple Lighting/Illumination Models

Ambien Occlusion. Lighting: Ambient Light Sources. Lighting: Ambient Light Sources. Summary

Topic 9: Lighting & Reflection models. Lighting & reflection The Phong reflection model diffuse component ambient component specular component

ECS 175 COMPUTER GRAPHICS. Ken Joy.! Winter 2014

Topic 11: Texture Mapping 10/21/2015. Photographs. Solid textures. Procedural

Photorealism CS 460/560. Shadows Ray Tracing Texture Mapping Radiosity. Computer Graphics. Binghamton University. EngiNet. Thomas J.

Lecture 7 - Path Tracing

CS-184: Computer Graphics. Today. Lecture #16: Global Illumination. Sunday, November 8, 2009

Illumination & Shading

To Do. Advanced Computer Graphics. Course Outline. Course Outline. Illumination Models. Diffuse Interreflection

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Illumination & Shading: Part 1

Computer Graphics. Illumination and Shading

WHY WE NEED SHADING. Suppose we build a model of a sphere using many polygons and color it with glcolor. We get something like.

Global Illumination The Game of Light Transport. Jian Huang

Accelerated Ambient Occlusion Using Spatial Subdivision Structures

Transcription:

Lightscape A Tool for Design, Analysis and Presentation Architecture 4.411 Integrated Building Systems

Lightscape A Tool for Design, Analysis and Presentation Architecture 4.411 Building Technology Laboratory

Assessing lighting inside a Shanghai apartment

Illuminance levels- December

Illuminance levels throughout the year for a library in Montana

A school in Montana Is there enough light in the classroom? Is glare a problem?

Light enters from south, with overhang, and from north wall

Summer, 10 a.m.

Winter, 10 a.m.

Palladio s work: comparing light for his design, with a portico, and as built, without the portico

The portico has little impact on the light

Why Radiosity? eye A powerful demonstration introduced by Goral et al. of the differences between radiosity and traditional ray tracing. This sculpture, designed by John Ferren, consists of a series of vertical boards painted white on the faces visible to the viewer. The back faces of the boards are painted bright colors. The sculpture is illuminated by light entering a window behind the sculpture, so light reaching the viewer first reflects off the colored surfaces, then off the white surfaces before entering the eye. As a result, the colors from the back boards bleed onto the white surfaces.

Radiosity vs. Ray Tracing Original sculpture lit by daylight from the rear. Ray traced image. A standard ray tracer cannot simulate the interreflection of light between diffuse surfaces. Image rendered with radiosity. Note color bleeding effects.

Ray Tracing vs. Radiosity Ray tracing is an image-space algorithm, while radiosity is computed in object space. Because the solution is limited by the view, ray tracing is often said to provide a view-dependent solution, although this is somewhat misleading in that it implies that the radiance itself is dependent on the view, which is not the case. The term view-independent refers only to the use of the view to limit the set of locations and directions for which the radiance is computed.

Radiosity Introduction The radiosity approach to rendering has its basis in the theory of heat transfer. This theory was applied to computer graphics in 1984 by Goral et al. Surfaces in the environment are assumed to be perfect (or Lambertian) diffusers, reflectors, or emitters. Such surfaces are assumed to reflect incident light in all directions with equal intensity. A formulation for the system of equations is facilitated by dividing the environment into a set of small areas, or patches. The radiosity over a patch is constant. The radiosity, B, of a patch is the total energy leaving a surface and is equal to the sum of the emitted and reflected energies.

Interchange Between Patches This equation relates the energy reflected from a patch to any selfemitted energy plus the energy incoming from all other patches: BdA = EdA + ρ B daf i i i i i j j da da Radiosity x area = emitted energy + reflected energy j j i da j r θ j θ i da i

A Radiosity Equation For an environment that has been discretized into n patches, over which the radiosity is constant (i.e. both B and E are constant across a patch), we have the basic radiosity relationship: reflectivity j B i = E i + ρ i n j=1 F ij B j Form factor A i discrete representation iterative solution costly geometric/visibility calculations

The Radiosity Matrix A solution yields a single radiosity value B i for each patch in the environment a viewindependent solution. The B i values can be used in a standard renderer and a particular view of the environment constructed from the radiosity solution. 1 2 n B B B 1 2 n E E E = 1 11 1 12 1 1 2 21 2 22 1 1 1 1 n n n n nn F F F F F F F ρ ρ ρ ρ ρ ρ ρ Such an equation exists for each patch, and in a closed environment, a set of n simultaneous equations in n unknown B i values is obtained: i B i B

Standard Solution of the Radiosity Matrix The radiosity of a single patch i is updated for each iteration by gathering radiosities from all other patches: B1 E1 B1 B 2 E 2 B 2 = + Bi Ei ρifi1 ρifi 1 ρifinbi B E B n n n

Computing Vertex Radiosities Recall that radiosity values are constant over the extent of a patch. A standard renderer requires vertex radiosities (intensities). These can be obtained for a vertex by computing the average of the radiosities of patches that contribute to the vertex under consideration. Vertices on the edge of a surface can be allocated values by extrapolation through interior vertex values, as shown on the right:

Stages in a Radiosity Solution Form factor calculation Calcul des facteurs de forme Solution to the Solution system du système of d'équations equations Input of scene geometry Entrée de la géométrie Entrée Input des propriétés of reflectance de réflectance properties Radiosity solution Solution de radiosité Viewing conditions Conditions de vue Visualization Visualisation Image Radiosity image

Progressive Refinement The idea of progressive refinement is to provide a quickly rendered image to the user that is then gracefully refined en route to a more accurate solution. The radiosity method is especially amenable to this approach. The two major practical problems of the radiosity method are the storage costs and the calculation of the form factors. The requirements of progressive refinement and the elimination of precalculation and storage of the form factors are met by a restructuring of the radiosity algorithm. The key idea is that the entire scene, rather than a single patch, is updated at each iteration.

Reordering the Solution for PR Shooting: the radiosity of all patches is updated for each iteration: B1 B1 ρ1f1 i B B ρ F 2 2 2 2i = + Bi Bn Bn ρnfni

Progressive Refinement Pseudocode While (not converged) { pick i, such that B i * A j is largest; for (every element) { rad = ρ j * F ji ; B j = B j + rad; B j = B j + rad; } B i = 0 display image using B i as the intensity of element i; }

Progressive Refinement w/out Ambient Term

Progressive Refinement with Ambient Term

Form Factor Determination The Nusselt analog: the form factor of a patch is equivalent to the fraction of the the unit circle that is formed by taking the projection of the patch onto the hemisphere surface and projecting it down onto the circle. A j A j r = 1 da i F dai,a j

A hemicube is constructed around the center of each patch. (Faces of the hemicube are divided into pixels.) We project a patch onto the faces of the hemicube. The form factor is determined by summing the pixels onto which the patch projects. Occlusion is handled by comparing distances of patches that project onto the same hemicube pixels. The HC simultaneously offers an efficient (though approximate) method of form factor determination and a solution to the occlusion problem between patches. Hemicube Algorithm

Increasing the Accuracy of the Solution The quality of the image is a function of the size of the patches. In regions of the scene that exhibit a high radiosity gradient, such as shadow boundaries, the patches should be subdivided. We call this adaptive subdivision. The basic idea is as follows: Compute a solution on a uniform initial mesh; the mesh is then refined by subdividing elements that exceed some error tolerance. What s wrong with this picture?

Adaptive Subdivision of Patches Coarse patch solution (145 patches) Improved solution (1021 subpatches) Adaptive subdivision (1306 subpatches)

Adaptive Subdivision Pseudocode Adaptive_subdivision (error_tolerance) { Create initial mesh of constant elements; Compute form factors; Solve linear system; do until (all elements within error tolerance or minimum element size reached) { Evaluate accuracy by comparing adjacent element radiosities; Subdivide elements that exceed user-specified error tolerance; for (each new element) { Compute form factors from new element to all other elements; Compute radiosity of new element based on old radiosity values; } } }

Structure of the Solution Calculation of form factors (> 90 %) Solution to the system of equations ( < 10 %) Rendering the image (0 %) Form factor calculation Calcul des facteurs de forme Solution Solution to du the système system of d'équations equations Solution de radiosité Radiosity solution Visualization Visualisation Input Entrée of de la scene géométrie geometry Entrée Input des propriétés of de réflectance reflectance properties Conditions de vue Viewing conditions Radiosity Imageimage