View Full Version : waves

04-28-2011, 04:25 AM
I have a floor with a texture that simulates the sea and I should create the waves, how can I do?

04-28-2011, 08:16 AM
You could tesselate the ocean floor and then in real time alter the heights of each vertex in a sine wave like fashion.
Depending upon the number of verticies you use this could be quite acceptable with any rendering technique.
The best thing to do is try it and see what performance you get rather than worrying about how to optimise it before you have even tested the basics.

04-28-2011, 10:46 AM
Thank you for responding.
I used to create the floor, "glutsolidcube" which should already be tessellated is correct? so what should I do now?
thanks again