Computer Engineering and Applications ›› 2008, Vol. 44 ›› Issue (32): 165-168.DOI: 10.3778/j.issn.1002-8331.2008.32.049

• 图形、图像、模式识别 • Previous Articles     Next Articles

Improved arithmetic of shadow generation based on Shadow Mapping

TAN Tong-de1,XU Hui-xiang1,2,ZHAO Hong-ling1,YU Xiao-xia1   

  1. 1.College of Information Engineering,Zhengzhou University,Zhengzhou 450052,China
    2.College of Information Engineering,Zhongzhou University,Zhengzhou 450044,China
  • Received:2007-12-10 Revised:2008-02-27 Online:2008-11-11 Published:2008-11-11
  • Contact: TAN Tong-de

一种基于Shadow Mapping的阴影生成改进算法

谭同德1,许绘香1,2,赵红领1,余晓霞1   

  1. 1.郑州大学 信息工程学院,郑州 450052
    2中州大学 信息工程学院,郑州 450044
  • 通讯作者: 谭同德

Abstract: Shadow Mapping approach is one of the most widely used way of shadow generation,but it usually suffers from aliasing problem,and can not meet the requirement of reality and real-time performance in the shadow generation of large-scale scene.So,this paper proposes an improved method based on Shadow Mapping,which can produce real-time shadowing effects with less texture memory but significant improvement of shadow qualities,especially for the dynamic and large-scale virtual environments.The improved algorithm is implemented in VS2005 and OpenSceneGraph,and it can satisfy the requirement of quality and real-time performance.

Key words: Shadow Mapping, large-scale, virtual, split

摘要: Shadow Mapping算法是目前广泛应用的阴影渲染方法,但该方法容易产生走样,特别是不能满足大规模场景中阴影的真实性和实时性要求。对此,提出一种利用平行面分割的改进Shadow Mapping算法,减少了算法运行时的缓冲空间,提高了阴影质量,尤其适合于动态大规模环境中实时阴影的生成。并用VS2005和OpenSceneGraph实现了算法的绘制过程,达到满意的视觉效果和生成速度。

关键词: 阴影映射(Shadow Mapping)算法, 大规模, 虚拟, 分割