README
November 30, 2022 ยท View on GitHub
Fundemental Solutions For Water Wave Animation
This code implements a version the method described in
"Fundemental Solutions For Water Wave Animation"
by Camille Schreck, Christian Hafner and Chris Wojtan
published in ACM Transactions on Graphics (SIGGRAPH 2019)
This is an early version, I still haven't tested all the functionality properly. It should be easier to compile and use the viewer than the previous version using the Magnum Engine. The code is in c++ and use Qglviewer to visualize the results.
This code is not particularly well-tested or optimized, but it can be used to reproduce (at least some) of the examples in the paper.
INSTALL: qmake fsww.pro make
RUN:
./fsww
Some test configuration files can be found in the folder conf. An example to try the program would be: ./fsww -l conf/circle_static.conf (planar wave reflecting on a circular obstacle)
OPTION: You can use the macro defined in src/setting.hpp to switch between interactive or static waves (INTERACTIVE_), using or not the Cuda implementation (USE_CUDA), and using a projective grid or a fix one (PROJECTED_GRID). The number of threads used by the program is defined in the same file (src/setting.hpp) by the macro NTHREADS_.