GithubHelp home page GithubHelp logo

alberthuang96 / fsww Goto Github PK

View Code? Open in Web Editor NEW

This project forked from schreckc/fsww

0.0 1.0 0.0 146 KB

Fundamental Sources for Water Wave Animation

Home Page: http://visualcomputing.ist.ac.at/publications/2019/FundamentalSolutionForWaterWave/

License: GNU General Public License v3.0

CMake 26.16% Shell 0.15% C++ 67.52% Cuda 6.16%

fsww's Introduction

INSTALL:
sudo apt-get install cmake git gcc python3 pip3 eigen libsdl2-dev
sudo pip3 cget
./build/install-dependencies
./build/configure-builds
cd ./build/Release/
make
cd ../..

<optional> The sources contain a cuda implementation of part of this program. To use it you need to install cuda and make sure the macro USE_CUDA is defined before compiling.

RUN:
./build/Release/src/wawa <options>
Options:
     -l, -load <file>: load configuration file
     -e, -export <name>: export amplitude grid for each frequencies in the file <name>.obj
     -i, -import <name>: import amplitude grid for each frequencies in the file <name>.obj
     -stop <t>: stop animation and exit at time t
     -em <name>: export heightfields and render files in a set of files <name><frame number>.ong and <name><frame number>.xml
     -es, -export_step <n>: export every n frames
     -h, -help: print help				


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_.

fsww's People

Contributors

schreckc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.