1 / 14

Shadow Mapping

Shadow Mapping. Karthik Nallapeta Subramanya Izaaz Yunus Hasi Ebrahim Mehul Mittal Sourav Dey. What is a Shadow?. Light Source. Look At Position Field of View World Up Color No intensity fall off. Z. Options Considered. OpenGL (FLTK) + Ray Tracing Texturing. Core Algorithm.

southern
Télécharger la présentation

Shadow Mapping

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Shadow Mapping KarthikNallapetaSubramanya IzaazYunusHasiEbrahim Mehul Mittal SouravDey

  2. What is a Shadow?

  3. Light Source • Look At • Position • Field of View • World Up • Color • No intensity fall off

  4. Z Options Considered • OpenGL (FLTK) + Ray Tracing • Texturing

  5. Core Algorithm • Populate Shadow Buffers. • Use shadow buffers forshading calculations during rendering.

  6. Changes to GzRenderer Old Code New Code while(!EOF) { populateShadowBuf() } while(!EOF) { putTriangle() } while(!EOF) { putTriangle() }

  7. Spaces: Existing

  8. Spaces: Step 1

  9. Spaces: Step 2 ?

  10. Spaces: Step 2

  11. Efficiency • Each light takes processing time as much as the rendering process • Lesser the lights, faster the speed but lower the shadow quality • Shadow resolution is directly proportional to speed of rendering

  12. References • Lance Williams 1976. Casting Curved Shadows on Curved Surfaces. http://artis.imag.fr/Members/Cyril.Soler/DEA/Ombres/Papers/William.Sig78.pdf • Cass Everitt, AshuRege, CemCebenoyan. Hardware Shadow Mapping. http://www.cs.berkeley.edu/~ravir/6160/papers/shadow_mapping.pdf • Randima Fernando. Percentage-Closer Soft Shadows. http://developer.download.nvidia.com/shaderlibrary/docs/shadow_PCSS.pdf • Cascaded Shadow Maps 2008, NVidia 2008 • http://en.wikipedia.org/wiki/Shadow_mapping

More Related