Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Adding shadows ofAdding shadows of
objectsobjects
Aravindhan A
Final year CSE | SMIT
About.me/aravindhan
Why shadows?

Make image more realistic

Visual clues as how objects are positioned with
respect to each other
Two methods

Shadows as Texture

Creating shadows with the use of a shadow
buffer
Shadows as Texture

The technique of “painting” shadows as a
texture works for shadows that are cast

On a flat surface ...
Computing shape of shadow
Creating shadows with shadow
buffer

This method performs removal of hidden
surfaces

Principle: Any point in a scene th...
Creating shadows with shadow
buffer

Rendering is done in two stages,
1) Loading the shadow buffer
2) Rendering the scene
Loading the shadow buffer

Shadow buffer calculation is independent of
eye position

Shadow buffer must be recalculated ...
Rendering the scene

Each face of the screen is rendered using eye
camera
1) Pseudo depth from the source to point P
2) I...
Thank you!
Adding shadows of objects | Computer Graphics
Adding shadows of objects | Computer Graphics
Upcoming SlideShare
Loading in …5
×

Adding shadows of objects | Computer Graphics

1,688 views

Published on

A presentation on the topic 'Adding Shadows to Objects' in Computer Graphics.

Published in: Education
  • Be the first to comment

Adding shadows of objects | Computer Graphics

  1. 1. Adding shadows ofAdding shadows of objectsobjects Aravindhan A Final year CSE | SMIT About.me/aravindhan
  2. 2. Why shadows?  Make image more realistic  Visual clues as how objects are positioned with respect to each other
  3. 3. Two methods  Shadows as Texture  Creating shadows with the use of a shadow buffer
  4. 4. Shadows as Texture  The technique of “painting” shadows as a texture works for shadows that are cast  On a flat surface by a point light source  Problem is to compute the shape of shadow that is cast
  5. 5. Computing shape of shadow
  6. 6. Creating shadows with shadow buffer  This method performs removal of hidden surfaces  Principle: Any point in a scene that are hidden from the light source must in shadow
  7. 7. Creating shadows with shadow buffer  Rendering is done in two stages, 1) Loading the shadow buffer 2) Rendering the scene
  8. 8. Loading the shadow buffer  Shadow buffer calculation is independent of eye position  Shadow buffer must be recalculated and loaded whenever the objects move relative to the light source
  9. 9. Rendering the scene  Each face of the screen is rendered using eye camera 1) Pseudo depth from the source to point P 2) Index location in shadow buffer 3) Value stored at index location in shadow buffer
  10. 10. Thank you!

×