02/28/05© 2005 University of Wisconsin Last Time Scattering theory Integrating tranfer equations.

Slides:



Advertisements
Similar presentations
1 Graphics CSCI 343, Fall 2013 Lecture 18 Lighting and Shading.
Advertisements

Computer graphics & visualization Global Illumination Effects.
Week 5 - Friday.  What did we talk about last time?  Quaternions  Vertex blending  Morphing  Projections.
Local Reflection Model Jian Huang, CS 594, Fall 2002.
A Practical Analytic Model for Daylight
The Radiance Equation Mel Slater. Outline Introduction Light Simplifying Assumptions Radiance Reflectance The Radiance Equation Traditional Rendering.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 21: Radiometry Many slides courtesy Pat Hanrahan.
Rendering Outdoor Light Scattering in Real Time
Radiometry. Outline What is Radiometry? Quantities Radiant energy, flux density Irradiance, Radiance Spherical coordinates, foreshortening Modeling surface.
Physically Based Illumination Models
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
Advanced Computer Graphics (Spring 2013) CS 283, Lecture 8: Illumination and Reflection Many slides courtesy.
Subsurface scattering
Subsurface scattering Model of light transport in translucent materials Marble, jade, milk, skin Light penetrates material and exits at different point.
Torrance Sparrow Model of Reflectance + Oren Nayar Model of Reflectance.
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.
Week 9 - Wednesday.  What did we talk about last time?  Fresnel reflection  Snell's Law  Microgeometry effects  Implementing BRDFs  Image based.
Atmospheric effect in the solar spectrum
University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2006 Don Fussell Previous lecture Reflectance I BRDF, BTDF, BSDF Ideal specular.
Shree Nayar and Srinivasa Narasimhan Computer Science Columbia University ICCV Conference Korfu, Greece, September 1999 Sponsors: NSF Vision in Bad Weather.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Photon Tracing with Arbitrary Materials Patrick Yau.
Scattering and reflection Both phenomena occur and overlap. The main factor controlling them is particle size: scattering occurs for particles smaller.
3/23/2005 © Dr. Zachary Wartell 1 Illumination Models and Surface- Rendering Methods.
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)
7M836 Animation & Rendering
Rendering General BSDFs and BSSDFs Randy Rauwendaal.
To compute the solar radiation flux density at the surface we need to know effects of atmosphere in filtering and depleting the beam from the top of the.
BSSRDF: Bidirectional Surface Scattering Reflectance Distribution Functions Jared M. Dunne C95 Adv. Graphics Feb. 7, 2002 Based on: "A Practical Model.
Shading / Light Thanks to Srinivas Narasimhan, Langer-Zucker, Henrik Wann Jensen, Ravi Ramamoorthi, Hanrahan, Preetham.
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.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 BSSRDF – Bidirectional surface scattering reflectance distribution function Radiance theory BRDF.
Attenuation by absorption and scattering
02/25/05© 2005 University of Wisconsin Last Time Meshing Volume Scattering Radiometry (Adsorption and Emission)
Multiple Scattering in Vision and Graphics Lecture #21 Thanks to Henrik Wann Jensen.
SeaDAS Training ~ NASA Ocean Biology Processing Group 1 Level-2 ocean color data processing basics NASA Ocean Biology Processing Group Goddard Space Flight.
-Global Illumination Techniques
Week 10 - Wednesday.  What did we talk about last time?  Shadow volumes and shadow mapping  Ambient occlusion.
Computer Graphics Global Illumination: Photon Mapping, Participating Media Lecture 12 Taku Komura.
Advanced Illumination Models Chapter 7 of “Real-Time Rendering, 3 rd Edition”
CS348B Lecture 16Pat Hanrahan, Spring 2005 Participating Media & Vol. Scattering Applications Clouds, smoke, water, … Subsurface scattering: paint, skin,
Announcements Office hours today 2:30-3:30 Graded midterms will be returned at the end of the class.
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.
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
University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell Participating Media & Vol. Scattering Applications Clouds, smoke,
Computer Graphics (Spring 2003) COMS 4160, Lecture 18: Shading 2 Ravi Ramamoorthi Guest Lecturer: Aner Benartzi.
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.
02/2/05© 2005 University of Wisconsin Last Time Reflectance part 1 –Radiometry –Lambertian –Specular.
In the name of God Computer Graphics. Last Time Some techniques for modeling Today Global illumination and raytracing.
Illumination Model How to compute color to represent a scene As in taking a photo in real life: – Camera – Lighting – Object Geometry Material Illumination.
02/07/03© 2003 University of Wisconsin Last Time Finite element approach Two-pass approaches.
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.
Computer Graphics Lecture 30 Mathematics of Lighting and Shading - IV Taqdees A. Siddiqi
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
Computer Graphics: Illumination
Shading Revisited Some applications are intended to produce pictures that look photorealistic, or close to it The image should look like a photograph A.
© 2002 University of Wisconsin
© 2003 University of Wisconsin
(c) 2002 University of Wisconsin
Path Tracing (some material from University of Wisconsin)
© 2003 University of Wisconsin
(c) 2002 University of Wisconsin
The Rendering Equation
A Practical Model for Subsurface Light Transport
Presentation transcript:

02/28/05© 2005 University of Wisconsin Last Time Scattering theory Integrating tranfer equations

02/28/05© 2005 University of Wisconsin Today Sub-surface scattering Sky models

02/28/05© 2005 University of Wisconsin Subsurface Scattering Kubelka-Munk is a gross approximation to real scattering Subsurface scattering is very important to capturing the appearance of organic materials

02/28/05© 2005 University of Wisconsin BSSRDF Bidirectional surface scattering reflectance distribution function, S Relates the outgoing radiance at one point to the incident flux at another BRDF makes the assumption that x i = x o To get the total radiance leaving a point, integrate over the surface and the incoming directions S depends on the sub-surface scattering of the material

02/28/05© 2005 University of Wisconsin Practical Model Wann Jensen, Marschner, Levoy and Hanrahan, 2001 Handles non-isotropic media Does not require extensive Monte-Carlo raytracing –Just a modified version of distribution ray-tracing Approximation based on: –Multiple bounce scattering – diffuse component –Single bounce scattering – directional component

02/28/05© 2005 University of Wisconsin Single Scattering Term Assume one scattering event on the path from incoming to outgoing ray To get outgoing radiance, integrate along refracted ray ii oo xixi xoxo s

02/28/05© 2005 University of Wisconsin Single Scattering Term S (1) is defined by this formula

02/28/05© 2005 University of Wisconsin Multiple Scattering Observation: multiple scattering tends to look diffuse –Each scattering event tends to blur the distribution of radiance, until it looks uniform For flat, semi-infinite surfaces, the effect of multiple scattering can be approximated with two virtual light sources –One inside the medium –One “negative” light outside the medium –The diffusion approximation

02/28/05© 2005 University of Wisconsin Diffuse Scattering Term (the flavor) This equation uses the Fresnel, coefficients to scale the incoming radiance, coefficients for transmission and adsorption, and variables for the location of the virtual light sources

02/28/05© 2005 University of Wisconsin Fitting Parameters There are 4 material dependent parameters:  ’ s,  a, ,  –Each parameter, except , depends on wavelength Measure by taking a high dynamic range image of a sample piece illuminated by a focused light –High dynamic range imagery will be covered later

02/28/05© 2005 University of Wisconsin Rendering with the BSSRDF Rendering has to take into account: –Efficient integration of the BSSRDF including importance sampling –Single scattering for arbitrary geometry –Diffuse scattering for arbitrary geometry –Texture on the surface Use a distribution ray-tracer Each time you hit a surface point, x o, have to sample incoming points, x i to estimate integral

02/28/05© 2005 University of Wisconsin Sampling Approaches For single scattering terms, sample points along the refracted outgoing ray –Cast shadow ray to light to find out incoming radiance –Push this through single scattering equation to get outgoing –Make distant light approximation to ease computations For diffuse scattering term, sample points around the outgoing point –Then place the virtual lights and evaluate the equation –Must be careful to put virtual lights in appropriate places For texture, use parameters from x i for diffuse, and combination of x i and x o for single scattering

02/28/05© 2005 University of Wisconsin Results

02/28/05© 2005 University of Wisconsin More Results

02/28/05© 2005 University of Wisconsin Can’t Escape the Bunny

02/28/05© 2005 University of Wisconsin Sky Illumination The sky is obviously an important source of illumination The atmosphere is an important participating medium over large distances (hundreds of meters) –People use atmospheric effects to judge distances (stereo and disparity effects are useless at large distances) Three models: –CIE model –Perez model –Preetham, Shirley and Smits model

02/28/05© 2005 University of Wisconsin Atmospheric Phenomena Due to solar illumination and scattering in the atmosphere Air molecules are modeled by Rayleigh scattering –Optical extinction coefficient varies with -4 –What phenomena does this explain? Scattering due to larger particles is modeled with Mie scattering –Scattering depends less on wavelength, so what color is haze? Turbidity is a useful measurement: T=(t m +t h )/t m –t m is vertical optical thickness of molecular atmosphere –t h is vertical optical thickness of haze atmosphere

02/28/05© 2005 University of Wisconsin Simulation Models These attempt to simulate the scattering in the atmosphere to produce images –Very expensive for practical use –But work with any atmospheric conditions

02/28/05© 2005 University of Wisconsin Coordinate System

02/28/05© 2005 University of Wisconsin CIE Model Predicts luminance of a point in the sky for a particular sun position on a clear day –What color space do we do sky computations in? Y z is the luminance of the zenith, which can be found in tables or formulas that incorporate sun position This formula is used in Radiance, among other systems

02/28/05© 2005 University of Wisconsin CIE Cloud Model For completely overcast skies (thick clouds)

02/28/05© 2005 University of Wisconsin Perez Model Five parameters: –A: darkening or brightening of the horizon –B: luminance gradient near the horizon –C: relative intensity of the circum-solar region –D: width of the circum-solar region –E: relative backscattered light

02/28/05© 2005 University of Wisconsin Aerial Perspective The change in color due to passage of light through the atmosphere Has been modeling in various ways: –Fog models –Full scattering simulations –Fake ambient illumination –Single scattering integrated along a line from source to viewer

02/28/05© 2005 University of Wisconsin Preetham, Shirley and Smits Practical model (or so they claim) Model sun with NASA data and attenuation along path to viewer Model skylight with Perez model –Run lots of simulation of particle scattering –Fit parameters for Perez model –Also fit chromaticity values Model aerial perspective with simplifications to scattering integrals

02/28/05© 2005 University of Wisconsin Results

02/28/05© 2005 University of Wisconsin Turbidity

02/28/05© 2005 University of Wisconsin Ward’s Model vs Preetham

02/28/05© 2005 University of Wisconsin Next Time High Dynamic Range