Basic simulation of ship motion in regular waves

Описание к видео Basic simulation of ship motion in regular waves

Basic simulation of ship motion in regular waves.

Motion is computed as follows:
1. Ship and sea are modeled with triangles.
2. Ship's hull has a volume and a mass which define all the moments of inertia.
3. Intersections between triangles of the hull and triangles of the sea are computed to get the submerged surface of the hull. Result is a list of small triangles which are all submerged.
4. Pressure force is computed for all the submerged triangles of the hull.
5. Motion is given by the pressure and gravity forces combined with inertia.

Written in C# 3.5 and XNA 3.1 with VS 2008 by Edouard Halbert.

See http://simship.codeplex.com for the source code and the release.

Комментарии

Информация по комментариям в разработке