期刊文献+

基于膨胀腐蚀算法的软阴影生成 被引量:3

Rendering Soft Shadows Based-on Swell and Erode Algorithm
下载PDF
导出
摘要 针对基于阴影图的半影生成算法中生成速度慢、本影区域过大的问题,提出了基于膨胀腐蚀算法的改进算法。首先利用阴影图的深度图生成一个亮度图,并计算出阴影的半影区相对于由点光源形成的硬阴影的距离,然后利用膨胀腐蚀算法根据求得的距离对亮度图进行适当的膨胀和腐蚀,最后利用经过处理的亮度图求得最终渲染结果。算法充分利用了阴影图算法不考虑场景本身结构的特点,并利用了GPU高度并行计算的优点,可以实现实时动态的高真实感的阴影渲染,并具有抗锯齿走样的特性。 The problem of the algorithm of rendering penumbra based-on the shadow map has been discussed.The limitation of current algorithm of rendering penumbra is due to low efficiency and over-estimating the umbra region.An improved algorithm based-on swell and erode processing is put forward in this paper.Firstly,a luminance map based on the depth map of shadow map is built,and then the distance between the edge of and the umbra generated by the point light is calculated. The luminance map would be eroded and swelled by the calculated distance.Finally the photo-realistic scene with penumbra is generated while the penumbra is rendered using the processed luminance map.The algorithm fully utilizes the characteristic of the shadow map's ignoring the structure of the scene,and takes advantage of the parallel calculation of the GPU.So it can render high quality soft shadow in real-time,and has the feature of anti-aliasing.
出处 《系统仿真学报》 CAS CSCD 北大核心 2008年第S1期1-3,共3页 Journal of System Simulation
基金 国家自然科学基金(60475024)
关键词 软阴影 半影 亮度图 膨胀 腐蚀 阴影算法 虚拟现实 soft shadow penumbra luminance map swell erode shadow generation virtual reality
  • 相关文献

参考文献5

  • 1缪小亮,周政春,万旺根.三维场景动态模糊阴影算法实现[J].上海大学学报(自然科学版),2007,13(2):138-141. 被引量:2
  • 2Zhengming Ying,,Min Tang,Jinxiang Dong.Soft Shadow Maps for Area Light by Area Approximation[].Proceedings of Pacific Conference on Computer Graphics and Applications.2002
  • 3Lionel Atty,Nicolas Holzschuch,Marc Lapierre,et al.Soft Shadow Maps:Effcient Sampling of Light Source Visibility[].Proceedings of IEEE Eurographics Association.2006
  • 4Ga(e|¨)l Guennebaud,,Loic Barthe,Mathias Paulin.Real-time Soft Shadow Mapping by Backprojection[].Proceedings of IEEE Eurographics Association and Application.2006
  • 5Xiao-Hua Cai,Yun-Tao Jia,Xi Wang,et al.Rendering Soft Shadows Using Multi-layered Shadow Fins[].Proceedings of IEEE Eurographics Association and Application.2005

二级参考文献9

  • 1ANDREW V N.Shadow mapping and shadow volumes[EB/OL][2005-01-10].www.devmaster.net.
  • 2WILLIAMS L.Casting curved shadows on curved surfaces[J].ACM SIGGRAPH Computer Graphics,1978,12:270-274.
  • 3FERNANDO R,FERNANDEZ S,BALA K.Adaptive shadow maps[C]//Proceeding of SIGGRAPH 2001.Los Angeles:ACM SIGGRAPH.2001:387-390.
  • 4LOKOVIC T,VEACH E.Deep shadow maps[C]//Proceeding of SIGGRAPH 2000.Los Angeles:ACM SIGGRAPH,2000:385-392.
  • 5STAMMINGER M,DRETYAKIS G.Perspective shadow maps[J].ACM Transactions on Graphics(TOG),2002,21(3):557-562.
  • 6MARK S.Fast shadows and lighting effects using texture mapping[C]//Proceedings of SIGGRAPH.1992:249-252.
  • 7KURT P,PIRANHA B.Combined depth and ID-based shadow buffers[J].Game Programming Gens,2004,4:341-354.
  • 8WILLIAM T R,DAVID H S,ROBERT L C.Rendering antialiased shadows with depth maps[J].ACM SIGGRAPH Computer Graphics,1987,21(4):283-291.
  • 9薛守良,苏鸿根.实时阴影算法及实现[J].计算机应用,2004,24(3):82-84. 被引量:4

共引文献1

同被引文献17

引证文献3

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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