> How did you arrive at
>
> #local XD = waveHeight[X+1][Y] - 2*waveHeight[X][Y] + waveHeight[X-1][Y];
>
> According to my calculations,
>
> (v[x-1] - v[x]) + (v[x] - v[x+1]) =
That should be a "-" in the middle, because you are taking the differential
of the differential.
Post a reply to this message
|