Dirk,
I did it this way - have a look in the include file for TerraEd, you'll see a whole stack of functions, one of which ia a create plane (mesh) and the other is ripple that mesh.
I used them and called them from my main programme.
I did introduce cube mapping too but it was too much for the cpu - Im a novice at the cube mapping stuff, I bet there's a much better way to do it.
In the end I put two water mesh/planes, one under the other and alpha'd them differently so you could see them through each other. I mad a texture looking like tileable water and textured both meshes with that.
I called the ripple function each loop and both meshes move independantly - nice but not as good as cube mapped water surface in the TerraEd demo!
:)
IPete2.
I did it this way - have a look in the include file for TerraEd, you'll see a whole stack of functions, one of which ia a create plane (mesh) and the other is ripple that mesh.
I used them and called them from my main programme.
I did introduce cube mapping too but it was too much for the cpu - Im a novice at the cube mapping stuff, I bet there's a much better way to do it.
In the end I put two water mesh/planes, one under the other and alpha'd them differently so you could see them through each other. I mad a texture looking like tileable water and textured both meshes with that.
I called the ripple function each loop and both meshes move independantly - nice but not as good as cube mapped water surface in the TerraEd demo!
:)
IPete2.