Abstract:For show realism and real-time simulation of ocean wave, this article is based on Pierson-Moskowitz model, uses waves of wavelength and wave velocities to establish a wave-height of the initial state value. By FBM (Fractal Brown Motion) calculation in diamond grid each grid point waves on the surface of the wave height, draw each point;With diamond-shaped grid simulation for wave shape, describing the waves of wave height as multiple sine wave superposition approximation over time and space to the motion of the waves;Illumination model for wave added dark bump effect, increase the realism of the waves;A wave in a real-world image as the source texture, posted on each grid, improving the fidelity of the simulation and run faster, achieve the purpose of simulation in real time. Using Java and JOGL programmable analog, we realistically generated waves under different wind speed in different types of scenes. Experiments show that the mentioned in the article is right way, technically feasible.