u/Nice-Sand-3230

▲ 4 r/proceduralgeneration+1 crossposts

Fluid simulation demo 1MILLION PARTICLES [oc]

Fluid simulation demo with 1Million particles simulated at 605ms/frame with rtx 2050 laptop gpu.

Built from scratch with opengl and cuda.

Uses cuda-gl interlop.

Final version will be released soon

u/Nice-Sand-3230 — 18 hours ago
🔥 Hot ▲ 390 r/proceduralgeneration+1 crossposts

I built a real-time Eulerian smoke simulator from scratch — CUDA/C++, no engines, no pre-built solvers [OC]

Eulerian grid-based smoke sim running real-time on the GPU.

What's under the hood:

- Semi-Lagrangian advection

- Gauss-Seidel pressure solve with SOR

- Vorticity confinement + buoyancy

- CUDA/OpenGL interop (zero-copy rendering)

Every kernel handwritten in CUDA. Every equation derived from scratch.

Source: https://github.com/NobodyBuilds/smoke\_simulation

u/Nice-Sand-3230 — 2 days ago