系统仿真学报 ›› 2016, Vol. 28 ›› Issue (10): 2519-2526.

• 仿真建模理论与方法 • 上一篇    下一篇

基于二次反射映射的动态水面模拟

李华1,2, 杨华民1,2,*, 冯欣1,2   

  1. 1.长春理工大学计算机科学技术学院,吉林 长春 130022;
    2.特种电影技术及装备国家地方联合工程研究中心,吉林 长春 130000
  • 收稿日期:2016-05-10 修回日期:2016-07-14 出版日期:2016-10-08 发布日期:2020-08-13
  • 作者简介:李华(1977-),女,黑龙江北安,博士生,副教授,研究方向为真实感绘制及虚拟现实。
  • 基金资助:
    吉林省重点科技攻关项目(20140204050GX,20140204009GX); 吉林省重点科技成果转化项目(20130303011GX); 长春市重大科技攻关计划(14KG008); 吉林省省级产业创新专项资金(2016C091)

Dynamic Water Surface Simulation Based on Secondary Reflection Mapping

Li Hua1,2, Yang Huamin1,2,*, Feng Xin1,2   

  1. 1. School of Computer Science and Technology, Changchun University of Science and Technology, Changchun 130022, China;
    2. National Local Combined Engineering Research Center of Special Film Technology and Equipment, Changchun 130000, China
  • Received:2016-05-10 Revised:2016-07-14 Online:2016-10-08 Published:2020-08-13

摘要: 为提高动态水面的模拟效果,提出利用3D网格建模,通过投影网格技术进行优化,生成水面以上物体的镜面映像,构成一级反射映射图;简化纳维–斯托克斯方程,将生成的高度值与映像后的纹理叠加,根据透视纹理映射坐标计算表面反射与折射,构成二级反射图;最后,将二级反射图进行透视纹理映射渲染到水面,实现水面反射和折射的快速模拟。测试实验表明,算法能快速、高真实感的模拟动态水面,适合对近距离物体的水面精确观察,渲染帧率可达到30FPS以上。

关键词: Navier-Stokes, 水面模拟, 反射, 折射, 反射映射

Abstract: In order to improve the effects of dynamic water surface simulation, a method was proposed which utilized 3D mesh modeling water surface and was optimized by projective grid method; A mirror image of the subject above the water was generated which was called the first reflection map; then the simplified Navier-Stokes equation was enforced onto the first texture mapping. The reflection and refraction was calculated to form a secondary reflection map with respect to the perspective mapping coordiante; Perspective texture mapping was enforced to water surface to achieve fast simulated water surface. Experimental test shows that the approach can simulate the dynamic water surface fastly with high quality. This method is suitable for precise observation of water surface and more than 30FPS frame rate can be achieved.

Key words: Navier-Stokes, water surface simulation, reflection, refraction, reflection mapping

中图分类号: