Very interesting PhysX Fluid Simulation demo was revealed by a user Finalspace on German Delphi OpenGL Community forum.
Update: new version is available.
Written from scratch on C++, based on PhysX SDK 3.0.2 and OpenGL, this demo is showcasing Smoothed Particle Hydrodynamics (SPH) fluid simulation in a basic environment.
However, the amount of options is appealing – you can choose from various scenes, change fluid parameters, add rigid bodies or more particles (up to 262 000), apply forces to the fluid, switch rendering modes – PhysX Fluid Simulation is a fully functional playground, more advanced than original PhysX Fluids demo from NVIDIA.
You can download PhysX Fluid Simulation v 1.2 from original thread.
(R) – reset scene
(H) – enable/disable GPU acceleration.
(S) – switch Fluid rendering mode (screen space fluid, particles, point sprites).
(Arrow Keys) – apply forces to the fluid.
(L) – cycle simulation scenario and collision geometry (normal box, small box, large and flat box, tall and narrow box).
(1-6) – choose object to be added to the scene
- 1 – rigid body: box
- 2 – rigid body: sphere
- 3 – rigid body: capsule
- 4 – fluid: one particle
- 5 – fluid: 512 particles
- 6 – fluid: 65 000 particles
(Space) – add new object to the scene