## Simulating Ocean Water [closed]

Simulating Ocean Water: _http://www.finelightvisualtechnology.com/docs/coursenotes2004.pdf

I'm trying to simulate ocean and I need your help. Please be patient, I'm newbie to computer graphics but I know basics of physics and mathematics. As you can see I need to compute the formula:

k is a vector, x is a coordinate (so I suggest that it could be equal to vector?).

It says that h(x,t) is height and also that to get the value it's needed to do FFT. I can't understand it. I know that using FFT I can get spectra of some process. But how to summ?

And another very important question:

where t is the time and k is a two-dimensional vector with components k = (kx, kz), kx = 2πn/Lx, kz = 2πm/Lz, and n and m are integers with bounds −r/2 ≤ n,m < r/2

so, does it mean that vector k is takes all values? so if resolution r=512 (for example) the k = { (0,0), (0,2pi/L), (0,4pi/L) .... } ?

[1]:

-
You'll probably have more luck with this question at one of the sites in the FAQ. – Steve Huntsman Sep 2 2010 at 17:46
It would help if you made the statement of the question more explicit. "How to summ?" is difficult to answer, since you are not telling us exactly what the problem is. – S. Carnahan Sep 3 2010 at 4:51