I need to display a nice looking animation of some ocean waves (surf) in 3D. It would be preferable if the camera could zoom in and out and circle around the surf break.
I was thinking of using Direct3D for the rendering because it makes things simple and fast.
The tricky bit is how to store a wave in memory.
I have devised two possible methods:
1) A huge particle system (ideally with H2O molecule size particles). This is slow and takes shitloads of memory but is realitively simple I guess (maybe a large linked list?).
2) Acutally applying wave theorm and physics laws and differential equations to calculate the shape of the 3D surface plane. This is slow but requires little memory, but gives me a migraine even contemplating it.
Can you fellas think of some other way to achieve this?