3 ms·
The referenced paper "Simulating Ocean Water" talks about this in section 5. Indeed the FFT approach makes this difficult, where a different approach[1] for wav
by magicalhippo 2y ago
The referenced paper "Simulating Ocean Water" talks about this in section 5. Indeed the FFT approach makes this difficult, where a different approach[1] for waves reflecting off obstacles.
That approach uses convolution, however you can perform convolution using FFTs[2], so perhaps there's some nice way to combine the two approaches.
edit: I just skimmed the papers, and it seems[1] does indeed mention combining the FFT approach with the convolution approach in the section on Ambient Waves.
[1]: https://people.computing.clemson.edu/~jtessen/reports/papers_files/Interactive_Water_Surfaces.pdf https://people.computing.clemson.edu/~jtessen/reports/papers...
[2]: https://phys.uri.edu/nigh/NumRec/bookfpdf/f13-1.pdf https://phys.uri.edu/nigh/NumRec/bookfpdf/f13-1.pdf