must watch First conceptual demo of real time ocean rendering with waves, bump mapping & reflection. http://www.youtube.com/watch?v=PnnCzN0ufPI
You can also see it in Adrenaline Golf with additional reflection, although we had to reduce the wave effect to keep the game playable
Hi, Cool you like it. In fact it was only a few 100 lines of code to get this thing rendered on the iPhone. In the demo I use 4 sines on different amplitude and frequency to get the waves and a simple 512x512 bump map to render the small ripples, reflection is done with the opengl es 'reflect' and a skybox. Because I was in a hurry I did not render the skybox itself, just used a plain lightblue background. the ocean surface is a 128 x 128 (x2) triangle grid Currently I am working on a more realistic wave model to create surfable waves that actually break, based on the navier stokes equations. Not sure whether I will be able to calc & render the whole thing in real time, if not I will precalc the moving wave grid cheers to you all NB