View Full Version : waves
04-28-2011, 03: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, 07: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, 09: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?
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.