• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2014, Vol. 36 ›› Issue (04): 746-750.

• 论文 • 上一篇    下一篇

常见三维场景中水面特效的模拟

庄甘霖,陈秀宏   

  1. (江南大学数字媒体学院,江苏 无锡 214122)
  • 收稿日期:2012-08-21 修回日期:2013-01-21 出版日期:2014-04-25 发布日期:2014-04-25

Simulating water effects in the
common three-dimensional scene          

ZHUANG Ganlin, CHEN Xiuhong   

  1. (School of Digital Media,Jiangnan University,Wuxi 214122,China)
  • Received:2012-08-21 Revised:2013-01-21 Online:2014-04-25 Published:2014-04-25

摘要:

针对常见三维场景中水面特效真实感与实时性较难平衡的现状,提出了一种基于Gerstner波模型的水面特效模拟方法。对振幅添加了随机扰动,使得波动更具有变化;在将叠加后Gerstner波分为大波与小波的基础上,通过改变不同类型波的参数可方便地控制波形;最后引入反射率与透明度以适应不同的环境与水体。实验结果表明,新的模型不仅呈现出更加真实的水面特效,而且得到了比较理想的渲染速度。

关键词: 水面特效, 水波模拟, Gerstner波, 随机扰动, 波形控制, 反射率, 透明度

Abstract:

For the problem that it is difficult to balance realism and realtime in modeling water,a new water effects simulation method based on Gerstner wave model is proposed.Firstly,random perturbations are added into the amplitude in order to make the fluctuations varied. Secondly, the superimposed Gerstner waves are divided into large waves and small waves, and it is more convenient to control waveform by changing the parameters of the different types of wave.Finally,the reflectivity and transparency are used to adapt to different environments and waters.The experimental results show that the new model not only presents a more realistic water effects,but also gets an ideal rendering speed.

Key words: water effects;waves simulation;Gerstner wave;random perturbations;waveform control;reflectivity;transparency