Sources, shadows and shading

Similar documents
Starting this chapter

Announcement. Lighting and Photometric Stereo. Computer Vision I. Surface Reflectance Models. Lambertian (Diffuse) Surface.

Global Illumination. Frank Dellaert Some slides by Jim Rehg, Philip Dutre

Announcements. Radiometry and Sources, Shadows, and Shading

Photometric Stereo. Lighting and Photometric Stereo. Computer Vision I. Last lecture in a nutshell BRDF. CSE252A Lecture 7

Image Formation: Light and Shading. Introduction to Computer Vision CSE 152 Lecture 3

Announcements. Image Formation: Light and Shading. Photometric image formation. Geometric image formation

Lighting affects appearance

Radiometry. Radiometry. Measuring Angle. Solid Angle. Radiance

And if that 120MP Camera was cool

Paths, diffuse interreflections, caching and radiometry. D.A. Forsyth

Introduction to Radiosity

Radiometry. Reflectance & Lighting. Solid Angle. Radiance. Radiance Power is energy per unit time

SOURCES, SHADOWS AND SHADING

Soft shadows. Steve Marschner Cornell University CS 569 Spring 2008, 21 February

Module 5: Video Modeling Lecture 28: Illumination model. The Lecture Contains: Diffuse and Specular Reflection. Objectives_template

6. Illumination, Lighting

Overview. Radiometry and Photometry. Foundations of Computer Graphics (Spring 2012)

Computer Graphics (CS 543) Lecture 7b: Intro to lighting, Shading and Materials + Phong Lighting Model

Lighting affects appearance

Global Illumination CS334. Daniel G. Aliaga Department of Computer Science Purdue University

Global Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

Ambien Occlusion. Lighting: Ambient Light Sources. Lighting: Ambient Light Sources. Summary

Raytracing CS148 AS3. Due :59pm PDT

Lighting. Figure 10.1

Today. Anti-aliasing Surface Parametrization Soft Shadows Global Illumination. Exercise 2. Path Tracing Radiosity

Schedule. MIT Monte-Carlo Ray Tracing. Radiosity. Review of last week? Limitations of radiosity. Radiosity

Global Illumination and the Rendering Equation

Lighting and Shading. Slides: Tamar Shinar, Victor Zordon

Local vs. Global Illumination & Radiosity

Radiance. Radiance properties. Radiance properties. Computer Graphics (Fall 2008)

CS770/870 Spring 2017 Radiosity

MIT Monte-Carlo Ray Tracing. MIT EECS 6.837, Cutler and Durand 1

CS770/870 Spring 2017 Radiosity

Computer Graphics (CS 4731) Lecture 16: Lighting, Shading and Materials (Part 1)

Lecture 22: Basic Image Formation CAP 5415

The Animation Process. Lighting: Illusions of Illumination

Understanding Variability

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

A Brief Overview of. Global Illumination. Thomas Larsson, Afshin Ameri Mälardalen University

Global Illumination. COMP 575/770 Spring 2013

CS130 : Computer Graphics Lecture 8: Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside

Global Illumination. CSCI 420 Computer Graphics Lecture 18. BRDFs Raytracing and Radiosity Subsurface Scattering Photon Mapping [Ch

CEng 477 Introduction to Computer Graphics Fall

Global Illumination. Global Illumination. Direct Illumination vs. Global Illumination. Indirect Illumination. Soft Shadows.

Lecture 15: Shading-I. CITS3003 Graphics & Animation

Photometric Stereo.

Capturing light. Source: A. Efros

Other approaches to obtaining 3D structure

Global Illumination. Global Illumination. Direct Illumination vs. Global Illumination. Indirect Illumination. Soft Shadows.

To Do. Advanced Computer Graphics. Course Outline. Course Outline. Illumination Models. Diffuse Interreflection

Point based global illumination is now a standard tool for film quality renderers. Since it started out as a real time technique it is only natural

CSE 681 Illumination and Phong Shading

Virtual Reality for Human Computer Interaction

Lighting & 3D Graphics. Images from 3D Creative Magazine

Adding Spherical Harmonic Lighting to the Sushi Engine. Chris Oat 3D Application Research Group. ATI Research, Inc.

Solutions Manual Computer Vision A Modern Approach 2nd Edition David A. Forsyth

Topic 9: Lighting & Reflection models. Lighting & reflection The Phong reflection model diffuse component ambient component specular component

Anti-aliasing. Images and Aliasing

Measuring Light: Radiometry and Cameras

Comp 410/510 Computer Graphics. Spring Shading

Lightscape A Tool for Design, Analysis and Presentation. Architecture Integrated Building Systems

Computer Graphics. Illumination and Shading

Shading I Computer Graphics I, Fall 2008

Global Rendering. Ingela Nyström 1. Effects needed for realism. The Rendering Equation. Local vs global rendering. Light-material interaction

Shading and Recognition OR The first Mrs Rochester. D.A. Forsyth, UIUC

4. A bulb has a luminous flux of 2400 lm. What is the luminous intensity of the bulb?

Color and Light. CSCI 4229/5229 Computer Graphics Summer 2008

Think about film & lighting

Epipolar geometry contd.

A question from Piazza

Lecture 7 - Path Tracing

Global Illumination and Radiosity

To see how a sharp edge or an aperture affect light. To analyze single-slit diffraction and calculate the intensity of the light

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

Interactive Real-Time Raycasting

Assignment #2. (Due date: 11/6/2012)

CS5670: Computer Vision

Motivation: Monte Carlo Rendering. Sampling and Reconstruction of Visual Appearance. Caustics. Illumination Models. Overview of lecture.

Precomputed Radiance Transfer: Theory and Practice

Illumination models: Radiosity analysis

Color and Light CSCI 4229/5229 Computer Graphics Fall 2016

Monte Carlo Ray-tracing and Rendering

The Rendering Equation and Path Tracing

A Little Background. Motivation. Motivation

Illumination & Shading

Image Based Lighting with Near Light Sources

Image Based Lighting with Near Light Sources

Light Reflection Models

Accelerated Ambient Occlusion Using Spatial Subdivision Structures

Lighting and Shading

CS4670/5760: Computer Vision Kavita Bala Scott Wehrwein. Lecture 23: Photometric Stereo

Topic 9: Lighting & Reflection models 9/10/2016. Spot the differences. Terminology. Two Components of Illumination. Ambient Light Source

Here I ll present a brief summary of the important aspects and then dive into improvements we made on Black Ops II.

2/1/10. Outline. The Radiance Equation. Light: Flux Equilibrium. Light: Radiant Power. Light: Equation. Radiance. Jan Kautz

Radiometry. Computer Graphics CMU /15-662, Fall 2015

CS230 : Computer Graphics Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside

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

Shadow Casting in World Builder. A step to step tutorial on how to reach decent results on the creation of shadows

Design Visualization with Autodesk Alias, Part 2

Transcription:

Sources, shadows and shading But how bright (or what colour) are objects? One more definition: Exitance of a source is the internally generated power radiated per unit area on the radiating surface similar to radiosity: a source can have both radiosity, because it reflects exitance, because it emits General idea: B(x) = E(x) + Ú W Ï radiosity due to Ì Ó incoming radiance dw But what aspects of the incoming radiance will we model?

Shading models Local shading model Surface has radiosity due only to sources visible at each point Advantages: often easy to manipulate, expressions easy supports quite simple theories of how shape information can be extracted from shading Global shading model surface radiosity is due to radiance reflected from other surfaces as well as from surfaces Advantages: usually very accurate

Radiosity due to point sources small, distant sphere radius e and exitance E, which is far away subtends solid angle of about Ê p e ˆ Á Ë d 2

Radiosity due to a point source Radiosity is B( x) = pl o ( x) = r d ( x) L i x,w = r d x ª r d x Ú W Ú ( ) L i x,w D ( )cosq i dw ( )cosq i dw ( )( solid angle) Exitance term = r d ( x)cosq i r x ( )cosq i ( Exitance term and some constants) ( ) 2

Standard nearby point source model r d Ê ( x) N ( x ) S x Á Ë r( x) 2 ( ) ˆ N is the surface normal rho is diffuse albedo S is source vector - a vector from x to the source, whose length is the intensity term works because a dot-product is basically a cosine

Standard distant point source model Issue: nearby point source gets bigger if one gets closer the sun doesn t for any reasonable binding of closer Assume that all points in the model are close to each other with respect to the distance to the source. Then the source vector doesn t vary much, and the distance doesn t vary much either, and we can roll the constants together to get: r d ( ( )) ( x) N( x) S x d

Shadows cast by a point source A point that can t see the source is in shadow For point sources, the geometry is simple

Line sources radiosity due to line source varies with inverse distance, if the source is long enough

Area sources Examples: diffuser boxes, white walls. The radiosity at a point due to an area source is obtained by adding up the contribution over the section of view hemisphere subtended by the source change variables and add up over the source

Radiosity due to an area source rho is albedo E is exitance r(x, u) is distance between points u is a coordinate on the source B( x) = r d ( x) L i ( x,u Æ x)cosq i dw = r d x = r d ( x) = r d x Ú W ( ) L e x,u Æ x ( ) Ú W Ú W Ê Á Ë ( )cosq i dw ( ) p E u ˆ cosq i dw ( ) Ê E u ˆ Ê da Ú Á cosq i cosq u Á s Ë p Ë r(x,u) 2 source ˆ = r d ( x) E( u) cosq i cosq s Ú source pr(x,u) 2 da u

Area Source Shadows

Curious Experimental Fact Prepare two rooms, one with white walls and white objects, one with black walls and black objects Illuminate the black room with bright light, the white room with dim light People can tell which is which (due to Gilchrist) Why? (a local shading model predicts they can t).

Interreflections Issue: local shading model is a poor description of physical processes that give rise to images because surfaces reflect light onto one another This is a major nuisance; the distribution of light (in principle) depends on the configuration of every radiator; big distant ones are as important as small nearby ones (solid angle) The effects are easy to model It appears to be hard to extract information from these models

Study qualitative effects soft shadows decreased dynamic range reflexes smoothing Build Approximations ambient illumination Solve approximate versions

A simple finite element model Divide world into patches of constant albedo and represent radiosity, exitance as constant on each patch. We must now figure out patch-patch interactions.

The two big technical problems Integration computing form factors penumbra rendering smoothing example Linear algebra issues