|
ABSTRACT
This article presents resolution-matched shadow maps (RMSM), a modified adaptive shadow map (ASM) algorithm, that is practical for interactive rendering of dynamic scenes. Adaptive shadow maps, which build a quadtree of shadow samples to match the projected resolution of each shadow texel in eye space, offer a robust solution to projective and perspective aliasing in shadow maps. However, their use for interactive dynamic scenes is plagued by an expensive iterative edge-finding algorithm that takes a highly variable amount of time per frame and is not guaranteed to converge to a correct solution. This article introduces a simplified algorithm that is up to ten times faster than ASMs, has more predictable performance, and delivers more accurate shadows. Our main contribution is the observation that it is more efficient to forgo the iterative refinement analysis in favor of generating all shadow texels requested by the pixels in the eye-space image. The practicality of this approach is based on the insight that, for surfaces continuously visible from the eye, adjacent eye-space pixels map to adjacent shadow texels in quadtree shadow space. This means that the number of contiguous regions of shadow texels (which can be efficiently generated with a rasterizer) is proportional to the number of continuously visible surfaces in the scene. Moreover, these regions can be coalesced to further reduce the number of render passes required to shadow an image. The secondary contribution of this paper is demonstrating the design and use of data-parallel algorithms inseparably mixed with traditional graphics programming to implement a novel interactive rendering algorithm. For the scenes described in this paper, we achieve 60--80 frames per second on static scenes and 20--60 frames per second on dynamic scenes for 5122 and 10242 images with a maximum effective shadow resolution of 32,7682 texels.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Aila, T. and Laine, S. 2004. Alias-free shadow maps. In 15th Eurographics Workshop on Rendering (Rendering Techniques'04). 161--166.
|
| |
2
|
|
| |
3
|
Chan, E. and Durand, F. 2004. An efficient hybrid shadow rendering algorithm. In 15th Eurographics Workshop on Rendering (Rendering Techniques'04). 185--196.
|
| |
4
|
Chong, H. Y. and Gortler, S. J. 2004. A lixel for every pixel. In 15th Eurographics Workshop on Rendering (Rendering Techniques'04). 167--172.
|
 |
5
|
|
 |
6
|
|
 |
7
|
|
| |
8
|
Forsyth, T. 2004. Practical shadows. In Game Developers Conference. http://www.eelpi.gotdns.org/papers/papers.html.
|
 |
9
|
|
 |
10
|
Naga Govindaraju , Jim Gray , Ritesh Kumar , Dinesh Manocha, GPUTeraSort: high performance graphics co-processor sorting for large database management, Proceedings of the 2006 ACM SIGMOD international conference on Management of data, June 27-29, 2006, Chicago, IL, USA
[doi> 10.1145/1142473.1142511]
|
| |
11
|
|
| |
12
|
Harris, M., Sengupta, S., and Owens, J. D. Parallel prefix sum (scan) with CUDA. In Nguyen Ed. GPU Gems 3, Chap. 31. Addison Wesley, 851--876.
|
| |
13
|
Hasenfratz, J.-M., Lapierre, M., Holzschuch, N., and Sillion, F. 2003. A survey of real-time soft shadows algorithms. Comput. Graph. For. 22, 4, 753--774.
|
| |
14
|
Horn, D. 2005. Stream reduction operations for GPGPU applications. In GPU Gems 2, M. Pharr, Ed. Addison Wesley, Chapter 36, 573--589.
|
 |
15
|
|
 |
16
|
Aaron Lefohn , Shubhabrata Sengupta , Joe Kniss , Robert Strzodka , John D. Owens, Dynamic adaptive shadow maps on graphics hardware, ACM SIGGRAPH 2005 Sketches, July 31-August 04, 2005, Los Angeles, California
[doi> 10.1145/1187112.1187126]
|
 |
17
|
Aaron E. Lefohn , Shubhabrata Sengupta , Joe Kniss , Robert Strzodka , John D. Owens, Glift: Generic, efficient, random-access GPU data structures, ACM Transactions on Graphics (TOG), v.25 n.1, p.60-99, January 2006
[doi> 10.1145/1122501.1122505]
|
| |
18
|
Lloyd, B., Tuft, D., Yoon, S., and Manocha, D. 2006. Warping and partitioning for low error shadow maps. In Proceedings of the Eurographics Symposium on Rendering. Eurographics Association, 215--226.
|
| |
19
|
Lloyd, B., Yoon, S., Tuft, D., and Manocha, D. 2005. Subdivided shadow maps. Tech. rep. TR05-024, University of North Carolina at Chapel Hill.
|
| |
20
|
Martin, T. and Tan, T.-S. 2004. Anti-aliasing and continuity with trapezoidal shadow maps. In Eurographics Symposium on Rendering. 153--160.
|
| |
21
|
|
 |
22
|
|
 |
23
|
|
 |
24
|
|
| |
25
|
Segal, M. and Akeley, K. 2004. The OpenGL Graphics System: A Specification (Version 2.0---Oct.).
|
 |
26
|
|
 |
27
|
|
| |
28
|
|
| |
29
|
Sengupta, S., Lefohn, A. E., and Owens, J. D. 2006. A work-efficient step-efficient prefix sum algorithm. In Proceedings of the Workshop on Edge Computing Using New Commodity Architectures. D--26---27.
|
 |
30
|
|
| |
31
|
Thrane, N. and Simonsen, L. O. 2005. A comparison of acceleration structures for GPU assisted ray tracing. M.S. thesis, University of Aarhus.
|
| |
32
|
Wald, I., Purcell, T. J., Schmittler, J., Benthin, C., and Slusallek, P. 2003. Realtime ray tracing and its use for interactive global illumination. In Eurographics (State of the Art Reports). 85--122.
|
 |
33
|
|
| |
34
|
Wimmer, M., Scherzer, D., and Purgathofer, W. 2004. Light space perspective shadow maps. In Eurographics Symposium on Rendering. 143--151.
|
| |
35
|
|
CITED BY 3
|
|
|
|
|
|
|
|
Gregory S. Johnson , Warren A. Hunt , Allen Hux , William R. Mark , Christopher A. Burns , Stephen Junkins, Soft irregular shadow mapping: fast, high-quality, and robust soft shadows, Proceedings of the 2009 symposium on Interactive 3D graphics and games, February 27-March 01, 2009, Boston, Massachusetts
|
INDEX TERMS
Primary Classification:
I.
Computing Methodologies
I.3
COMPUTER GRAPHICS
I.3.7
Three-Dimensional Graphics and Realism
Subjects:
Color, shading, shadowing, and texture
General Terms:
Algorithms,
Design,
Performance
Keywords:
GPGPU,
GPU,
Shadows,
adaptive shadow maps,
graphics hardware,
scan,
shadow maps
|