» GPU Fluid Solver
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

GPU Fluid Solver

effect shader pixelshader navier-stokes gpu fluid-solver fluid
Credits: flux

about

Fluid dynamics using Navier-Stokes equation computation on the GPU, adapted from RENDERMONKEY sample FluidFlow.rfx and NVIDIA
http://http.developer.nvidia.com/GPUGems/gpugems_ch38.html)

download

FluidSolverGPUDX11_1.7z
16.07.14 [12:22 UTC] by sanch | 2406 downloads
DX11 version
Show 2 older revisions

Older Revisions

FluidSolverGPU_v2.zip
17.10.13 [18:29 UTC] by flux | 1276 downloads
Adapts to window aspect ratio automatically
FluidSolverGPU.zip
19.08.12 [02:18 UTC] by flux | 1541 downloads

lasal 19/08/2012 - 01:42

Yipi!
Great contribution.

sanch 19/08/2012 - 04:01

awesome thx!!

catweasel 19/08/2012 - 13:12

Nice work! Tried many times myself and failed dismally!

tgd 19/08/2012 - 13:57

wow

CeeYaa 19/08/2012 - 15:20

hui __ VVVV on LSD

u7angel 19/08/2012 - 22:16

amazing!

lecloneur 19/08/2012 - 23:09

massive !

sinus 20/08/2012 - 11:15

fantastic! thank you. ink texture is massive.

dd

tekcor 20/08/2012 - 11:53

amazing and so performance friendly!

m4d 20/08/2012 - 12:10

nice port

dottore 20/08/2012 - 14:39

nice indeed :)

screamer 20/08/2012 - 16:21

wow, great one, it was a lot of time that i tried to convert that multipass shader without results, great great great :D

Desaxismundi 21/08/2012 - 21:37

Just great! Tx.

Noir 22/08/2012 - 00:20

+1

robe 22/08/2012 - 09:49

SUPER!
tnx

newemka 28/08/2012 - 19:31

impressive!

DiMiX 31/08/2012 - 11:28

spreadable... very nice!

mediadog 03/09/2012 - 04:03

Fabulous. Here's a quick test I did using Xtion/Kinect points as input with a cycling input color on vimeo.

The motion, even at 512x512 and 300 iterations, is beautifully smooth. Thanks SO much, I've wanted this in a shader for ages.

Martin Zrcek 21/09/2012 - 15:10

Well done

Alec 17/10/2013 - 11:07

Guys, how can I adapt the final render of this contribution to a render with different aspect ratio without deforming?

flux 17/10/2013 - 17:44

@Alec, have a look at the new version, that's what you need, I guess...

Alec 17/10/2013 - 22:23

@flux: Yep! Thank you!

rink 30/10/2013 - 16:28

Very very nice, especially with the Leap Sensor.

mrboni 16/07/2014 - 12:22

Should it work to use camera tracking + optical flow to control this?

sanch 16/07/2014 - 13:04

yes should work

DiMiX 16/07/2014 - 15:08

how u join tracking values and optical flow?

sanch 16/07/2014 - 18:56

you just need to use opticalflow shader directly on the camera input no need tracking node , then add the opticalflow shader inside the velocity pass instead of the mouse shader , and add black and white version for color in the other module.
It should work , i did it once with good result.

sanch 18/07/2014 - 01:35

use a constant shader instead of the fullscreenquad , the quad can't render negative float from optical flow , inside your optical flow module set dx9texture to 32bit

lasal 18/07/2014 - 15:07

Hey Sanch, thanks for the update,

btw, do you know how to generate obstacles?

sanch 18/07/2014 - 16:47

yeah add a black layer in the velocityfield module, with blend mode disable or multiply

DiMiX 18/07/2014 - 20:37

thanks sanch.
it looks better but i have some strange explosions

https://drive.google.com/file/d/0B3_69jGhaGlIU29sOXVEajgxb28/edit?usp=sharing

sanch 18/07/2014 - 22:22

i'm afraid i don't have time to help atm , but i think trying to tweek optical flow param and blur the opticalflow output will help , but not sure if there is blur for 32bit dx9 .

idab 26/01/2020 - 18:36

@sanch: how can I use ink texture pin? I tried to connect a texture but nothing happen. Any suggestions?

idab 31/01/2020 - 17:19

Did anyone ever play with ink texture pin?

anonymous user login

Shoutbox

~8h ago

CeeYaa: https://www.youtube.com/watch?v=OkzfYQCLrCE thanks for the insights, impressive stuff @mediadog yes, it is a very nice CAVE

~1d ago

mediadog: @CeeYaa Why I'm learning Unreal, now if I could just afford wrap-around LED walls! Can do in vvvv too, it's just a CAVE

~1d ago

kleinkariert: @tonfilm any hint on how to generate Mel-Frequency images out of audio for mel-GAN in v4

~1d ago

joreg: @mediadog we're aware of this, see: https://discourse.vvvv.org/t/visual-c-2008-this-download-is-no-longer-available/17895 and i now also fixed the resp. links on the download page.

~2d ago

mediadog: FYI VC redist 2008 links bad in 38.1 installer and on web page

~3d ago

joreg: Reminder: Intro workshop to the all-new vvvv this Tuesday before the #vvvv meetup in #berlin. Signup here: https://nodeforum.org/announcements/2020-series-of-2h-introduction-workshops-to-vvvv-gamma/

~3d ago

~4d ago

tonfilm: Creative coder wanted: https://discourse.vvvv.org/t/creativvvve-coder-in-residence-2020/18283 vvvv visualprogramming #creativecoding #xenko #dotnet #berlin #internship #residency

~5d ago

metrowave: Collection of replicable research: http://www.replicabilitystamp.org/