RenderToolbox A MATLAB Toolkit for Hyperspectral Rendering with Radiance and PBRT Daniel P. Lichtman, Bei Xiao, David H. Brainard.

Slides:



Advertisements
Similar presentations
Effect of Test Patch Location on Color Appearance, in the Context of 3D Objects Bei Xiao and David H.Brainard University of Pennsylvania.
Advertisements

Computer Vision Radiometry. Bahadir K. Gunturk2 Radiometry Radiometry is the part of image formation concerned with the relation among the amounts of.
1 Color Kyongil Yoon VISA Color Chapter 6, “Computer Vision: A Modern Approach” The experience of colour Caused by the vision system responding.
© 2011 Delmar, Cengage Learning Chapter 13 Preparing Graphics for the Web.
Introduction to 3D Graphics Lecture 1: Illusions and the Fine Art of Approximation Anthony Steed University College London.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 21: Radiometry Many slides courtesy Pat Hanrahan.
Physically Based Illumination Models
Advanced Computer Graphics (Spring 2013) CS 283, Lecture 8: Illumination and Reflection Many slides courtesy.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Fall 2014.
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.
Light Light is fundamental for color vision Unless there is a source of light, there is nothing to see! What do we see? We do not see objects, but the.
Illumination Model How to compute color to represent a scene As in taking a photo in real life: – Camera – Lighting – Object Geometry Material Illumination.
Deriving Lights from Pixels Presented By: WAIL ALI EL EBEEDY By: By: Web Address: ArchitectureWeek - Tools - Deriving Lights from Pixels _0528.htm.
Business and Computing Deanery 3D Modelling Tools Week 8 Introduction to materials.
Computer Graphics (Spring 2008) COMS 4160, Lecture 20: Illumination and Shading 2
Part I: Basics of Computer Graphics
A Simple Layered RGB BRDF Model Xavier Granier - Wolfgang Heidrich IMAGER / University of British Columbia.
(conventional Cartesian reference system)
Computer Graphics (Fall 2008) COMS 4160, Lecture 19: Illumination and Shading 2
Global Illumination May 7, Global Effects translucent surface shadow multiple reflection.
Rendering General BSDFs and BSSDFs Randy Rauwendaal.
Objectives Learn to shade objects so their images appear three- dimensional Learn to shade objects so their images appear three- dimensional Introduce.
Computer Graphics (Fall 2004) COMS 4160, Lecture 16: Illumination and Shading 2 Lecture includes number of slides from.
OL Series 754 Portable UV-VIS-NIR Spectroradiometer The OL 754 Portable UV-Visible-NIR Spectroradiometers are a series of compact, portable, double monochromator.
Describing Visual Air Quality Is A Complex Issue Depending On: characteristics of observer optical characteristics of target illumination of scene optical.
Computer Graphics I, Fall 2008 Image Formation.
1 Image Formation. 2 Objectives Fundamental imaging notions Physical basis for image formation ­Light ­Color ­Perception Synthetic camera model Other.
02/28/05© 2005 University of Wisconsin Last Time Scattering theory Integrating tranfer equations.
Rujchai Ung-arunyawee Department of Computer Engineering Khon Kaen University.
-Global Illumination Techniques
OL Series 750 Automated Spectroradiometric Measurement System The OL Series 750 is an extremely versatile spectroradiometric measurement system capable.
Radiometric Correction and Image Enhancement Modifying digital numbers.
Visualizing illuminance levels, generated in Radiance, in a Maya environment Richard Gillibrand & Patrick Ledda University of Bristol, UK Richard Gillibrand.
Lighting Lab Online Presented By: Omar Yehia Omar Elshrief By: Konstantinos Papamichael Web Address:
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Image-Based Rendering of Diffuse, Specular and Glossy Surfaces from a Single Image Samuel Boivin and André Gagalowicz MIRAGES Project.
CS6825: Color 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: nm. range Visible light:
Diffuse Reflections from Rough Surfaces Lecture #5
Announcements Office hours today 2:30-3:30 Graded midterms will be returned at the end of the class.
A Few Things about Graphics Jian Huang Computer Science University of Tennessee.
Course Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Applied Mathematics Lecture and laboratory.
Paint Effects.  Uses: paint brush strokes paint particle effects Traditional paint program ○ paint images on a canvas ○ paint repeatable textures that.
Shading in OpenGL Ed Angel Professor Emeritus of Computer Science University of New Mexico 1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E.
Computer Graphics (Spring 2003) COMS 4160, Lecture 18: Shading 2 Ravi Ramamoorthi Guest Lecturer: Aner Benartzi.
11/5/2002 (c) University of Wisconsin, CS 559 Last Time Local Shading –Diffuse term –Specular term –All together –OpenGL brief overview.
COMPUTER GRAPHICS CS 482 – FALL 2015 OCTOBER 6, 2015 IMAGE MANIPULATION COMPRESSION COMPOSITING.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Path Tracing Algorithms K. H. Ko School of Mechatronics Gwangju.
Written by: Itzik Ben Shabat Technion - Israel Institute of Technology Faculty of Mechanical Engineering Laboratory for CAD & Lifecycle Engineering Lab.
Chapter 13 Preparing Graphics for the Web. Creating Slices When you create graphics for the web, you will need to pay attention to different considerations.
Illumination Model How to compute color to represent a scene As in taking a photo in real life: – Camera – Lighting – Object Geometry Material Illumination.
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.
Use of Java for Demonstration of Color Science Concepts Presentation of an MS Project, submitted to The Faculty of the Computer Science Department, in.
Color and Radiometry Digital Image Synthesis Yung-Yu Chuang 10/25/2007 with slides by Pat Hanrahan and Matt Pharr.
Graphics Review Geometry, Color & Shading Brad Tennis Leslie Wu
GS-1150 HANDHELD SPECTROPHOTOMETER. ABOUT GAMMA SCIENTIFIC With over 50 years of experience in developing commercial light measurement instruments, Gamma.
Computer Graphics: Illumination
Photorealistic Rendering vs. Interactive 3D Graphics
Visualization Shading
Advanced Computer Graphics
© 2002 University of Wisconsin
© 2003 University of Wisconsin
FRED A software tool for modern optical engineering
What Is Spectral Imaging? An Introduction
An Algorithm of Eye-Based Ray Tracing on MATLAB
CS5500 Computer Graphics May 29, 2006
University of New Mexico
Monte Carlo Path Tracing and Caching Illumination
Presentation transcript:

RenderToolbox A MATLAB Toolkit for Hyperspectral Rendering with Radiance and PBRT Daniel P. Lichtman, Bei Xiao, David H. Brainard

Acknowledgements RenderToolbox Bei Xiao Professor David H. Brainard Robyn Oliver

To produce stimuli for psychophysical experiments which are accurately derived from the physical properties of lights and surfaces. We are “consumers” of renderers, so we would like to better understand their performance. To produce these stimuli without the user needing to be an expert in Radiance/PBRT or even MATLAB. Goals RenderToolbox

Design RenderToolbox acts as a wrapper around extant renderers, enabling them to render hyperspectrally. This provides color accuracy, which is important in our lab. The toolbox is designed to allow easy comparison of the variations between renderers. RenderToolbox

Radiance and PBRT Both renderers have 2 important features: They are designed to simulate the physical flow of light through scenes They are freely and publicly available. RenderToolbox

Ease of Use Model scene geometry and preview rendered images in Maya (but don’t render in Maya). Simple text-file based interface for attaching surface reflectance functions to objects and spectral power distributions to illuminants. Transparent interchange between Radiance and PBRT. Wrapper software written in MATLAB, which is easily maintained and modified. RenderToolbox Model geometry in Maya Associate objects with BRDFs and lights with SPDs Render in Radiance and PBRT Convert image to LMS or RGB coordinates

RenderToolbox Maya is a commercial program that lets you design 3D scenes. A plugin allows you to export objects into Radiance.obj format. A modified public domain plugin allows you to export objects into PBRT format. Software: Geometry in Maya Model geometry in Maya Associate objects with BRDFs and lights with SPDs Render in Radiance and PBRT Convert image to LMS or RGB coordinates

RenderToolbox Software: Geometry in Maya Model geometry in Maya Associate objects with BRDFs and lights with SPDs Render in Radiance and PBRT Convert image to LMS or RGB coordinates Output from Maya to Radiance and PBRT Radiance formatPBRT format plugin (Also support native.rad and.pbrt format)

RenderToolbox Software: Hyperspectral BRDFs & SPDs Model geometry in Maya Associate objects with BRDFs and lights with SPDs Render in Radiance and PBRT Convert image to LMS or RGB coordinates Each object gets a BRDF The BRDF is specified in a text file The BRDF may have multiple parameters, and each may be specified at every wavelength Each illuminant gets an Spectral Power Distribution This is also specified in a text file The illuminant’s power can be specified at each wavelength

RenderToolbox Software: BRDF example Model geometry in Maya Associate objects with BRDFs and lights with SPDs Render in Radiance and PBRT Convert image to LMS or RGB coordinates Ward reflectance model specified in a separate text file Diffuse Reflectance specified at each wavelength Specular Reflectance specified with one number Roughness specified with one number

RenderToolbox Software: SPD example Model geometry in Maya Associate objects with BRDFs and lights with SPDs Render in Radiance and PBRT Convert image to LMS or RGB coordinates Daylight illuminant spectrum specified in a text file Power is specified at each wavelength in Watts/Steradian

RenderToolbox Software: Rendering Model geometry in Maya Associate objects with BRDFs and lights with SPDs Render in Radiance and PBRT Convert image to LMS or RGB coordinates Geometry from Maya, and object BRDFs and illuminant SPDs passed to both the PBRT and Radiance renderers. GeometryBRDF/SPD Radiance Rendering PBRT Rendering

RenderToolbox Software: Rendering Model geometry in Maya Associate objects with BRDFs and lights with SPDs Render in Radiance and PBRT Convert image to LMS or RGB coordinates Radiance and PBRT each render monochromatic versions of the scene at each wavelength Radiance 400nm 600nm 500nm 700nm

RenderToolbox Software: LMS and RGB coordinates Model geometry in Maya Associate objects with BRDFs and lights with SPDs Render in Radiance and PBRT Convert image to LMS or RGB coordinates Hyperspectral color data is useful, but we’ve provided tools to convert the image to an LMS cone image and a RGB monitor image. Cone image in LMSMonitor image in RGB

RenderToolbox Software: Tonemapping and Calibration Model geometry in Maya Associate objects with BRDFs and lights with SPDs Render in Radiance and PBRT Convert image to LMS or RGB coordinates The RGB monitor image can be tonemapped and calibrated to a specific monitor. It is easy to write your own tonemapping algorithm. Tonemapped and calibrated image in RGB

RenderToolbox Additional Features The toolbox is configured to compute in a parallel computing environment, specific to our lab, but easily adaptable. Also configured to render multiple versions of the same scene with different BRDFs and SPDs, as well as different rendering properties. The package is written so that it’s easy to use for someone who’s not an expert in Radiance or MATLAB. The toolbox is available as a beta version online at We’re still working on the documentation but we’re happy to help you set it up.

RenderToolbox Comparison of the two renderers PBRT doesn’t natively support the ward model, but we’ve included a ward shader for PBRT which we found on the internet and modified. As this example of an arbitrary scene illustrates, the difference between Radiance and PBRT’s output is small. Comparing the two is simply a matter of replacing ‘radiance’ with ‘pbrt’ in a conditions file. - Radiance image PBRT image = Difference

RenderToolbox Examples RenderToolbox includes two examples that demonstrate its function and compare specific elements of Radiance and PBRT’s performance. We choose to use simple scenes for which we could compute features of the rendered image from first principles.

RenderToolbox Example: Simple Square This is the simplest scene possible. This example demonstrates that the spectral features of the whole package works correctly and that we correctly wrote our software. Surface Reflectance (blue) surface reflectance vs. wavelength (nm) Illuminant (D65 Daylight) power (watts) vs. wavelength (nm) Scene characteristics

RenderToolbox Example: Simple Square Radiance PBRT Results Scaled luminance vs. wavelength (nm)

RenderToolbox Example: Sphere with Point Light This scene includes a sphere and distant pointlight in an orthogonal projection. Computing the luminance for the sphere and pointlight with the ward model is straightforward, so we generated an image of the same configuration from first principles. RadiancePBRTAnalytic The images are very similar. We attribute subtle differences in geometry to changes that occur during the export from Maya. We didn’t write a perspective projection, but the Radiance and PBRT images match each other very closely, which increases our confidence that they are both doing the right thing.

RenderToolbox Example: Sphere with Point Light Scaled Luminocity vs. Vertical Location Along Column in Image topbottom Measure along a vertical slice of the sphere

RenderToolbox Plan to include another example to test the renderers’ performance with secondary bounces. RenderToolbox provides a simple interface to Radiance and PBRT, especially for use in psychophysics. Comparison of rendered images from the two renderers for simple cases indicates good agreement and increases our confidence that these renderers are appropriate for use in generating experimental stimuli. Beta version available here: Summary