摘要
针对Vega Prime自带海洋模块中海浪随机性不强和海面网格划分简单的不足,以OpenGL为基础将基于Perlin噪声的海面仿真应用到Vega Prime中。Perlin噪声的生成采用计算机运算最快的位运算方法,减小海面高度场的计算时间;通过采用投影网格的方法实现视点相适应网格的计算,生成自然的投影网格,并利用CG对显卡编程进行实时光照渲染。测试结果表明该方法的帧数大于Vega Prime(version2.2)中自带海洋模块的帧数,弥补了Vega Prime自带海洋模块的不足,增强了海面场景的实时性和逼真性。
Aimed at the disadvantage of vega prime ocean model in terms of stochastic behavior and ocean surface grid, applied ocean wave simulation with Perlin noise in Vega Prime based on OpenGL. Calculated Perlin noise with the bit operation to decrease the time of ocean wave calculation, realized the ocean grid with view dependent project grid, which could get over the disadvantage of traditional LOD method used in Vega Prime ocean model. Then, rendered the optical effects of ocean surface with hardware accelerated using CG. The test result of experiment shows that the frame frequency of Perlin method is higher than Vega Prime ocean model. A better simulating real-time ocean wave with a photo-realistic quality can be gained compared with Vega Prime ocean model.
出处
《计算机应用研究》
CSCD
北大核心
2009年第11期4386-4389,共4页
Application Research of Computers
基金
国家重点实验室基金资助项目(51448080105ZS2601)