This is a demonstration of an effect for rendering fluids with implicit surfaces (similar to those found in the video game ‘Portal 2’), written in C++ and OpenGL.
- Right click + mouse rotates the camera.
- WASD moves the camera
- 1-3 to switch between different drawing modes (points, quads, spherical distance fields, final result)
- F, G, H, J to switch particle simulation speed (normal, slow, fast, freeze)
- F1-F4 to switch between different materials (water, glass, air bubbles, soap bubbles)
- GPU with support for OpenGL 3.3 or better
The project comes as a Visual Studio 2017 solution and already contains all dependencies. It should be built as x64.