Generating Novel Reflectance Functions Adam Brady.

Slides:



Advertisements
Similar presentations
Physically Based Shading
Advertisements

The Radiance Equation.
Pseudo-Relevance Feedback For Multimedia Retrieval By Rong Yan, Alexander G. and Rong Jin Mwangi S. Kariuki
Plausible motion simulation Ronen Barzel (on leave from PIXAR) John Hughes (on sabbatical from Brown)
Active Appearance Models
Lindsey Bleimes Charlie Garrod Adam Meyerson
The fundamental matrix F
INTRODUCTION TO MODELING
Week 9 - Monday.  What did we talk about last time?  BRDFs  Texture mapping and bump mapping in shaders.
Quick Review of Apr 10 material B+-Tree File Organization –similar to B+-tree index –leaf nodes store records, not pointers to records stored in an original.
Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005.
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.
Advanced Computer Graphics (Spring 2013) CS 283, Lecture 8: Illumination and Reflection Many slides courtesy.
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.
Physically Based Motion Transformation Zoran Popović Andrew Witkin SIGGRAPH ‘99.
Active Calibration of Cameras: Theory and Implementation Anup Basu Sung Huh CPSC 643 Individual Presentation II March 4 th,
Advanced Computer Graphics (Spring 2005) COMS 4162, Lectures 18, 19: Monte Carlo Integration Ravi Ramamoorthi Acknowledgements.
Aki Hecht Seminar in Databases (236826) January 2009
Computer Graphics (Spring 2008) COMS 4160, Lecture 20: Illumination and Shading 2
Measurement, Inverse Rendering COMS , Lecture 4.
A new crossover technique in Genetic Programming Janet Clegg Intelligent Systems Group Electronics Department.
Computer Graphics (Fall 2008) COMS 4160, Lecture 19: Illumination and Shading 2
Basic Data Mining Techniques
Genetic Art. Network Record Using Network Information Chicago Evanston ParisMoscow.
Computer Graphics (Fall 2004) COMS 4160, Lecture 16: Illumination and Shading 2 Lecture includes number of slides from.
Paper by Alexander Keller
Animation. Pre-calculated Animation Do more now, less later.
Computational Stochastic Optimization: Bridging communities October 25, 2012 Warren Powell CASTLE Laboratory Princeton University
01/24/05© 2005 University of Wisconsin Last Time Raytracing and PBRT Structure Radiometric quantities.
Problems Premature Convergence Lack of genetic diversity Selection noise or variance Destructive effects of genetic operators Cloning Introns and Bloat.
02/28/05© 2005 University of Wisconsin Last Time Scattering theory Integrating tranfer equations.
03/10/03© 2003 University of Wisconsin Last Time Tone Reproduction and Perceptual Issues Assignment 2 all done (almost)
Analysis of Subsurface Scattering under Generic Illumination Y. Mukaigawa K. Suzuki Y. Yagi Osaka University, Japan ICPR2008.
Digital Face Replacement in Photographs CSC2530F Project Presentation By: Shahzad Malik January 28, 2003.
-Global Illumination Techniques
02/10/03© 2003 University of Wisconsin Last Time Participating Media Assignment 2 –A solution program now exists, so you can preview what your solution.
Taku KomuraComputer Graphics Local Illumination and Shading Computer Graphics – Lecture 10 Taku Komura Institute for Perception, Action.
View-Dependent Precomputed Light Transport Using Nonlinear Gaussian Function Approximations Paul Green 1 Jan Kautz 1 Wojciech Matusik 2 Frédo Durand 1.
1 Reconstructing head models from photograph for individualized 3D-audio processing Matteo Dellepiane, Nico Pietroni, Nicolas Tsingos, Manuel Asselot,
Problem Solving Engineering Technology Mr. Austin.
Bi-Directional Reflectance Distribution Functions (BRDF’s) Matthew McCrory.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
Towards a Taxonomy of Global Illumination Algorithms Philip Dutré Program of Computer Graphics Cornell University.
Image-Based Rendering of Diffuse, Specular and Glossy Surfaces from a Single Image Samuel Boivin and André Gagalowicz MIRAGES Project.
Automated Patch Generation Adapted from Tevfik Bultan’s Lecture.
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.
Computer Graphics (Spring 2003) COMS 4160, Lecture 18: Shading 2 Ravi Ramamoorthi Guest Lecturer: Aner Benartzi.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Hybrid Algorithms K. H. Ko School of Mechatronics Gwangju Institute.
In the name of God Computer Graphics. Last Time Some techniques for modeling Today Global illumination and raytracing.
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.
Learning Photographic Global Tonal Adjustment with a Database of Input / Output Image Pairs.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
Sporadic model building for efficiency enhancement of the hierarchical BOA Genetic Programming and Evolvable Machines (2008) 9: Martin Pelikan, Kumara.
Physically-based Illumination Model
02/07/03© 2003 University of Wisconsin Last Time Finite element approach Two-pass approaches.
01/27/03© 2002 University of Wisconsin Last Time Radiometry A lot of confusion about Irradiance and BRDFs –Clarrified (I hope) today Radiance.
Evolutionary Computation Evolving Neural Network Topologies.
Computer vision: geometric models Md. Atiqur Rahman Ahad Based on: Computer vision: models, learning and inference. ©2011 Simon J.D. Prince.
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.
CSc4730/6730 Scientific Visualization
Multi-Objective Optimization
Efficient Importance Sampling Techniques for the Photon Map
Rohan Yadav and Charles Yuan (rohany) (chenhuiy)
Presentation transcript:

Generating Novel Reflectance Functions Adam Brady

2

3

4

5

6

7

8

9

10

11

12

13

Materials are More Than Color When light strikes a surface, it scatters Realistic rendering depends on how this reflectance is distributed. 14

Formalizing Reflectance We model material reflectance using a Bidirectional Reflectance Distribution Function …or BRDF The BRDF defines the fraction of incoming light reflected along an outgoing direction 15

How Do Artists Use BRDFs? 16

How Do Artists Use BRDFs? 17

…but these models can’t accurately capture many real world materials 18

Why should we care? Modern CGI movies frequently rely on stylizing even “photorealistic” scenes –Mask material inaccuracies 19

20

Why should we care? Modern CGI movies frequently rely on stylizing even “photorealistic” scenes –Mask material inaccuracies Better BRDFs can save time & money –Less time spent tweaking poor models 21

Why should we care? Modern CGI movies frequently rely on stylizing even “photorealistic” scenes –Mask material inaccuracies Better BRDFs can save time & money –Less time spent tweaking poor models Modeling real materials is even more important in other domains 22

23

24

25

26 Project Goal: Make Better BRDFs!

How are BRDFs produced? Two different strategies exist, but each has limitations 1.Define the BRDF as a continuous, analytic math expression 2.Measure discrete samples of the BRDF and record as a big table 27

Strategy 1: Analytic BRDF Think hard, write an adjustable equation –fit observations or approximate physics 28

Analytic BRDF Issues Finding fundamental approximations of the natural world is hard Very few analytic BRDFs exist Simplifying assumptions limit accuracy: 29

Strategy 2: Measured BRDF Measure a BRDF using a gonio- reflectometer Store this as a big lookup table 30

Problems with Measured BRDFs The table is HUGE –Millions of samples needed Data only describes one material –Doesn’t offer insight into similar materials 31

We Need a Better Way Analytic BRDFs are compact, general, and adjustable… –But inaccurately model real materials Measured data is accurate.. –But HUGE and static 32

We Need a Better Way Analytic BRDFs are compact and contain adjustable parameters… –But can be inaccurate for real materials Measured data is accurate.. –But HUGE and static 33 Solution: Create new analytic BRDFs that better model measured BRDF data

Project Outline Create way to generate new analytic BRDFs Devise an error metric that evaluates how well a new BRDF matches a measured BRDF Use heuristic search to find new, better BRDFs using our similarity metric 34

Insights How to create new analytic BRDFs? 35

Insights How to create new analytic BRDFs? –Current analytic BRDFs roughly approximate most materials 36

Insights How to create new analytic BRDFs? –Current analytic BRDFs roughly approximate most materials –Solution: Modify existing analytic BRDFs 37

Insights How to create new analytic BRDFs? –Current analytic BRDFs roughly approximate most materials –Solution: Modify existing analytic BRDFs How to measure error? 38

Insights How to create new analytic BRDFs? –Current analytic BRDFs roughly approximate most materials –Solution: Modify existing analytic BRDFs How to measure error? –Ultimate goal is accurate rendering 39

Insights How to create new analytic BRDFs? –Current analytic BRDFs roughly approximate most materials –Solution: Modify existing analytic BRDFs How to measure error? –Ultimate goal is accurate rendering –Solution: Measure error between two rendered images, each using a different BRDF 40

INPUT Error:

INPUT MUTATE Error:

INPUT EVALUATE FITNESS MUTATE Error: Compare Error: ? 43

INPUT EVALUATE FITNESS DISCARD ACCEPT MUTATE Error: Compare Error: Error: ? Error:

INPUT OUTPUT EVALUATE FITNESS DISCARD ACCEPT MUTATE Error: Compare Error: Error: ? Error: Error:

Implementing BRDF Creation Represent new BRDFs as a list of expression-level edits to an existing BRDF expression –i.e., modify the abstract syntax tree of an analytic BRDF Insert, Remove, Swap, and Replace nodes in the AST 46

Implementing Evaluation Fit parameters for each new BRDF –We use a Nelder Mead Simplex Method Guide search using BRDF error metric Report residual error when search converges 47

BRDF Error Metric Measure BRDF similarity using renders –Based on work by Pereira & Rusinkiewicz 48

BRDF Error Metric 49

BRDF Error Metric 50

51

Putting it All Together Iteratively create lots of analytic BRDFs Fit each new BRDF to a set of target measured BRDFs Find the BRDF that best fits all materials 52

Experiments

Modify the Cook Torrance BRDF to better match two classes of materials –One BRDF for Metallic materials –One BRDF for Dielectric materials (plastics, acrylics, etc.) Use measured BRDFs from the publicly available MERL BRDF database 54

MERL BRDF Materials 55 MetalsDielectrics

Experiment Setup Choose 20 materials from MERL –Learn using 4 diverse materials –Test against remaining 16 materials Run search for 100 generations with a population size of 4096 Compare rendered images of best BRDF found with original Cook Torrance 56

Success Metrics Accuracy: –Do renders using BRDF accurately match renders of measured BRDF? –Use a separate perceptual error metric 57

Success Metrics Accuracy: –Do renders using BRDF accurately match renders of measured BRDF? –Use a separate perceptual error metric Generality: –Can it represent similar materials not used in the initial search? 58

Success Metrics Accuracy: –Do renders using BRDF accurately match renders of measured BRDF? –Use a separate perceptual error metric Generality: –Can it represent similar materials not used in the initial search? Tunability: –Can we manually adjust parameters and still get a useful BRDF? 59

New Metal BRDF

65

New Dielectric BRDF

71

Conclusion This new technique automatically synthesizes new BRDFs that are accurate, generalizable, and adjustable For a set of 20 metal and 20 dielectric materials, our new BRDFs always outperform the best existing model 73

Questions?

New Dielectric BRDF 75

New Metal BRDF 76