Note: this repo is now in read-only mode, as the fluid renderer has been added to Babylon.js since v5.36.0
This is an implementation of this paper from Simon Green (NVIDIA): https://developer.download.nvidia.com/presentations/2010/gdc/Direct3D_Effects.pdf
It also features a basic fluid simulator in some of the demos.
Link to the demo: https://popov72.github.io/FluidRendering/dist/index.html
Link to the demo doc page: https://github.com/Popov72/FluidRendering/wiki/The-demo
Link to the fluid rendering doc: https://github.com/Popov72/FluidRendering/wiki/Fluid-Rendering-with-Babylon.js
To run the demo on your local computer
- Clone / download this repository
- run
npm install
to install the needed dependencies. - run
npm start
- A new window should open in your default browser. if it doesn't, open http://localhost:8080
- run
npm run build
if you want to build the dist files locally