摘要
海浪仿真的实时性是海洋场景仿真的重要需求之一。对海面网格和浪高计算同时进行简化处理,提出一种快速的海浪仿真方法。该方法采用放射状环形网格对海面进行LOD划分,用海浪谱反演生成海浪高度纹理图序列,并在GPU顶点着色器上对海面网格进行循环纹理映射以获得网格节点的动态高度数据。同时,采用多级纹理映射和视域裁剪对海面网格进行优化处理。实验结果表明,提出的方法能有效提升海浪仿真速度,仿真对CPU的占用率低,真实感强,可充分满足视景仿真系统对海浪仿真的实时性要求。
Real-time performance of ocean wave simulation is one of the important requirements in visual ocean scene. A fast and effective method for real-time simulation of ocean wave was proposed by simplifying ocean surface mesh and wave height computing. A radiate ring-like grid was used as LOD (Level of Detail) method for ocean surface rendering. Ocean wave spectrum was used for generating wave-height texture maps. Dynamic height of every grid node was got by mapping height texture to ocean grid in a cycle on GPU vertex shader. The ocean grid was optimized by Multi-Level texture mapping and view field clipping. Simulation results show that the method can effectively increase ocean wave simulation speed with low CPU occupancy rate and realistic effect, which meets real-time simulation requirement of ocean wave in visual simulation system.
出处
《系统仿真学报》
CAS
CSCD
北大核心
2012年第1期132-135,145,共5页
Journal of System Simulation
基金
国家自然科学基金项目(60971107)