efeklisov / ShallowWater

Shallow water simulation written in C++ with Vulkan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shallow water simulation ๐Ÿ’ฆ

My attempts at Vulkan programming based on examples by Overv and Sascha Willems

Preview

Installation ๐Ÿ“ฒ

Compilation ๐Ÿญ

mkdir build
cd build
cmake ..
make

Shaders ๐Ÿ–Œ๏ธ

You need to install parallel from your repository and execute

../recompile_shader.sh

Run ๐Ÿƒโ€โ™€๏ธ

To run the program unzip grid.obj in build/models and run

./engine

Controls ๐Ÿ•น๏ธ

  • WASD+mouse - 3D movement
  • Q/E - roll the camera
  • Space/Backspace - move up or down non-relative to the camera
  • Right mouse button - send distortion to the water
  • R - show water's vertex grid
  • Escape - stop registering mouse movement

About

Shallow water simulation written in C++ with Vulkan

License:MIT License


Languages

Language:C++ 95.3%Language:GLSL 4.0%Language:CMake 0.5%Language:Shell 0.1%