一种改进的实时软阴影算法的设计与实现  被引量:1

Design and Implementation of An Algorithm of Real-time Shadow Rendering

在线阅读下载全文

作  者:张方彦[1] 杨猛[2] 刘金刚[1,2] 

机构地区:[1]首都师范大学,北京100048 [2]中国科学院计算技术研究所,北京100080

出  处:《空军工程大学学报(自然科学版)》2012年第2期70-73,共4页Journal of Air Force Engineering University(Natural Science Edition)

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

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

关 键 词:阴影映射 软阴影 实时渲染 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象