MIT EECS 6.837: Understanding Shadows in Computer Graphics, Slides of Computer Science

An overview of the importance of shadows in computer graphics, covering topics such as shadows as a depth cue, soft shadows, shadows in ray tracing, planar shadows, shadow maps, and shadow volumes. The document also discusses the limitations and optimizations of these techniques.

Typology: Slides

2012/2013

Uploaded on 03/22/2013

dhirendra
dhirendra 🇮🇳

4.3

(78)

268 documents

1 / 51

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
MIT EECS 6.837, Durand and Cutler
Real-Time
Shadows
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33

Partial preview of the text

Download MIT EECS 6.837: Understanding Shadows in Computer Graphics and more Slides Computer Science in PDF only on Docsity!

MIT EECS 6.837, Durand and Cutler

Real-Time

Shadows

Last Time? • The graphics pipeline • Clipping & rasterization of polygons • Visibility — the depth buffer (z-buffer)

Questions?

Today • Why are Shadows Important? • Shadows & Soft Shadows in Ray Tracing • Planar Shadows • Shadow Maps • Shadow Volumes

Shadows as a Depth Cue

For Intuition about Scene Lighting • Position of the light (e.g. sundial) • Hard shadows vs. soft shadows • Colored lights • Directional light vs. point light

Shadows • One shadow ray per

intersection per pointlight source no shadow rays one shadow ray

Soft Shadows •

Caused byextended lightsources

Umbra - source completelyoccluded - Penumbra - Source partially occluded - Fully lit Image removed due to copyright considerations.

Shadows in Ray Tracing •

Shoot ray from visible point to light source

If blocked, discard light contribution - Optimization? - Stop after first intersection (don’tworry about tmin) - Coherence: remember the previous occluder,and test that object first

Traditional Ray Tracing

Today • Why are Shadows Important? • Shadows & Soft Shadows in Ray Tracing • Planar Shadows • Shadow Maps • Shadow Volumes

Cast Shadows on Planar Surfaces • Draw the object primitives a second time,

projected to the ground plane

Today • Why are Shadows Important? • Shadows & Soft Shadows in Ray Tracing • Planar Shadows • Shadow Maps

  • Texture Mapping – Shadow View Duality
    • Shadow Volumes

Texture Mapping • Don't have to represent everything with geometry