Try the demos of Ogre3D , one of them
is about waves made by an ogre head moving along a water plane.
you can look at their code, ogre 3D is open source.