High performant falling sand simulation (with 1,000,000 particles - ~100 FPS) made with OpenGL and C++.
'1' - select Sand.
'2' - select Water.
'3' - select Stone.
Left Mouse Button - place selected element.
Right Mouse Button - erase elements.
The build is not available at the moment.
- CMake (version 3.13 or higher recommended)
- C++ Compiler: Compatible with C++17 standard
- Drivers support for OpenGL (version 3.3 and higher)
git clone https://github.com/NemGam/The-Powder-Sim
cd ThePowderSim
From the project root directory, generate the build system:
cmake -S . -B build
Compile and install the project:
cmake --build build && cmake --install build
Execute the compiled application:
./dist/bin/ThePowderSim