SPH Fluid Simulation in Java and LWJGL
Channel:
Subscribers:
251
Published on ● Video Link: https://www.youtube.com/watch?v=nW_-Dod9jYI
I got a step further and created a realtime SPH Fluid Simulation in java ;)
Rendered with LWJGL and spherical point sprites with velocity gradients. Uses also thread pools for parallel compution - not the best split algorythmn, but works fine so far, got 30% performance boost.
Two dam break scenarios with ~2000 and ~8000 particles.
Collision is better than javascript version, but somehow off - therefore i bought a book called "real time collision detection", these should me point to the right directions and who knows, maybe there will be real body collisions and resolve in the future?
Other Videos By Finalspace
Tags:
Lightweight Java Game Library
Smoothed-particle Hydrodynamics
Java
Fluid Dynamics (Field Of Study)
Simulation Software (Software Genre)
OpenGL (Standard)