Rendering General BSDFs and BSSDFs Randy Rauwendaal.

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.
1 Graphics CSCI 343, Fall 2013 Lecture 18 Lighting and Shading.
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.
RADIOSITY Submitted by CASULA, BABUPRIYANK. N. Computer Graphics Computer Graphics Application Image Synthesis Animation Hardware & Architecture.
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.
Graphics Graphics Korea University cgvr.korea.ac.kr Illumination Model 고려대학교 컴퓨터 그래픽스 연구실.
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.
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.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Photon Tracing with Arbitrary Materials Patrick Yau.
Representations of Visual Appearance COMS 6160 [Fall 2006], Lecture 2 Ravi Ramamoorthi
Computer Graphics (Spring 2008) COMS 4160, Lecture 20: Illumination and Shading 2
Appearance Models for Graphics COMS , Lecture 2 BRDFs and Radiometry Many slides courtesy Pat Hanrahan:
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
Global Illumination May 7, Global Effects translucent surface shadow multiple reflection.
BSSRDF: Bidirectional Surface Scattering Reflectance Distribution Functions Jared M. Dunne C95 Adv. Graphics Feb. 7, 2002 Based on: "A Practical Model.
Basic Principles of Surface Reflectance Lecture #3 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Computer Graphics (Fall 2004) COMS 4160, Lecture 16: Illumination and Shading 2 Lecture includes number of slides from.
Lecture 12 Monte Carlo Simulations Useful web sites:
University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell Reflection Models I Today Types of reflection models The BRDF and.
12/05/02(c) 2002 University of Wisconsin Last Time Subdivision techniques for modeling Very brief intro to global illumination.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 BSSRDF – Bidirectional surface scattering reflectance distribution function Radiance theory BRDF.
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.
02/28/05© 2005 University of Wisconsin Last Time Scattering theory Integrating tranfer equations.
MIT EECS 6.837, Durand and Cutler Local Illumination.
-Global Illumination Techniques
CSC418 Computer Graphics n Illumination n Lights n Lightinging models.
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.
Bi-Directional Reflectance Distribution Functions (BRDF’s) Matthew McCrory.
1 Rendering translucent materials using SSS Implemented by João Pedro Jorge & Willem Frishert.
Radisoity Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts Director, Arts Technology Center University of New.
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.
Reflection models Digital Image Synthesis Yung-Yu Chuang 11/01/2005 with slides by Pat Hanrahan and Matt Pharr.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
CSCE 641 Computer Graphics: Reflection Models Jinxiang Chai.
Computer Graphics (Spring 2003) COMS 4160, Lecture 18: Shading 2 Ravi Ramamoorthi Guest Lecturer: Aner Benartzi.
Radiosity 1. 2 Introduction Ray tracing best with many highly specular surfaces ­Not real scenes Rendering equation describes general shading problem.
In the name of God Computer Graphics. Last Time Some techniques for modeling Today Global illumination and raytracing.
Presentation for chapters 5 and 6. LIST OF CONTENTS 1.Surfaces - Emission and Absorption 2.Surfaces - Reflection 3.Radiative Transfer in the Atmosphere-Ocean.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Path Tracing Algorithms K. H. Ko School of Mechatronics Gwangju.
CS348B Lecture 10Pat Hanrahan, Spring 2005 Reflection Models I Today Types of reflection models The BRDF and reflectance The reflection equation Ideal.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
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.
Illumination Study of how different materials reflect light Definition of radiance, the fundamental unit of light transfer in computer graphics How the.
CS552: Computer Graphics Lecture 33: Illumination and Shading.
Computer Graphics: Illumination
CS580: Radiometry Sung-Eui Yoon ( 윤성의 ) Course URL:
Shading Revisited Some applications are intended to produce pictures that look photorealistic, or close to it The image should look like a photograph A.
Advanced Computer Graphics
BRDFs Randy Rauwendaal.
© 2002 University of Wisconsin
© 2003 University of Wisconsin
The Rendering Equation
Terminology.
© 2003 University of Wisconsin
CS5500 Computer Graphics May 29, 2006
The Rendering Equation
Smoother Subsurface Scattering
A Practical Model for Subsurface Light Transport
Presentation transcript:

Rendering General BSDFs and BSSDFs Randy Rauwendaal

BSDFs Bidirectional Scattering Distribution Function Gives a mathematical description of the way that light is scattered by a surface Is a generalization of a BRDF and a BTDF

The Bidirectional Scattering Distribution Function The BSDF is a mathematical description of the light-scattering properties of a surface Let L o (ω o ) denote the radiance leaving x in direction ω o The light strikes the surfaces and generates an irradiance It can be observed experimentally that as dE(ω i ) is increased there is a proportional increase in the observed radiance dL o (ω o ) The BSDF is now defined to be this constant of proportionality

The Scattering Equation By integrating the relationship Over all directions, we can now predict L o (ω o ) This is summarized by the (surface) scattering equation, This equation can be used to predict the appearance of the surface, given a description of the incident illumination

The BRDF and BTDF Usually scattered light is subdivided reflected and transmitted components, which are treated separately –Bidirectional Reflectance Distribution Function (BRDF), denoted f r –Bidirectional Transmittance Distribution Function (BTDF), denoted f t The BRDF is obtained by simply restricting f s to the domain The BTDF is similarly obtained by restricting f s to the domain Thus the BSDF is the union of two BRDF’s (one for each side of the surface), and two BTDF’s (one for light transmitted in each direction). –More convenient, 1 function instead of 4 –Purely reflective or transmissive surfaces are special case of this formulation

Properties of the BRDF BRDF’s that describe real surfaces have basic properties –Symmetry –Energy Conservation These properties are unique to reflection –It cannot be assumed that other distribution functions satisfy these properties

The BSDF for Specular Reflection For a perfect mirror, the desired relationship between L i and L o is that Where M N (ω o ) is the mirror direction, obtained by reflecting around the normal N Now we define this BSDF in terms of a special Dirac distribution δ σ┴, we is defined by the property that The Dirac distribution (or delta function) also has the properties that –δ(x) = 0 for all x ≠ 0 –∫ R δ(x)dx = 1 Which implies the useful identity

The BSDF for Specular Reflection Now we can write the equation for a BSDF for a perfect mirror By expanding the definition of the projected solid angle, we can write the scattering distribution function in the form Which allows us to write the mirror BSDF as Expressions containing Dirac distributions must be evaluated with great care, particularly when the measure functions associated with the Dirac distribution is different than the measure function used for integration

The BSDF for Refraction We define a mapping Such that R(ω i ) is the transmitted direction corresponding to the incident direction ω i Given this mapping, the relation between Li and Lt due to refraction can be expressed as The corresponding BSDF is thus This functions expresses the relationship between ω i and ω t, and also the fact that the radiance is scale by a factor of (η t /η i ) 2

Reciprocity and Conservation Laws for General BSDF’s The BSDF of any physically plausible material must satisfy Where η i and η o are the refractive indices of the materials containing ω i and ω o respectively This is a generalization of the BRDF property of symmetry We also investigate how light scattering is constrained by the law of conservation of energy, and we derive a simple condition that must be satisfied by any BSDF that is energy conserving

A Reciprocity Principle for General BSDF’s To prove a reciprocity condition for general BSDF’s, we consider the light energy scattered between to directions ω i and ω o at a point x in an isothermal enclosure By the principle of detailed balance, the rates of scattering from ω i to ω o and from ω o to ω i are equal (dΦ 1 = dΦ 2 ), while by Kirchoff’s equilibrium radiance law, the incident radiance from each direction is proportional to the refractive index squared Putting these facts together we get the desired reciprocity condition

Conservation of Energy Theorem If f s is the BSDF for a physically valid surface, which is either the boundary of an opaque object or the interface between two non-absorbing media, then Proof Where E denotes the irradiance, and M denotes the radiant exitance Considering the radiance distribution, we let the incident power be concentrated in a single direction ω i From which the requirement E ≤ M gives the desired result

BSSDFs Bidirectional Surface Scattering Distribution Function There not a whole lot material on general BSSDFs, so instead we’ll focus on…

BSSRDFs Bidirectional Surface Scattering Reflectance Distribution Function The BSSRDF relates the outgoing radiance to the incident flux The BRDF is an approximation of the BSSRDF for which it is assumes that light enters and leaves at the same point The outgoing radiance is computed by integrating the incident radiance over incoming directions and area, A

Symbol Reference

The Diffusion Approximation The diffusion approximation is based on the observation that the light distribution in highly scattering media tends to become isotropic The volumetric source distribution can be approximated using the dipole method The dipole method consists of positioning two point sources near the surface in such a way as to satisfy the required boundary condition The diffuse reflectance due to the dipole source can be computed (with much hand waving) as Taking into account the Fresnel reflection at the boundary for both the incoming light and the outgoing radiance Where S d is the diffusion term of the BSSRDF, which represents multiple scattering

The Diffusion Approximation An incoming ray is transformed into a dipole source for the diffusion approximation

Single Scattering Term The total outgoing radiance, due to single scattering is computed by integrating the incident radiance along the refracted outgoing ray The single scattering BSSRDF is defined implicitly by the second line of this equation Single scattering occurs only when the refracted incoming and outgoing rays intersect, and is computed as an integral over path length s along the refracted outgoing ray

The BSSRDF Model The complete BSSRDF model is a sum of the diffusion approximation and the single scattering term This model accounts for light transport between different locations on the surface, and it simulates both the directional component (due to single scattering) as well as the diffuse component (due to multiple scattering)

BRDF Approximation We can approximate the BSSRDF with a BRDF by assuming that the incident illumination is uniform By integrating the diffusion term we find the total diffuse reflectance of the material The integration of the single scattering term for a semi-infinite medium gives The complete BRDF model is the sum of the diffuse reflectance scaled by the Fresnel term and the single scattering approximation This model has the same parameters as the BSSRDF Note that the amount of light is computed from the intrinsic material parameters The BRDF approximation is useful for opaque materials, which have a very short mean free path

Rendering Using the BSSRDF The BSSRDF model derived only applies to semi-infinite homogeneous media, for a practical model we must consider –Efficient integration of the BSSRDF (importance sampling) –Single scattering evaluation for arbitrary geometry –Diffusion approximation for arbitrary geometry –Texture (spatial variation on the object surface)

BRDF vs BSSRDF

References Eric Veach, Robust monte carlo methods for light transport simulation, 1997 Jensen, H. W., Marschner, S. R., Levoy, M., and Hanrahan, P A practical model for subsurface light transport. In Proceeding of SIGGRAPH 2001, Henrik Wann Jensen and Juan Buhler. A rapid hierarchical rendering technique for translucent materials. ACM Transactions on Graphics, 21(3): , July 2002.