计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (5): 46-47.

• 学术探讨 • 上一篇    下一篇

一种基于光线跟踪的软阴影算法

宫 文,樊养余,张胜超,李胜亮   

  1. 西北工业大学 电子信息学院,西安 710072
  • 收稿日期:2007-06-07 修回日期:2007-08-27 出版日期:2008-02-11 发布日期:2008-02-11
  • 通讯作者: 宫 文

Soft shadows algorithm based on ray-tracing

GONG Wen,FAN Yang-yu,ZHANG Sheng-chao,Li Sheng-liang   

  1. Institute of Electronic Information Engineering,Northwestern Polytechnical University,Xi’an 710072,China
  • Received:2007-06-07 Revised:2007-08-27 Online:2008-02-11 Published:2008-02-11
  • Contact: GONG Wen

摘要: 提出了一种基于光线跟踪的软阴影算法。该算法生成的阴影更具真实感,并可克服阴影映射算法产生的锯齿现象的问题。实验结果表明,该算法对较复杂物体仍能够保证良好的绘制视觉效果,满足虚拟现实应用的要求。

关键词: 光线跟踪, 软阴影, 面积光源

Abstract: In this paper,a soft shadow algorithm based on ray-tracing was introduced.The effect of the shadow seemed more vivid.It also overcame the problem of distortion based on shadow mapping.Experiments demonstrate that this algorithm can also produce visually pleasing effect for the complex objects,so that the algorithm can satisfy the requirement of the virtual reality application.

Key words: ray-tracing, soft shadow, area light source