vertex manipulation and vertex order?

Greetings. While manipulating and looping through vertices is it the cause of mesh breaking up like this?
Note the water surface on screenshot below.

For example I have animated my water vertices to go up and down, but now I see seperated vertices and the mesh is not uniformly solid anymore. As shown on screenshot above.

Any way to read vertices in order from mesh or what might be the cause of this?

The vertices are split by face meaning that there can be many veritices for the same visual vertex. The manner in which they are split depends upon the normal of the surrounding faces, and a few other factors. You’ll need to group by position within a tolerance. I’ve written a library for this called mesh bridge somewhere

Sent from my Nexus 7 using Tapatalk 4