Nvidia has released a set of videos showcasing how the PhysX engine can now be used to present realistic water physics that react to other objects and the environment while running on a single GTX 580.

The videos were posted as part of a joint research paper by Nvidia’s Miles Macklin and Matthias Müller-Fischer titled Position Based Fluids.

“In fluid simulation, enforcing incompressibility is cruicial for realism; it is also computationally expensive. Recent work has improved efficiency, but still requires time-steps that are impractical for real-time application,” Macklin and Müller-Fischer said in the abstract.

“In this work we present an iterative density solver integrated into the Position Based Dynamics framework (PBD). By formulating and solving a set of positional constraints that enforce constant density, our method allows similar incompressibility and convergence to modern smoothed particle hydrodynamic (SPH) solvers, but inherits the stability of the geometric, position based dynamics method, allowing large time steps suitable for real-time applications.”

“We incorporate an artificial pressure term that improves particle distribution, creates surface tension, and lowers the neighborhood requirements of traditional SPH. Finally, we address the issue of energy loss by applying vorticity confinement as a velocity post process.”