Real-Time Rendering Paper Presentation Logarithmic Perspective Shadow Maps Brandon Lloyd Naga Govindaraju Cory Quammen Steve Molnar Dinesh Manocha Slides.

Slides:



Advertisements
Similar presentations
Ray Tracing Depth Maps Using Precomputed Edge Tables Kevin Egan Rhythm & Hues Studios.
Advertisements

An Introduction to Light Fields Mel Slater. Outline Introduction Rendering Representing Light Fields Practical Issues Conclusions.
SDSM SAMPLE DISTRIBUTION SHADOW MAPS The Evolution Of PSSM.
High-Quality Parallel Depth-of- Field Using Line Samples Stanley Tzeng, Anjul Patney, Andrew Davidson, Mohamed S. Ebeida, Scott A. Mitchell, John D. Owens.
Shadow and Shadow Maps [5]. Object without shadow seem floating above the scene Shadow gives the depth information Shadow gives the information of the.
For real-time rendering Crysis 3 screenshot -
1 Dr. Scott Schaefer Shadows. 2/40 Shadows Shadows provide clues about depth Make scenes appear more realistic.
I3D Fast Non-Linear Projections using Graphics Hardware Jean-Dominique Gascuel, Nicolas Holzschuch, Gabriel Fournier, Bernard Péroche I3D 2008.
Real-Time Rendering Paper Presentation Imperfect Shadow Maps for Efficient Computation of Indirect Illumination T. Ritschel T. Grosch M. H. Kim H.-P. Seidel.
Rasterization and Ray Tracing in Real-Time Applications (Games) Andrew Graff.
Shadow Silhouette Maps Pradeep Sen, Mike Cammarano, Pat Hanrahan Stanford University.
3D Graphics Processor Architecture Victor Moya. PhD Project Research on architecture improvements for future Graphic Processor Units (GPUs). Research.
1 Dynamic Shadows and Lighting for Walkthrus of Large Models Brandon Lloyd COMP 258 December 2002.
Perspective Shadow Maps Marc Stamminger and George Drettakis Speaker: Alvin Date: 5/28/2003 SIGGRAPH 2002.
Perspective Shadow Maps Marc Stamminger REVES/INRIA, Sophia-Antipolis, France now at: Bauhaus-Universität, Weimar, Germany George Drettakis REVES/INRIA,
Z-Buffer Optimizations Patrick Cozzi Analytical Graphics, Inc.
Linear View Synthesis Using a Dimensionality Gap Light Field Prior
Acceleration on many-cores CPUs and GPUs Dinesh Manocha Lauri Savioja.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Models and Architectures Ed Angel Professor of Computer Science, Electrical and Computer.
LOGO Shadows On the GPU Presented by Lukai Lan. LOGO Contents  Introductions  Recent Shadow Maps  What we are NOT covering today  Perspective Shadow.
Introduction | Crepuscular rays and Caustics Caustics are high intensity highlights due to convergence of light via different paths Crepuscular rays (godrays)
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Practical Logarithmic Shadow Maps Brandon LloydUNC-CH Naga GovindarajuUNC-CH David TuftUNC-CH Steve MolnarNvidia.
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2006 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
Computer Graphics Shadows
Erdem Alpay Ala Nawaiseh. Why Shadows? Real world has shadows More control of the game’s feel  dramatic effects  spooky effects Without shadows the.
Computer Graphics Mirror and Shadows
Ray Tracing Primer Ref: SIGGRAPH HyperGraphHyperGraph.
Voxelized Shadow Volumes Chris Wyman Department of Computer Science University of Iowa High Performance Graphics 2011.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
1 Speeding Up Ray Tracing Images from Virtual Light Field Project ©Slides Anthony Steed 1999 & Mel Slater 2004.
Rendering Forest Scenes in Real-Time EGSR 2004 Philippe Decaudin Fabrice Neyret GRAVIR/IMAG-INRIA, Grenoble, France.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Rendering Geometry with Relief Textures L.Baboud X.Décoret ARTIS-GRAVIR/IMAG-INRIA.
Penumbra Deep Shadow Maps Jean-Francois St-Amour, LIGUM – Université de Montreal Eric Paquette, LESIA - ETS Pierre Poulin, LIGUM – Université de Montreal.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Practical logarithmic rasterization for low error shadow maps Brandon LloydUNC-CH Naga GovindarajuMicrosoft.
Real-time Shadow Mapping. Shadow Mapping Shadow mapping uses two-pass rendering - render depth texture from the light ’ s point-of-view - render from.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1Computer Graphics Lecture 4 - Models and Architectures John Shearer Culture Lab – space 2
Perspective Shadow Maps Marc Stamminger REVES/INRIA, Sophia-Antipolis, France now at: Bauhaus-Universität, Weimar, Germany George Drettakis REVES/INRIA,
Computer Graphics 2 Lecture 7: Texture Mapping Benjamin Mora 1 University of Wales Swansea Pr. Min Chen Dr. Benjamin Mora.
Rendering Fake Soft Shadows with Smoothies Eric Chan Massachusetts Institute of Technology.
Hardware-accelerated Rendering of Antialiased Shadows With Shadow Maps Stefan Brabec and Hans-Peter Seidel Max-Planck-Institut für Informatik Saarbrücken,
Binary Space Partitioning Trees Ray Casting Depth Buffering
Sample Based Visibility for Soft Shadows using Alias-free Shadow Maps Erik Sintorn – Ulf Assarsson – uffe.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Variance Shadow Maps Andrew Lauritzen, RapidMind.
Oliver Klehm, MPI Informatik Hans-Peter Seidel, MPI Informatik Elmar Eisemann, TU Delft.
11/24/ :45 Graphics II Shadow Maps Reflections Session 5.
CSCE 641 Computer Graphics: Image-based Rendering (cont.) Jinxiang Chai.
Shadows David Luebke University of Virginia. Shadows An important visual cue, traditionally hard to do in real-time rendering Outline: –Notation –Planar.
Convolution Shadow Maps * MPI Informatik Germany † Hasselt University Belgium ‡ University College London UK T. Annen * T. Mertens † P. Bekaert † H.-P.
1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Models and Architectures 靜宜大學 資訊工程系 蔡奇偉 副教授 2012.
SHADOW CASTER CULLING FOR EFFICIENT SHADOW MAPPING JIŘÍ BITTNER 1 OLIVER MATTAUSCH 2 ARI SILVENNOINEN 3 MICHAEL WIMMER 2 1 CZECH TECHNICAL UNIVERSITY IN.
Shuen-Huei Guan Seminar in CMLab, NTU
Robust Shadow Maps for Large Environments
Logarithmic perspective shadow maps
Models and Architectures
Models and Architectures
Models and Architectures
Introduction to Computer Graphics with WebGL
Alias-Free Shadow Maps
Practical logarithmic rasterization for low error shadow maps
Real-time Rendering Shadow Maps
UMBC Graphics for Games
Models and Architectures
Models and Architectures
ATO Project: Year 3 Main Tasks
Sample Distribution Shadow Maps
GEARS: A General and Efficient Algorithm for Rendering Shadows
Presentation transcript:

Real-Time Rendering Paper Presentation Logarithmic Perspective Shadow Maps Brandon Lloyd Naga Govindaraju Cory Quammen Steve Molnar Dinesh Manocha Slides refer to Brandon Lloyd’s Presented by Bo-Yin Yao

Outlines Introduction Related work Logarithmic perspective warping Error analysis Results Conclusion 2

Outlines Introduction Related work Logarithmic perspective warping Error analysis Results Conclusion 3

Standard Shadow Map aliasing undersampled 4

Perspective Warping aliasing 5

Logarithmic perspective shadow maps (LogPSMs) Warp the shadow map using a perspective transformation with an additional logarithmic warping Reduce maximum error to levels that are nearly optimal for scene-independent algorithms Similar performance to PSM with less error Similar error to PSM with less texture resolution 6

Logarithmic Perspective Warping 7

Outlines Introduction Related work Logarithmic perspective warping Error analysis Results Conclusion 8

Single shadow map warping Perspective shadow maps (PSMs) [Stamminger and Drettakis 2002] 9

Single shadow map warping Light-space perspective shadow maps (LiSPSMs) [Wimmer et al. 2004] Trapezoidal shadow maps [Martin and Tan 2004] 10

Face partitioning Perspective warped cube maps [Kozlov 2004] 11

z-partitioning Cascaded shadow maps [Engel 2007] Parallel split shadow maps [Zhang et al. 2006] Separating-plane shadow maps [Mikkelsen 2007] z 12

Adaptive partitioning Adaptive shadow maps [Fernando et al. 2001] Queried virtual shadow maps [Geigl and Wimmer 2007] Fitted virtual shadow maps [Geigl and Wimmer 2007] Resolution matched shadow maps [Lefohn et al. 2007] Tiled shadow maps [Arvo 2004] Multiple shadow frusta [Forsyth 2006] 13

Irregular z-buffer GPU implementations [Arvo 2006; Sintorn et al. 2008] Hardware architecture [Johnson et al. 2005] 14

Sampling modified methods Scene-independent Methods Single SM warping Face partitioning z-partitioning Benefit Lower, nearly constant cost Drawback Higher error Scene-dependent Adaptive Irregular 15

Sampling modified methods Scene-dependent Methods Adaptive Irregular Benefit Lower error Drawback Higher, variable cost 16

Filtering methods Percentage closer filtering [Reeves et al. 1987] Variance shadow maps [Donnely and Lauritzen 2006; Lauritzen and McCool 2008] Convolution shadow maps [Annen et al. 2007] Exponential shadow maps [Salvi 2008; Annen et al. 2008] 17

Outlines Introduction Related work Logarithmic perspective warping Error analysis Results Conclusion 18

Perspective warping PSM Tight fit to the view frustum Low error in x, but high error along y LiSPSMs Relax the warping to reduce the error in y, but this increases the error in x PSM LiSPSM high error low error moderate error y x 19

Logarithmic + perspective warping Starts with perspective projection similar to PSMs Then applies a logarithmic transformation to correct for the high error in y 20

Logarithmic + perspective warping Perspective projection Logarithmic transform high error low error y x 21

Logarithmic + perspective warping Causes planar primitives to become curved → need a specialized rasterization to render 22

Logarithmic rasterization Brute-force rasterization Use a fragment program Slower than standard rasterization disables optimizations z-culling double-speed z-only rendering breaks linear depth compression schemes 23

Outlines Introduction Related work Logarithmic perspective warping Error analysis Results Conclusion 24

Combinations of algorithms single SM Standard P LogP z-partitioning ZP ZP+P ZP+LogP P - Perspective warping LogP- Logarithmic perspective warping ZP- z-partitioning FP- face partitioning face-partitioning - FP+P FP+LogP 25

Quantifying aliasing error light 26

Quantifying aliasing error light light image plane shadow map eye image plane 27

Quantifying aliasing error Maximum error: over a light ray over the frustum over all light positions light 28

Scene-independent maximum error Standard FP+P ZP5+P FP+LogP 29

Near optimal, scene-independent warping Minimizes maximum error over a face Too complicated for practical use Used as a baseline 30

Maximum error over all light positions Param.End faceSide face - sSide face - t Side face - combined Uniform Perspective Log+Persp. Near optimal 31

Error distribution along a face max error in s max error in t near far Uniform LiSPSM PSM LogPSM Uniform LiSPSMPSMLogPSM 32

Maximum error for varying light directions with z-partitioning view direction direction to light 33

Outlines Introduction Related work Logarithmic perspective warping Error analysis Results Conclusion 34

Single shadow map LogPSM LogPSMs have lower maximum error more uniform error LiSPSM LogPSM LiSPSM LogPSM Error color mapping 35

Partitioning schemes Standard FP+P ZP5+PFP+LogP 36

Point lights 37

Demo video 38

Outlines Introduction Related work Logarithmic perspective warping Error analysis Results Conclusion 39

Benefits of LogPSMs LogPSMs are close to optimal for scene- independent algorithms LogPSMs achieve low error with few shadow maps Can replace perspective warping in scene- independent directly single shadow map z-partitioning face partitioning 40

Limitations of LogPSMs Not currently supported in hardware Share problems as other warping algorithms: Do not handle aliasing error due to surface orientation Face partitioning needed for most benefit Not as simple as z-partitioning Can exhibit shearing artifacts 41

Thanks For Your Participation! 42