Successfully reported this slideshow.
Your SlideShare is downloading. ×

Adding shadows of objects | Computer Graphics

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
GRPHICS06 - Shading
GRPHICS06 - Shading
Loading in …3
×

Check these out next

1 of 12 Ad

Adding shadows of objects | Computer Graphics

Download to read offline

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

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

Advertisement
Advertisement

More Related Content

Similar to Adding shadows of objects | Computer Graphics (20)

Advertisement
Advertisement

Recently uploaded (20)

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!

×