Deep water ocean surface modelling with ship simulation
暂无分享,去创建一个
The scope of this work is to implement a realistic looking ocean simulator with a ship floating on the surface. Foam, and ship wake is included to add to the realism. The application is designed to run on a normally equipped laptop with an ATI graphics card and Windows as the operation system. All calculations except the wake generation are performed in real time. The program, named ’OceanSimulator’, is written in C++ with OpenGL for visualization. The waves are represented with the JONSWAP spectrum and calculated using fast fourier transformation algorithm. The ship movement is calculated by use of transfer functions given in a RAO text file. The graphics card is programmed directly by use of shaders to get high flexibility regarding visual effects. Two different lighting approaches of the ocean are explored, cube mapping, and parameterization.
[1] Lasse Staff Jensen,et al. Deep-Water Animation and Rendering , 2001 .