Lecture14-Shadows

Lecture14-Shadows - CS 455 Computer Graphics Shadows Shadow...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CS 455 Computer Graphics Shadows Shadow Determination What is shadow determiniation? Determining if a point (on a surface or otherwise) can be seen by a light source. Types of shadows: Hard/sharp:- Point and directional light sources- Point is either totally in light or in shadow Soft:- Area light sources- Umbra (total shadow)- Penumbra (partial shadow) We will only discuss point and directional light sources Umbra Penumbra Illumination Model with Shadows Illumination model with included visibility term: Visibility term determines if a light can see the point If point is in shadows, only ambient term applies ) ) , max( ) , max( ( p p r l i i a r c c c S c c color i i i r e l n + + = Visibility Term: 0 or 1 for point/directional lights For all lights Two-pass z-buffer algorithm: First pass: Render scene from light- Store z values into Shadow map similar to a z-buffer but it contains distance from light to nearest object...
View Full Document

This note was uploaded on 03/02/2012 for the course C S 455 taught by Professor Jones,m during the Winter '08 term at BYU.

Page1 / 17

Lecture14-Shadows - CS 455 Computer Graphics Shadows Shadow...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online