Popov72 / FluidRendering

Fluid Simulation & Rendering with Babylon.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fluid Rendering

image

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

Running locally

To run the demo on your local computer

  1. Clone / download this repository
  2. run npm install to install the needed dependencies.
  3. run npm start
  4. A new window should open in your default browser. if it doesn't, open http://localhost:8080
  5. run npm run build if you want to build the dist files locally

About

Fluid Simulation & Rendering with Babylon.js

License:MIT License


Languages

Language:TypeScript 94.1%Language:GLSL 4.1%Language:JavaScript 1.4%Language:HTML 0.3%