The 7d plenoptic function, indexing all light.

Similar documents
Image-Based Lighting

Image-Based Lighting : Computational Photography Alexei Efros, CMU, Fall Eirik Holmøyvik. with a lot of slides donated by Paul Debevec

Image-Based Lighting. Eirik Holmøyvik. with a lot of slides donated by Paul Debevec

Image-Based Lighting. Inserting Synthetic Objects

Image-based Lighting (Part 2)

Image-based Lighting

Reflection Mapping

Rendering Synthetic Objects into Real Scenes. based on [Debevec98]

High Dynamic Range Lighting Paul Debevec, USC Institute for Creative Technologies. March 24, Game Developer s Conference 1

CS 354R: Computer Game Technology

CS4670/5760: Computer Vision

Faces and Image-Based Lighting

Modeling Light. Michal Havlik : Computational Photography Alexei Efros, CMU, Fall 2007

High Dynamic Range Image Texture Mapping based on VRML

Computer Graphics. Lecture 9 Environment mapping, Mirroring

Consider a partially transparent object that is illuminated with two lights, one visible from each side of the object. Start with a ray from the eye

Traditional Image Generation. Reflectance Fields. The Light Field. The Light Field. The Light Field. The Light Field

A New Image Based Ligthing Method: Practical Shadow-Based Light Reconstruction

CS6670: Computer Vision

Research White Paper WHP 143. Multi-camera radiometric surface modelling for image-based re-lighting BRITISH BROADCASTING CORPORATION.

Introduction to Game FX (1/2) Improve the visual & sound game effects Includes : Combat FX Environment FX Character FX Scene FX Sound FX Post-processi

Recap of Previous Lecture

Light Transport CS434. Daniel G. Aliaga Department of Computer Science Purdue University

Overview. Hierarchy. Level of detail hierarchy Texture maps Procedural shading and texturing Texture synthesis and noise.

Image-based modeling (IBM) and image-based rendering (IBR)

Texture. Texture Maps

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

Scene Modeling for a Single View

Modeling Light. Slides from Alexei A. Efros and others

Texture. Detail Representation

Image Based Lighting with Near Light Sources

Image Based Lighting with Near Light Sources

Modeling Light. On Simulating the Visual Experience

Image-Based Rendering

Image stitching. Digital Visual Effects Yung-Yu Chuang. with slides by Richard Szeliski, Steve Seitz, Matthew Brown and Vaclav Hlavac

Multiple View Geometry

Topic 12: Texture Mapping. Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping

Topic 11: Texture Mapping 11/13/2017. Texture sources: Solid textures. Texture sources: Synthesized

More and More on Light Fields. Last Lecture

Omni-directional stereoscopy

Topic 11: Texture Mapping 10/21/2015. Photographs. Solid textures. Procedural

Scene Modeling for a Single View

Chapter 1 Introduction

Multiple Importance Sampling

CMSC427 Advanced shading getting global illumination by local methods. Credit: slides Prof. Zwicker

Representing and Computing Polarized Light in a Ray Tracer

Real-Time Image Based Lighting in Software Using HDR Panoramas

Multi-View Stereo for Community Photo Collections Michael Goesele, et al, ICCV Venus de Milo

3D graphics, raster and colors CS312 Fall 2010

Shadow and Environment Maps

CS635 Spring Department of Computer Science Purdue University

Computational Cameras: Exploiting Spatial- Angular Temporal Tradeoffs in Photography

Announcements. Mosaics. Image Mosaics. How to do it? Basic Procedure Take a sequence of images from the same position =

CS-184: Computer Graphics. Administrative

CS 684 Fall 2005 Image-based Modeling and Rendering. Ruigang Yang

Image or Object? Is this real?

Ray Tracing III. Wen-Chieh (Steve) Lin National Chiao-Tung University

Computer Graphics for Large- Scale Immersive Theaters

BioTechnology. An Indian Journal FULL PAPER. Trade Science Inc. A wavelet based real-time rendering technology for indoor mixed reality ABSTRACT

Introduction to 3D Concepts

Computational Photography: Real Time Plenoptic Rendering

Image-Based Modeling and Rendering

Skeleton Cube for Lighting Environment Estimation

We want to put a CG object in this room

IMAGE BASED RENDERING: Using High Dynamic Range Photographs to Light Architectural Scenes

3D Rendering. Course Syllabus. Where Are We Now? Rendering. 3D Rendering Example. Overview. Rendering. I. Image processing II. Rendering III.

S U N G - E U I YO O N, K A I S T R E N D E R I N G F R E E LY A VA I L A B L E O N T H E I N T E R N E T

Lecture 15: Many Lights. CS 6620, Spring 2009 Kavita Bala Computer Science Cornell University. Many Lights

Real-time High Dynamic Range Image-based Lighting

Announcements. Written Assignment 2 is out see the web page. Computer Graphics

Projection simulator to support design development of spherical immersive display

High Dynamic Range Images

The Shading Probe: Fast Appearance Acquisition for Mobile AR

Recursion and Data Structures in Computer Graphics. Ray Tracing

Computational Photography

Mosaics. Today s Readings

Image Warping and Mosacing

CIS 536/636 Introduction to Computer Graphics. Kansas State University. CIS 536/636 Introduction to Computer Graphics

Lecture 19: Depth Cameras. Visual Computing Systems CMU , Fall 2013

But, vision technology falls short. and so does graphics. Image Based Rendering. Ray. Constant radiance. time is fixed. 3D position 2D direction

o Basic signal processing o Filtering, resampling, warping,... Rendering o Polygon rendering pipeline o Ray tracing Modeling

A Survey of Light Source Detection Methods

CS 283: Assignment 3 Real-Time / Image-Based Rendering

Acquisition and Visualization of Colored 3D Objects

Volumetric Scene Reconstruction from Multiple Views

Today s lecture. Image Alignment and Stitching. Readings. Motion models

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

CS 498 VR. Lecture 20-4/11/18. go.illinois.edu/vrlect20

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Computer Graphics Lecture 11

Image-Based Modeling and Rendering. Image-Based Modeling and Rendering. Final projects IBMR. What we have learnt so far. What IBMR is about

Digitization of 3D Objects for Virtual Museum

Image-Based Modeling and Rendering

Image warping and stitching

More Mosaic Madness. CS194: Image Manipulation & Computational Photography. Steve Seitz and Rick Szeliski. Jeffrey Martin (jeffrey-martin.

Recap from Previous Lecture

EE795: Computer Vision and Intelligent Systems

Capturing and Rendering With Incident Light Fields

Real-time Generation and Presentation of View-dependent Binocular Stereo Images Using a Sequence of Omnidirectional Images

Models and Architectures

Transcription:

Previous Lecture The 7d plenoptic function, indexing all light. Lightfields: a 4d (not 5d!) data structure which captures all outgoing light from a region and permits reconstruction of arbitrary synthetic viewpoints. Can be built into a modern camera. Capturing and recreating visual content involves a combination of geometric and image-based methods. Lytro Camera

Image-Based Lighting Eirik Holmøyvik Slides from Alexei Efros and Paul Debevec cs129: Computational Photography James Hays, Brown, Fall 2012

Inserting Synthetic Objects Why does this look so bad? Wrong orientation Wrong lighting No shadows

Solutions Wrong Camera Orientation Estimate correct camera orientation and render object Requires camera calibration to do it right Lighting & Shadows Estimate (eyeball) all the light sources in the scene and simulate it in your virtual rendering But what happens if lighting is complex? Extended light sources, mutual illumination, etc.

Environment Maps Simple solution for shiny objects Models complex lighting as a panoramic image i.e. amount of radiance coming in from each direction A plenoptic function!!!

Environment Mapping Reflected ray: r=2(n v)n-v projector function converts reflection vector to texture image (u, v) viewer n v r reflective surface environment texture image Texture is transferred in the direction of the reflected ray from the environment map onto the object What is in the map?

What approximations are made? The map should contain a view of the world with the point of interest on the object as the Center of Projection We can t store a separate map for each point, so one map is used with the COP at the center of the object Introduces distortions in the reflection, but we usually don t notice Distortions are minimized for a small object in a large room The object will not reflect itself!

Environment Maps The environment map may take various forms: Cubic mapping Spherical mapping other Describes the shape of the surface on which the map resides Determines how the map is generated and how it is indexed

Cubic Mapping The map resides on the surfaces of a cube around the object Typically, align the faces of the cube with the coordinate axes To generate the map: For each face of the cube, render the world from the center of the object with the cube face as the image plane Rendering can be arbitrarily complex (it s off-line) To use the map: Index the R ray into the correct cube face Compute texture coordinates

Cubic Map Example

Sphere Mapping Map lives on a sphere To generate the map: Render a spherical panorama from the designed center point To use the map: Use the orientation of the R ray to index directly into the sphere

Example

What about real scenes? From Flight of the Navigator

What about real scenes? from Terminator 2

Real environment maps We can use photographs to capture environment maps How do we deal with light sources? Sun, lights, etc? They are much much brighter than the rest of the enviarnment User High Dynamic Range photography, of course! Several ways to acquire environment maps: Stitching mosaics Fisheye lens Mirrored Balls

Stitching HDR mosaics http://www.gregdowning.com/hdri/stitched/

Scanning Panoramic Cameras Pros: very high res (10K x 7K+) Full sphere in one scan no stitching Good dynamic range, some are HDR Issues: More expensive Scans take a while Companies: Panoscan, Sphereon

Fisheye Images

Mirrored Sphere

Sources of Mirrored Balls 2-inch chrome balls ~ $20 ea. e.g. McMaster-Carr Supply Company www.mcmaster.com 6-12 inch large gazing balls Hollow Spheres, 2in 4in e.g. Dube Juggling Equipment www.dube.com FAQ on http://ict.debevec.org/~debevec/hd RShop/main-pages/tutorials.html

0.34 => 59% Reflective Calibrating Mirrored Sphere Reflectivity 0.58

Real-World HDR Lighting Environments Funston Beach Eucalyptus Grove Uffizi Gallery Grace Cathedral Lighting Environments from the Light Probe Image Gallery: http://www.debevec.org/probes/

Acquiring the Light Probe

Assembling the Light Probe

Not just shiny We have captured a true radiance map We can treat it as an extended (e.g spherical) light source Can use Global Illumination to simulate light transport in the scene So, all objects (not just shiny) can be lighted What s the limitation?

Illumination Results

Comparison: Radiance map versus single image

Putting it all together Synthetic Objects + Real light!

CG Objects Illuminated by a Traditional CG Light Source

Paul Debevec. A Tutorial on Image-Based Lighting. IEEE Computer Graphics and Applications, Jan/Feb 2002.

Rendering with Natural Light SIGGRAPH 98 Electronic Theater

RNL Environment mapped onto interior of large cube

MOVIE!

Illuminating a Small Scene

We can now illuminate synthetic objects with real light. How do we add synthetic objects to a real scene?

Real Scene Example Goal: place synthetic objects on table

Light Probe / Calibration Grid

Modeling the Scene light-based model real scene

The Light-Based Room Model

Modeling the Scene light-based model synthetic objects local scene real scene

The Lighting Computation distant scene (light-based, unknown BRDF) synthetic objects (known BRDF) local scene (estimated BRDF)

Rendering into the Scene Background Plate

Rendering into the Scene Objects and Local Scene matched to Scene

Differential Rendering Local scene w/o objects, illuminated by model

Differential Rendering (2) Difference in local scene - =

Differential Rendering Final Result

IMAGE-BASED LIGHTING IN FIAT LUX Paul Debevec, Tim Hawkins, Westley Sarokin, H. P. Duiker, Christine Cheng, Tal Garfinkel, Jenny Huang SIGGRAPH 99 Electronic Theater

HDR Image Series 2 sec 1/4 sec 1/30 sec 1/250 sec 1/2000 sec 1/8000 sec

Stp1 Panorama

Assembled Panorama

Light Probe Images

Capturing a Spatially-Varying Lighting Environment

The Movie

Simulating the Glare in the Human Eye Greg Spencer, Peter Shirley, Kurt Zimmerman, and Donald Greenberg. Physically-based glare effects for digital images. SIGGRAPH 95.

Scattering in the eye What s the scattering model?

HDR Image

Gaussian Blur, LDR information Only

Gaussian Blur, Full HDR Information

Full HDR Disc Blur

Frame Postprocessing in Rendering with Natural Light