期刊文献+

基于GPU的近似软影实时绘制 被引量:12

Real-Time Approximate Soft Shadow Rendering on GPU
下载PDF
导出
摘要 通过对阴影图算法进行扩展,提出一种完全基于GPU的近似软影实时绘制算法,它是一种3遍算法:第一遍从光源中心计算场景的深度图;第二遍采用几何着色器提取物体的轮廓边,同时在轮廓边上生成新的几何图元,利用硬件自动插值功能向外绘制线性近似半影图,并根据第一遍得到的深度图在像素着色器中对背面轮廓形成的半影区进行剔除;对于重叠的半影区设定片元的伪深度值,利用硬件进行自动融合.第三遍分别查询深度图和半影图,确定场景的本影区以及半影区中像素的亮度,从而得到面光源照射下场景的近似软影效果. This paper presents a real-time approximate soft shadow rendering algorithm which runs entirely on GPU by extending the shadow mapping algorithm. This is an algorithm with three passes. In the first pass the depth map is generated from the light view point. It is then followed with the second pass to extract the silhouette edge using geometry shader and to generate penumbra map by extending the silhouette vertex along the normal. The new generated primitive is automatically interpolated by GPU. For the part of the penumbra map which is occluded, it is diminated using the depth map generated in the first pass in fragment shader. For the overlapped part, a fake depth value is set for each of the fragments so that they will be blended automatically by hardware through depth comparison. In the rendering pass, for each fragment we first lookup the depth map to decide whether the fragment is in shadow. For those not in shadow, we lookup the penumbra map to get the penumbra value.
出处 《计算机辅助设计与图形学学报》 EI CSCD 北大核心 2009年第3期275-281,288,共8页 Journal of Computer-Aided Design & Computer Graphics
基金 国家“九七三”重点基础研究发展计划项目(2002CB312102) 国家自然科学基金(60223005,60473105) Research Grant of University of Macao
关键词 软影 轮廓边提取 几何着色器 soft shadow silhouette extraction geometry shader
  • 相关文献

参考文献18

  • 1Woo A, Poulin P, Fournier A. A survey of shadow algorithms [J]. IEEE Computer Graphics and Applications, 1990, 10(6): 13-32
  • 2Hasenfratz J M, Lapierre M, Holzschuch N, etal. A survey of real-time soft shadows algorithms [J]. Computer Graphics Forum, 2003, 22(4): 753-774
  • 3Zhou K, Hu Y H, Lin S, et al. Precomputed shadow fields for dynamics scenes [J]. ACM Transactions on Graphics, 2005, 24(3): 1196-1201
  • 4Ren Z, Wang R, Snyder J, et al. Real-time soft shadows in dynamic scenes using spherical harmonic exponentiation [J]. ACM Transactions on Graphics, 2006, 25(3): 977-986
  • 5Assarsson U, Akenine MOiler T. A geometry-based soft shadow volume algorithm using graphics hardware [J]. ACM Transactions on Graphics, 2003, 22(3): 511-520
  • 6Assarsson U, Dougherty M, Mounier M, et al. An optimized soft shadow volume algorithm with real-time performance [C] //Proceedings of the ACM SIGGRAPH/ Eurographics Conference on Graphics Hardware, San Diego, California, 2003:33-40
  • 7Assarsson U, Akenine-Moller T. Occlusion culling and z-fail for soft shadow volume algorithms [J]. The Visual Computer, 2004, 20(8 9): 601-612
  • 8Aila T, Akenine Moiler T. A hierarchical shadow volume algorithm [C] //Proceedings of the ACM SIGGRAPH/ Eurographics Conference on Graphics Hardware, Grenoble, 2004:15-23
  • 9Laine S, Aila T, Assarsson U, et al. Soft shadow volume for ray tracing[J]. ACM Transactions on Graphics, 2005, 24(3): 1156-1165
  • 10Atty L, Holzschuch N, Lapierre M, et al. Soft shadow maps., efficient sampling of light source visibility [J]. Computer Graphics Forum, 2006, 25(4):725-741

同被引文献203

引证文献12

二级引证文献31

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部