04/30/02(c) 2002 University of Wisconsin Last Time Subdivision techniques for modeling We are now all done with modeling, the standard hardware pipeline.

Slides:



Advertisements
Similar presentations
The Radiance Equation.
Advertisements

Computer Vision Radiometry. Bahadir K. Gunturk2 Radiometry Radiometry is the part of image formation concerned with the relation among the amounts of.
Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
Computer graphics & visualization Global Illumination Effects.
Lecture 14 Illumination II – Global Models
Computer Graphics In4/MSc Computer Graphics Lecture Notes #15 Illumination III View Independent Rendering.
Advanced Computer Graphics
Photorealistic Rendering. Ray tracing v. photorealistic rendering What illumination effects are not captured by ray tracing? What illumination effects.
The Radiance Equation Mel Slater. Outline Introduction Light Simplifying Assumptions Radiance Reflectance The Radiance Equation Traditional Rendering.
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.
Graphics Graphics Korea University cgvr.korea.ac.kr Illumination Model 고려대학교 컴퓨터 그래픽스 연구실.
Ray Tracing & Radiosity Dr. Amy H. Zhang. Outline  Ray tracing  Radiosity.
Subsurface scattering Model of light transport in translucent materials Marble, jade, milk, skin Light penetrates material and exits at different point.
Computer Vision - A Modern Approach Set: Radiometry Slides by D.A. Forsyth Radiometry Questions: –how “bright” will surfaces be? –what is “brightness”?
Light Issues in Computer Graphics Presented by Saleema Amershi.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
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.
Based on slides created by Edward Angel
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 Shading I.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Rendering theory & practice. Introduction  We’ve looked at modelling, surfacing and animating.  The final stage is rendering.  This can be the most.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 10: Global Illumination Ravi Ramamoorthi Some images courtesy.
Computer Graphics (Fall 2008) COMS 4160, Lecture 19: Illumination and Shading 2
Introduction to Computer Vision CS / ECE 181B Tues, May 18, 2004 Ack: Matthew Turk (slides)
1 Dr. Scott Schaefer Radiosity. 2/38 Radiosity 3/38 Radiosity Physically based model for light interaction View independent lighting Accounts for indirect.
Computer Graphics (Spring 2008) COMS 4160, Lecture 22: Global Illumination
CS 480/680 Computer Graphics Shading I Dr. Frederick C Harris, Jr.
CSC418 Computer Graphics n Raytracing n Shadows n Global Illumination.
EECS 274 Computer Vision Light and Shading. Radiometry – measuring light Relationship between light source, surface geometry, surface properties, and.
Global Illumination. Direct Illumination vs. Global Illumination reflected, scattered and focused light (not discreet). physical-based light transport.
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.
12/05/02(c) 2002 University of Wisconsin Last Time Subdivision techniques for modeling Very brief intro to global illumination.
-Global Illumination Techniques
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
CS447/ Realistic Rendering -- Radiosity Methods-- Introduction to 2D and 3D Computer Graphics.
01/21/05© 2005 University of Wisconsin Last Time Course introduction A simple physically-based rendering example.
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology Basic Rendering Pipeline and Shading Spring 2012.
Towards a Taxonomy of Global Illumination Algorithms Philip Dutré Program of Computer Graphics Cornell University.
111/17/ :21 Graphics II Global Rendering and Radiosity Session 9.
Global Illumination: Radiosity, Photon Mapping & Path Tracing Rama Hoetzlein, 2009 Lecture Notes Cornell University.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
Monte-Carlo Ray Tracing and
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.
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
02/12/03© 2003 University of Wisconsin Last Time Intro to Monte-Carlo methods Probability.
In the name of God Computer Graphics. Last Time Some techniques for modeling Today Global illumination and raytracing.
Local Illumination and Shading
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Path Tracing Algorithms K. H. Ko School of Mechatronics Gwangju.
Slide 1Lastra, 2/14/2016 Monte-Carlo Methods. Slide 2Lastra, 2/14/2016 Topics Kajiya’s paper –Showed that existing rendering methods are approximations.
Global Illumination (3) Path Tracing. Overview Light Transport Notation Path Tracing Photon Mapping.
02/9/05© 2005 University of Wisconsin Last Time Lights Next assignment – Implement Kubelka-Munk as a BSDF.
01/27/03© 2002 University of Wisconsin Last Time Radiometry A lot of confusion about Irradiance and BRDFs –Clarrified (I hope) today Radiance.
Distributed Ray Tracing. Can you get this with ray tracing?
CS552: Computer Graphics Lecture 33: Illumination and Shading.
11/29/01CS 559, Fall 2001 Today Photorealistic rendering Algorithms for producing high-quality images Ways of deciding which algorithm for use.
CS552: Computer Graphics Lecture 36: Ray Tracing.
Computer Graphics: Illumination
Introduction to Ray Tracing Dr. B. Raghu Professor /CSE Sri Ramanujar Engineering College.
Advanced Computer Graphics
Hank Childs, University of Oregon
Shading Revisited Some applications are intended to produce pictures that look photorealistic, or close to it The image should look like a photograph A.
Radiometry (Chapter 4).
© 2002 University of Wisconsin
© University of Wisconsin, CS559 Fall 2004
© 2005 University of Wisconsin
(c) 2002 University of Wisconsin
Path Tracing (some material from University of Wisconsin)
Radiosity Dr. Scott Schaefer.
(c) 2002 University of Wisconsin
(c) University of Wisconsin
Presentation transcript:

04/30/02(c) 2002 University of Wisconsin Last Time Subdivision techniques for modeling We are now all done with modeling, the standard hardware pipeline and image manipulation Two weeks to go for project 3

04/30/02(c) 2002 University of Wisconsin This Week and Next Some graphics topics that we will cover at a higher level –Other ways of rendering –Other ways of calculating lighting –Animation Today: Global illumination and raytracing

04/30/02(c) 2002 University of Wisconsin Shading Revisited Some applications are intended to produce pictures that look photorealistic, or close to it –The image should look like a photograph –A better metric is perceptual: the image should generate a target set of perceptions –Applications include: Film special effects, Training simulations, Computer games, Architectural visualizations, Psychology experiments, … To achieve the goal of photorealism, we must think carefully about light and how it interacts with surfaces What you should take away: The various aspects of light interaction and how algorithms capture or ignore them

04/30/02(c) 2002 University of Wisconsin Light Transport Light transport problems are concerned with how much light arrives at any surface, and from what direction The physical quantity of interest is radiance: How much light (power) is traveling along a line in space per unit foreshortened area per unit solid angle –We will not go into the theory - it takes 3 hours just to give the definitions and equations –CS779 will cover this material in detail Similar problems arise in radiated heat transport (i.e. satellites), where some of the technology was originally developed

04/30/02(c) 2002 University of Wisconsin Radiometry Radiometry: The study of light distribution: –how “bright” will surfaces be? –what is “brightness”? measuring light interactions between light and surfaces Core idea - think about light arriving at a surface Around any point is a hemisphere of directions Simplest problems can be dealt with by reasoning about this hemisphere

04/30/02(c) 2002 University of Wisconsin Lambert’s wall How bright are various locations on the plane?

04/30/02(c) 2002 University of Wisconsin More complex wall Which points on the plane are brightest?

04/30/02(c) 2002 University of Wisconsin More complex wall

04/30/02(c) 2002 University of Wisconsin Light Transport Which surface gets more light? Why? How much light reaches point “a”? If the walls are black? If the walls are mirrors? a a b

04/30/02(c) 2002 University of Wisconsin Reflectance Modeling Reflectance modeling is concerned with the way in which light reflects off surfaces –Clearly important to deciding what surfaces look like –Also important in solving the light transport problem Physical quantity is BRDF: Bidirectional Reflectance Distribution Function –A function of a point on the surface, an incoming light direction, and an outgoing light direction –Tells you how much of the light that comes in from one direction goes out in another direction –General BRDFs are difficult to work with, so simplifications are made

04/30/02(c) 2002 University of Wisconsin Simple BRDFs Diffuse surfaces: –Uniformly reflect all the light they receive Sum up all the light that is arriving: Irradiance Send it back out in all directions –A reasonable approximation for matte paints, soot, carpet Perfectly specular surfaces: –Reflect incoming light only in the mirror direction Rough specular surfaces: –Reflect incoming light around the mirror direction Diffuse + Specular: –A diffuse component and a specular component

04/30/02(c) 2002 University of Wisconsin Light Sources Sources emit light: exitance Different light sources are defined by how they emit light: –How much they emit in each direction from each point on their surface –For some algorithms, “point” lights cannot exist –For other algorithms, only “point” light can exist

04/30/02(c) 2002 University of Wisconsin Global Illumination Equation The total light leaving a point is given by the sum of two major terms: –Exitance from the point –Incoming light from other sources reflected at the point Light leaving ExitanceSumBRDFIncoming light Incoming light reflected at the point

04/30/02(c) 2002 University of Wisconsin Photorealistic Lighting Photorealistic lighting requires solving the equation! –Not possible in the general case with today’s technology Light transport is concerned with the “incoming light” part of the equation –Notice the chicken and egg problem To know how much light leaves a point, you need to know how much light reaches it To know how much light reaches a point, you need to know light leaves every other point Reflectance modeling is concerned with the BRDF –Hard because BRDFs are high dimensional functions that tend to change as surfaces change over time

04/30/02(c) 2002 University of Wisconsin Classifying Rendering Algorithms One way to classify rendering algorithms is according to the type of light interactions they capture For example: The OpenGL lighting model captures: –Direct light to surface to eye light transport –Diffuse and rough specular surface reflectance –It actually doesn’t do light to surface transport correctly, because it doesn’t do shadows We would like a way of classifying interactions: light paths

04/30/02(c) 2002 University of Wisconsin Classifying Light Paths Classify light paths according to where they come from, where they go to, and what they do along the way Assume only two types of surface interactions: –Pure diffuse, D –Pure specular, S Assume all paths of interest: –Start at a light source, L –End at the eye, E Use regular expressions on the letters D, S, L and E to describe light paths –Valid paths are L(D|S)*E

04/30/02(c) 2002 University of Wisconsin Simple Light Path Examples LE –The light goes straight from the source to the viewer LDE –The light goes from the light to a diffuse surface that the viewer can see LSE –The light is reflected off a mirror into the viewer’s eyes L(S|D)E –The light is reflected off either a diffuse surface or a specular surface toward the viewer Which do OpenGL (approximately) support?

04/30/02(c) 2002 University of Wisconsin Radiosity Cornell box, due to Henrik wann Jensen, ~hwj, rendered with ray tracer More Complex Light Paths Find the following: –LE –LDE –LSE –LDDE –LDSE –LSDE

04/30/02(c) 2002 University of Wisconsin More Complex Light Paths LE LDDE LDE LSDE LSE LDSE

04/30/02(c) 2002 University of Wisconsin The OpenGL Model The “standard” graphics lighting model captures only L(D|S)E It is missing: –Light taking more than one diffuse bounce: LD*E Should produce an effect called color bleeding, among other things Approximated, grossly, by ambient light –Light refracted through curved glass Consider the refraction as a “mirror” bounce: LDSE –Light bouncing off a mirror to illuminate a diffuse surface: LS+D+E –Many others

04/30/02(c) 2002 University of Wisconsin Raytracing Cast rays out from the eye, through each pixel, and determine what they hit first –Builds the image pixel by pixel, one at a time Cast additional rays from the hit point to determine the pixel color –Shadow rays toward each light. If they hit something, then the object is shadowed from that light, otherwise use “standard” model for the light –Reflection rays for mirror surfaces, to see what should be reflected in the mirror –Transmission rays to see what can be seen through transparent objects –Sum all the contributions to get the pixel color

04/30/02(c) 2002 University of Wisconsin Raytracing Shadow rays Reflection ray Transmitted ray

04/30/02(c) 2002 University of Wisconsin Recursive Ray Tracing When a reflected or refracted ray hits a surface, repeat the whole process from that point –Send out more shadow rays –Send out new reflected ray (if required) –Send out a new refracted ray (if required) –Generally, reduce the weight of each additional ray when computing the contributions to surface color –Stop when the contribution from a ray is too small to notice What light paths does recursive ray tracing capture?

04/30/02(c) 2002 University of Wisconsin PCKTWTCH by Kevin Odhner, POV-Ray

04/30/02(c) 2002 University of Wisconsin Kettle, Mike Miller, POV- Ray

04/30/02(c) 2002 University of Wisconsin

04/30/02(c) 2002 University of Wisconsin Ray-traced Cornell box, due to Henrik Jensen, Which paths are missing?

04/30/02(c) 2002 University of Wisconsin

04/30/02(c) 2002 University of Wisconsin Next time… Implementing a ray-tracer Radiosity basics