采用一种简化的物理模型描述水面,应用细胞自动机中邻域传播的思想,把水波控制方程转换为空间离散变量间相互作用,从而能够快速稳定地求解水表面的高度场.采用一种基于内外参数分离的控制策略,实时地调整参数,以实现各种水波形态的模拟需要.最后,通过纹理投影的方法模拟水中光线反射与折射,以增加真实感效果.实验表明:该方法能够快速真实地模拟各种形态的水波运动.
A modified physics-based method is adopted to control water waves,and the governing equation is changed into the interaction between the variables in space based on the idea of spreading though the neighboring regions.A new controlling strategy based on the separation of internal drive parameters from external drive parameters,making it easier to change parameters in real time while generating various water waves.Reflection and refraction of rays in water is simulated by project texture to improve visual impression.It is shown that these methods can efficiently produce realistic movement of various water waves.