欢迎访问《空军工程大学学报》官方网站!

咨询热线:029-84786242 RSS EMAIL-ALERT
一种改进的实时软阴影算法的设计与实现
DOI:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP391

基金项目:

国家“863”计划资助项目(2001AA114201)


Design and Implementation of An Algorithm of Real-time Shadow Rendering
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    在解决实时渲染时的阴影边界走样时,常用的(Percentage Closer Filter,PCF)方法不仅效率低下,而且边界处的平滑效果也很有限。改进了PCF算法,使算法的执行效率更高,且有更好的反走样效果。首先分别以相机和光源为基准来构造裁剪坐标系,通过2次绘制来锁定产生阴影的像素区域,然后用改进的高精度滤波模板对阴影进行适应性反走样处理,使平滑操作集中在对视觉效果有重要影响的边界区域上,有选择地优化了数据,从而大幅提高了全局计算效率。实验结果证明,文中算法比常规的PCF算法在执行速度上有明显提高,效果上也得到一定程度的改善,达到了效率与效果的优化折中。

    Abstract:

    In realistic graphics, how to reflect realistic shadow effect is an important aspect to enhance the sense of reality of the model. The shadow should meet the real physical situation as far as possible, meanwhile, a smooth edge is necessary. However, rectangular array of pixels will easily cause jagged aliasing phenomenon at the edges. How to deal with the aliasing problems effectively has been a hot topic in the field of graphics. When solving aliasing of the shadow boundary in real-time rendering, the conventional Percentage Closer Filter (PCF) is not only inefficient, but also the smoothing effect of the boundary is limited. This paper improves the PCF algorithm, the improvement makes the algorithm more efficient in implementation. This new algorithm is based on conventional Shadow Mapping and uses higher accuracy of the filter template to deal with aliasing adaptively, especially to the area which has impact on visual effects, .thus increasing the overall computational efficiency substantially. The experiment results show that this algorithm is obviously improved in efficiency compared with the conventional PCF.

    参考文献
    相似文献
    引证文献
引用本文

张方彦,杨猛,刘金刚.一种改进的实时软阴影算法的设计与实现[J].空军工程大学学报,2012,(2):70-73

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2015-11-17
  • 出版日期: