Skip to content

Berezniker/CG_Shallow

Repository files navigation

Shallow Water

inspired by Evan (git)
guide: learnopengl.com (RU)

Load:

$ git clone https://github.com/Berezniker/CG_Shallow.git
$ cd CG_Shallow

Activation of virtual environment:

$ source venv/bin/activate

or you can install the libraries yourself:

$ pip3 install --upgrade -r requirements.txt

deactivate virtual environment:

$ deactivate

Run:

$ python3 main.py

Control:

  • W/A/S/D -- camera movement
  • mouse -- camera rotation
  • scrool -- zoom
  • Q -- on/off wireframe water visualization
  • E -- add random drop
  • R -- on/off rain
  • B -- on/off skybox
  • F1, F2, F3 -- change camera position
  • F5 -- stop simulation