论文部分内容阅读
This paper will discuss the method of simulating ocean waves basing on statistic model and GPU programming.In the method,the ocean surface is viewed as a height field,which is obtained by Phillips spectrum and 2D FFT.In order to realize the realistic scene,we take full advantage of the extended ftmctions of GPU during the real time rendering,such as multitexture mapping,cube mapping,vertex shader and pixel shader.The optical reflection and refraction of wave surface are rendered by cube mapping and the caustics underwater are implemented by multitexture mapping.The experimental results show that the proposed method acquires satisfied effects in real-time and reality.