Please note: The project won't run out of the box. For managing the window, UI, user input, etc. A proprietary library was used, which I can't include here. Only
main.cppandsimulation.*are affected. I'd be happy to accept a PR that allows this project to run without the library. If you're interested in helping out, feel free to reach out for any questions.
- Visual Studio 2019
- CUDA v11.1 or later
- VCPKG
- C++ boost
- Clone the repository
- Open the repository in Visual Studio
- Run the project in Visual Studio (Preferably in "Release" or "Release with debug symbols" mode)
| Key | Description |
|---|---|
| N | Switch between uniform and adaptive simulation |
| H | Reset simulation |
| Space | Toggle Pause / Running |
| T | Toggle terrain debugging |
| 1 | Set render mode: normal |
| 2 | Set render mode: pressure |
| 3 | Set render mode: temperature |
| 4 | Set render mode: resolution |
| 5 | Set render mode: vapor |
| 6 | Set render mode: velocity |
| W S A D | Move camera |
| Mousewheel | Move camera back and forth |
Explore the UI for further interactions.