上海大学学报(自然科学版)

• 通信与信息工程 • 上一篇    下一篇

三维场景动态模糊阴影算法实现

缪小亮,周政春,万旺根   

  1. 上海大学 通信与信息工程学院,上海 200072
  • 收稿日期:2006-06-12 修回日期:1900-01-01 出版日期:2007-04-30 发布日期:2007-04-30
  • 通讯作者: 万旺根

Implementation of Dynamic Antialiased Shadow Algorithm in 3D Scene

MIAO Xiao-liang,ZHOU Zheng-chun,WAN Wang-gen   

  1. School of Communication and Information Engineering, Shanghai University, Shanghai 200072, China
  • Received:2006-06-12 Revised:1900-01-01 Online:2007-04-30 Published:2007-04-30
  • Contact: WAN Wang-gen

摘要: 针对shadowmap算法,论述其基本原理,从数学角度解释自阴影以及锯齿现象出现的原因,利用z偏移和增加深度信息精度来解决自阴影现象,提出一种多次采样的算法来平滑阴影,消除锯齿影响,并基于DirectX3D实现,通过测试证明算法的可行性.

关键词: shadowmap, 多次采样, 锯齿, 自阴影

Abstract: We study the algorithm of shadowmap and its basic principles. The cause of self shadow and aliasing are also explained mathematically. A multi-sampling algorithm to smooth shadow is presented, and aliasing reduced by increasing precision of depth information and making use of z bias. The algorithm is implemente d with DirectX3D. Experimental results show the feasibility of the algorithm.

Key words: aliasing, multi-sampling, self-shadow, shadowmap

中图分类号: