Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Sampling: Strategies and Tools Adam Goodenough DIRSIG Meeting April 11, 2005.

Slides:



Advertisements
Similar presentations
Spherical Harmonic Lighting Jaroslav Křivánek. Overview Function approximation Function approximation Spherical harmonics Spherical harmonics Some other.
Advertisements

A Novel Hemispherical Basis for Accurate and Efficient Rendering P. Gautron J. Křivánek S. Pattanaik K. Bouatouch Eurographics Symposium on Rendering 2004.
Environment Mapping CSE 781 – Roger Crawfis
Week 9 - Monday.  What did we talk about last time?  BRDFs  Texture mapping and bump mapping in shaders.
Spherical Harmonic Lighting of Wavelength-dependent Phenomena Clifford Lindsay, Emmanuel Agu Worcester Polytechnic Institute (USA)
Measuring BRDFs. Why bother modeling BRDFs? Why not directly measure BRDFs? True knowledge of surface properties Accurate models for graphics.
Advanced Computer Graphics
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 21: Radiometry Many slides courtesy Pat Hanrahan.
Advanced Computer Graphics (Spring 2013) CS 283, Lecture 8: Illumination and Reflection Many slides courtesy.
Computer graphics & visualization Pre-Computed Radiance Transfer PRT.
Sensitivity kernels for finite-frequency signals: Applications in migration velocity updating and tomography Xiao-Bi Xie University of California at Santa.
PRT Summary. Motivation for Precomputed Transfer better light integration and light transport –dynamic, area lights –shadowing –interreflections in real-time.
University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2006 Don Fussell Previous lecture Reflectance I BRDF, BTDF, BSDF Ideal specular.
Sampling Attila Gyulassy Image Synthesis. Overview Problem Statement Random Number Generators Quasi-Random Number Generation Uniform sampling of Disks,
Advanced Computer Graphics (Spring 2005) COMS 4162, Lectures 18, 19: Monte Carlo Integration Ravi Ramamoorthi Acknowledgements.
Photon Tracing with Arbitrary Materials Patrick Yau.
Computer Graphics (Spring 2008) COMS 4160, Lecture 20: Illumination and Shading 2
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
1 Monte Carlo Global Illumination Brandon Lloyd COMP 238 December 16, 2002.
Computer Graphics (Fall 2004) COMS 4160, Lecture 16: Illumination and Shading 2 Lecture includes number of slides from.
Foundations of Computer Graphics (Spring 2010) CS 184, Lecture 21: Radiosity
Paper by Alexander Keller
Light Scattering Rayleigh Scattering & Mie Scattering.
Computer Graphics (Spring 2008) COMS 4160, Lecture 22: Global Illumination
Measure, measure, measure: BRDF, BTF, Light Fields Lecture #6
Monte Carlo Methods in Partial Differential Equations.
Lecture 12 Monte Carlo Simulations Useful web sites:
Monte Carlo Integration Digital Image Synthesis Yung-Yu Chuang with slides by Pat Hanrahan and Torsten Moller.
Mathematics for Computer Graphics (Appendix A) Won-Ki Jeong.
01/24/05© 2005 University of Wisconsin Last Time Raytracing and PBRT Structure Radiometric quantities.
Measuring and Modeling Anisotropic Reflection Gregory J. Ward Lighting Systems Research Group Lawrence Berkeley Laboratory.
02/25/05© 2005 University of Wisconsin Last Time Meshing Volume Scattering Radiometry (Adsorption and Emission)
Efficient Irradiance Normal Mapping Ralf Habel, Michael Wimmer Institute of Computer Graphics and Algorithms Vienna University of Technology.
Non Negative Matrix Factorization
MIT EECS 6.837, Durand and Cutler Local Illumination.
-Global Illumination Techniques
Monte Carlo I Previous lecture Analytical illumination formula This lecture Numerical evaluation of illumination Review random variables and probability.
02/16/05© 2005 University of Wisconsin Last Time Re-using paths –Irradiance Caching –Photon Mapping.
Chapter 4 Stochastic Modeling Prof. Lei He Electrical Engineering Department University of California, Los Angeles URL: eda.ee.ucla.edu
03/24/03© 2003 University of Wisconsin Last Time Image Based Rendering from Sparse Data.
R I T Rochester Institute of Technology Photon Mapping Development LEO-15 DATA SETS (AVIRIS, IOPs) Atmospheric Compensation HYDROLIGHT Simulations (LUT)
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Path Tracing Algorithms K. H. Ko School of Mechatronics Gwangju.
Optimally Combining Sampling Techniques for Monte Carlo Rendering Eric Veach and Leonidas J. Guibas Computer Science Department Stanford University SIGGRAPH.
SIGGRAPH 2010 Course: Physically Based Shading Models in Film and Game Production SIGGRAPH 2010 Physically Based Shading Models in Film and Game Production.
Duy & Piotr. How to reconstruct a high quality image with the least amount of samples per pixel the least amount of resources And preserving the image.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
Instant Radiosity Alexander Keller University Kaiserslautern Present by Li-Fong Lin.
CSCE 641 Computer Graphics: Reflection Models Jinxiang Chai.
CS348B Lecture 9Pat Hanrahan, Spring 2005 Overview Earlier lecture Statistical sampling and Monte Carlo integration Last lecture Signal processing view.
Monte-Carlo Ray Tracing and
Computer Graphics (Spring 2003) COMS 4160, Lecture 18: Shading 2 Ravi Ramamoorthi Guest Lecturer: Aner Benartzi.
02/2/05© 2005 University of Wisconsin Last Time Reflectance part 1 –Radiometry –Lambertian –Specular.
Computer Graphics III – Monte Carlo integration Direct illumination
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Path Tracing Algorithms K. H. Ko School of Mechatronics Gwangju.
Non-Linear Kernel-Based Precomputed Light Transport Paul Green MIT Jan Kautz MIT Wojciech Matusik MIT Frédo Durand MIT Henrik Wann Jensen UCSD.
Monte Carlo Techniques Basic Concepts
EE201C Final Project Adeel Mazhar Charwak Apte. Problem Statement Need to consider reading and writing failure – Pick design point which minimizes likelihood.
Eigen Texture Method : Appearance compression based method Surface Light Fields for 3D photography Presented by Youngihn Kho.
Computer graphics III – Multiple Importance Sampling Jaroslav Křivánek, MFF UK
Monte Carlo Integration Digital Image Synthesis Yung-Yu Chuang 12/3/2008 with slides by Pat Hanrahan and Torsten Moller.
Advanced Computer Graphics
Working Group « Pre-Filtering »
Monte Carlo Integration
Advanced Computer Graphics
Previous lecture Reflectance I BRDF, BTDF, BSDF Ideal specular model
Shape Analysis and Retrieval
An Algorithm of Eye-Based Ray Tracing on MATLAB
Foundations of Computer Graphics (Spring 2012)
OPTICS III, IV: Global Illumination
Presentation transcript:

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Sampling: Strategies and Tools Adam Goodenough DIRSIG Meeting April 11, 2005

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 DIRSIG = Integration Numerical integration is inefficient Each sample can lead to many other samples Monte Carlo integration uses knowledge of sample “importance” Techniques are essential to photon mapping Applicable in many other areas Introduction

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Derivation

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Outline Monte Carlo integration Monte Carlo integration of an example “scene” DIRSIG Tool: CDSampleGen Samplers and Projections Arbitrary BRDF Representation and Sampling Future Applications

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Integration Equation 4.31 in Schott (1997)

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Monte Carlo Monte Carlo integration for the same term

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Sky Dome Picture of the sky taken with a fisheye lens Data taken from Conesus collect

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Parameterized Sky dome unwrapped for easy sampling Only the green band was acquired Parameterized as θ versus Φ θ Φ 0 0 2π2π ½π½π

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Ward BRDF Models specular lobe + diffuse Anisotropic (brushed surfaces) Parameters are “physical” BRDF accuracy has been validated against measurements Lightly Brushed Aluminum

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Setup Using sky dome and Ward BRDF Viewer at 80 o zenith and 45 o azimuth Calculate the numerical integral first Calculate Monte Carlo integrals using different sampling methods View Direction

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Integral Regular Numerical Integration 50 Samples L out = Samples L out = Samples L out =

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Grid Monte Carlo Integration with Grid sampling 5000 Samples L out = Num: L out =

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Random Monte Carlo Integration with Random sampling 5000 Samples L out = Num: L out =

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Shirley Monte Carlo Integration with Shirley sampling 5000 Samples L out = Num: L out =

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Cosine Integration with Cosine Weighted Sampling 5000 Samples L out = Num: L out =

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Importance Cosine and BRDF Weighted Sampling 5000 Samples L out = Num: L out =

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 DIRSIG Tool CDSampleGen None Gaussian Sphere Hemisphere Sphere Section Grid Random N-Rooks Stratified Shirley Halton Hammersley Samplers Cosine Henyey- Greenstein Schlick Ward BRDF Factored GeometryWeighted Projections

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Samplers GridRandom

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Samplers N-Rooks (Latin Hypercube)

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Samplers StratifiedShirley

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Samplers Halton “Sequence”(Quasi-Monte Carlo)

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Set vs. SequenceHammersley Set Samplers Sets are defined by “n” and “m” and yield nxm samples Sets are randomly shuffled All samplers work in either mode

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Quasi-Monte Carlo Samplers Samplers Halton Sequence and Hammersley Set Deterministic Optimal uniformity and repeatability “Leaping” and “Scrambling”

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Projections NoneGaussian

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Projections Gaussian Revisited PDFRandomShirley

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Projections SphereHemisphere

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Projections Sphere Section

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Projections Henyey-Greenstein SPF (N-Terms)

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Projections Schlick SPF (N-Terms)

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Projections CosineWard BRDF

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Arbitrary BRDF Synthetic or Modeled 4-D Measurements Measurements Factorization Re-Creation

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Components Re-ParameterizationNon-Negative Matrix Factorization Most BRDFs consist of diffuse and specular components Variability exists primarily around specular direction Re-Parameterize into Half- Angle space Factor Y into two matrices F and G F and G are non-negative Iterative algorithm Gradient descent Rate of descent picked to ensure monotonically decreasing RSE or distortion

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Approach Re-Parameterization and Factorization From Lawrence et al. (2004) Re-Shuffling Re-ParameterizingRe-Shuffling and NMF NMF G F G u v

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Example Significance of u and v From Lawrence et al. (2004)

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Compression Large data sets represented by few terms Better accuracy than general basis functions (Zernike, Spherical Harmonics, LaFortune Lobes) Compression ratios of ~200:1 shown for measured data (measurements performed by Matusik [2003]) From Lawrence et al. (2004)

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Sampling Compression rates are sub-optimal! Factorization form maintains each sampling variable (incident direction) independently Factored forms are used directly to sample F- matrix maintains view direction indexing G (u and v) contains incident direction PDFs

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Future Apps Standard for storing BRDF measurements Addition of a spectral dimension Storage of modeled, spectral phase function data

Adam GoodenoughSampling: Strategies and ToolsApril 11, 2005 Questions