Real-time rendering of realistic motion of fluids is one of the methods which immerse a player into an interactive application such as computer games. Interaction of fluids with rigid bodies is important because fluids and rigid bodies move influencing each other. Fluid simulation based on Computational Fluid Dynamics (CFD) is useful for rendering plausible behaviour of fluids. However, due to the high computational cost of CFD real-time rendering of fluids needs fast simulation. This paper shows the particle-based fluid simulation based on Smoothed Particle Hydrodynamics including interaction between fluids and rigid bodies, its fast implementation and how to render realistic water surface with optical phenomena such as reflection, refraction and Fresnel effect. The proposed method enables real-time animation of water with rigid body interaction.
The demo binary shows it can handle 2000 particles at about 30 fps on Pentium 4 2.8GHz. And you can interact with the fluids by dragging.


Known Issues - Crashes when many particles concentrate - Poor interface :(
The cubemap texture included in the demo is credited to Peter Murphy. Thank you, Paul Bourke!