基于Irrlicht引擎的实时浅水效果模拟  被引量:1

Realtime Shallow Water Rendering Based on the Irrlicht Engine

在线阅读下载全文

作  者:李一兵[1] 张力学[1] 孟霆 

机构地区:[1]哈尔滨工程大学信息与通信工程学院,黑龙江哈尔滨150001

出  处:《计算机工程与科学》2011年第8期102-105,共4页Computer Engineering & Science

基  金:船舶工业国防科技预研项目(10J3.1.6);哈尔滨市科技创新人才研究专项基金资助项目(2008RFQXG025)

摘  要:本文在Irrlicht引擎的基础上结合GLSL语言,对浅水的水面波动、反射与折射特性及菲涅尔现象进行了实时模拟。将基于Gestner波的水面波动与基于纹理波的动态法线贴图相结合,真实地模拟了水面的波动与波纹效果。同时,采用渲染到纹理技术实时生成反射贴图,准确地模拟了水面的反射效果,解决了采用环境贴图渲染时的反射失真问题。在不考虑水深的情况下,本文将菲涅尔权值与材质的alpha通道相结合,去掉了实时渲染中折射贴图的生成,在满足实时浅水效果渲染的视觉需求条件下,减小了CPU与GPU的计算量。This paper presents new algorithms on shallow water rendering based on the Irrlicht engine and the GLSL language.Combining the Gestner waves with the dynamic normal mapping based on texture waves,we get realistic water rendering including geometric undulation and ripples of the surface.At the same time,accurate reflection mapping can be obtained by rendering mirror reflection to texture on a per frame basis,compared with environment mapping the distortion resulted by view points is eliminated.Finally,by assigning the Fresnel weights to the material's alpha channel,we can reduce the CPU and GPU computation load with the use of the refraction texture,and still it produces convincing effects.

关 键 词:浅水模拟 法线贴图 菲涅尔现象 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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