大面积水面及波浪的快速建模与可控动画一直是计算机图形学研究的热点问题之一,但是由于天然波浪的复杂性与不规则性,现有的波浪模拟方法无法在计算效率与真实感之间很好地权衡.针对此问题,以近岸涌浪为对象,研究波浪形态特征的表示与提取方法,快速生成可控的波浪动画.首先以波浪视频为数据源,利用数学形态学算法从水面视频图像中提取出涌浪骨架特征;然后根据此特征控制涌浪形状与高度,重用高度场数据生成可控的更加多样的近岸涌浪运动形态,克服了流体动画计算效率低下且难以交互控制的缺点.实验结果表明,所提出的方法能够以简单、直观的控制方式,快速实现用户期望的变形效果.
The rapid modeling and controllable animation of large scale water surface and waves have always been hot issues in computer graphics research. However, due to the complexity and irregularity of natural waves, the existing simulation methods of waves cannot make a good tradeoff between computational efficiency and realism. In this paper, a technique is presented to extract features of the wave shape and generate controllable wave animation rapidly. Taking the captured video of outdoor costal wave as input, this technique first uses mathematical morphology algorithms to resolve wave's mask and skeleton from water video sequences as wave's features. Then it employs these features to control the shape of waves by reusing of height field to generate various wave animations. Consequently, the new method can produce controllable swell wave moving patterns under simple interaction with a small computational cost. Experiments show that the presented method can generate natural wave deformation effect with a simple and intuitive control process.