A geometry-based soft shadow volume algorithm using graphics hardware

被引:74
作者
Assarsson, U [1 ]
Akenine-Möller, T [1 ]
机构
[1] Chalmers, Gothenburg, Sweden
来源
ACM TRANSACTIONS ON GRAPHICS | 2003年 / 22卷 / 03期
关键词
soft shadows; graphics hardware; pixel shaders;
D O I
10.1145/882262.882300
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Most previous soft shadow algorithms have either suffered from aliasing, been too slow, or could only use a limited set of shadow casters and/or receivers. Therefore, we present a strengthened soft shadow volume algorithm that deals with these problems. Our critical improvements include robust penumbra wedge construction, geometry-based visibility computation, and also simplified computation through a four-dimensional texture lookup. This enables us to implement the algorithm using programmable graphics hardware, and it results in images that most often are indistinguishable from images created as the average of 1024 hard shadow images. Furthermore, our algorithm can use both arbitrary shadow casters and receivers. Also, one version of our algorithm completely avoids sampling artifacts which is rare for soft shadow algorithms. As a bonus, the four-dimensional texture lookup allows for small textured light sources, and, even video textures can be used as light sources. Our algorithm has been implemented in pure software, and also using the GeForce FX emulator with pixel shaders. Our software implementation renders soft shadows at 0.5-5 frames per second for the images in this paper. With actual hardware, we expect that our algorithm will render soft shadows in real time. An important performance measure is bandwidth usage. For the same image quality, an algorithm using the accumulated hard shadow images uses almost two orders of magnitude more bandwidth than our algorithm.
引用
收藏
页码:511 / 520
页数:10
相关论文
共 27 条
  • [1] Agrawala M, 2000, COMP GRAPH, P375, DOI 10.1145/344779.344954
  • [2] AKENINEMOLLER T, 2002, 13 EUR WORKSH REND E, P309
  • [3] ASSARSSON U, 2003, UNPUB VISUAL COMPUTE
  • [4] A GENERAL VERSION OF CROWS SHADOW VOLUMES
    BERGERON, P
    [J]. IEEE COMPUTER GRAPHICS AND APPLICATIONS, 1986, 6 (09) : 17 - 28
  • [5] Brabec S, 2002, PROC GRAPH INTERF, P219
  • [6] GENERATING SOFT SHADOWS WITH A DEPTH BUFFER ALGORITHM
    BROTMAN, LS
    BADLER, NI
    [J]. IEEE COMPUTER GRAPHICS AND APPLICATIONS, 1984, 4 (10) : 5 - 12
  • [7] Cohen M. F., 1993, Radiosity and Realistic Image Synthesis
  • [8] CROW F, 1977, COMPUT GRAPH, V11, P242
  • [9] Drettakis G., 1994, Computer Graphics Proceedings. Annual Conference Series 1994. SIGGRAPH 94 Conference Proceedings, P223, DOI 10.1145/192161.192207
  • [10] EVERITT C, 2002, PRACTICAL ROBUST STE