Image-Based Lighting. Inserting Synthetic Objects

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

Image-Based Lighting

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

The 7d plenoptic function, indexing all light.

Image-based Lighting (Part 2)

Image-based Lighting

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

CS 354R: Computer Game Technology

CS4670/5760: Computer Vision

Computer Graphics. Lecture 9 Environment mapping, Mirroring

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

Computer Graphics for Large- Scale Immersive Theaters

High Dynamic Range Image Texture Mapping based on VRML

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

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

Texture. Texture Maps

Texture. Detail Representation

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

Mosaics. Today s Readings

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

Multiple Importance Sampling

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

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

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

Omni-directional stereoscopy

Reflection Mapping

Real-Time Image Based Lighting in Software Using HDR Panoramas

Image Warping and Mosacing

BRYCE 5 Mini Tutorial

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

Shadow and Environment Maps

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

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

CS6670: Computer Vision

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

Projective Texture Mapping with Full Panorama

Computer Graphics Lecture 11

Image Based Lighting with Near Light Sources

Image Based Lighting with Near Light Sources

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

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

Introduction to 3D Concepts

CS635 Spring Department of Computer Science Purdue University

Image-Based Modeling and Rendering

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

Representing and Computing Polarized Light in a Ray Tracer

Recap of Previous Lecture

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

The Shading Probe: Fast Appearance Acquisition for Mobile AR

Scene Modeling for a Single View

Image stitching. Announcements. Outline. Image stitching

Recursion and Data Structures in Computer Graphics. Ray Tracing

lecture 18 - ray tracing - environment mapping - refraction

Digitization of 3D Objects for Virtual Museum

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

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

Scene Modeling for a Single View

EE795: Computer Vision and Intelligent Systems

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

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

More Single View Geometry

COMP30019 Graphics and Interaction Perspective & Polygonal Geometry

Immersive Rendering Basics and Aesthetics

Image warping and stitching

CSE528 Computer Graphics: Theory, Algorithms, and Applications

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

Introduction to Image Processing and Computer Vision. -- Panoramas and Blending --

6.098 Digital and Computational Photography Advanced Computational Photography. Panoramas. Bill Freeman Frédo Durand MIT - EECS

Assignment 2 Ray Tracing

Panoramas. Why Mosaic? Why Mosaic? Mosaics: stitching images together. Why Mosaic? Olivier Gondry. Bill Freeman Frédo Durand MIT - EECS

Image warping and stitching

Faces and Image-Based Lighting

Projection simulator to support design development of spherical immersive display

We want to put a CG object in this room

3D graphics, raster and colors CS312 Fall 2010

Multiple View Geometry

Homographies and RANSAC

COMP 175: Computer Graphics April 11, 2018

Scalable multi-gpu cloud raytracing with OpenGL

Textures Tutorial. Using Cobalt, Xenon, Argon. Copyright Vellum Investment Partners dba Ashlar-Vellum. All rights reserved.

Recollection. Models Pixels. Model transformation Viewport transformation Clipping Rasterization Texturing + Lights & shadows

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

Turn your movie file into the homework folder on the server called Lights, Camera, Action.

Computed Photography - Final Project Endoscope Exploration on Knee Surface

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

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Acquisition and Visualization of Colored 3D Objects

Computer Graphics. - Texturing Methods -

Recall: Indexing into Cube Map

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

More and More on Light Fields. Last Lecture

03 RENDERING PART TWO

CS4670: Computer Vision

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

More Texture Mapping. Texture Mapping 1/46

Chapter 1 Introduction

High Dynamic Range Images

x ~ Hemispheric Lighting

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

Transcription:

Image-Based Lighting 15-463: Rendering and Image Processing Alexei Efros with a lot of slides donated by Paul Debevec Inserting Synthetic Objects Why does this look so bad? Wrong camera orientation Wrong lighting No shadows 1

Solutions Wrong Camera Orientation Estimate correct camera orientation and renender object Use corresponding points to warp the object/scene Only works for small warps and/or mostly planar objects Lighting & Shadows Estimate (eyeball) all the light sources in the scene and simulate it in your virtual rendering Now can use shadow matting to put in shadows 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 2

Environment Mapping Reflected ray: r=2(n v)n-v projector function converts reflection vector (x, y, z) 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 eye We can t store a separate map for each point, so one map is used with the eye at the center of the object Introduces distortions in the reflection, but the eye doesn t notice Distortions are minimized for a small object in a large room The object will not reflect itself! 3

Environment Maps The environment map may take one of several 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 4

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 5

Example What about real scenes? from Terminator 2 6

Real environment maps We can use photographs to capture environment maps The first use of panoramic mosaics 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/ 7

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 See also www.kaidan.com 8

Fisheye Images 9

Mirrored Sphere 10

Sources of Mirrored Balls 2-inch chrome balls ~ $20 ea. McMaster-Carr Supply Company www.mcmaster.com 6-12 inch large gazing balls Baker s Lawn Ornaments www.bakerslawnorn.com Hollow Spheres, 2in 4in Dube Juggling Equipment www.dube.com FAQ on 11

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/ 12

Acquiring the Light Probe Assembling the Light Probe 13

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 14

Comparison: Radiance map versus single image Putting it all together Synthetic Objects + Real light! 15

CG Objects Illuminated by a Traditional CG Light Source Illuminating Objects using Measurements of Real Light Object Light Environment assigned glow material property in Greg Ward s RADIANCE system. http://radsite.lbl.gov/radiance/ 16

Paul Debevec. A Tutorial on Image-Based Lighting. IEEE Computer Graphics and Applications, Jan/Feb 2002. Rendering with Natural Light SIGGRAPH 98 Electronic Theater 17

RNL Environment mapped onto interior of large cube MOVIE! 18