TouchDesigner _06 Fluid Simulation
Вставка
- Опубліковано 15 чер 2024
- Fast Fluid Dynamics Simulation in TouchDesigner.
00:00 - Intro
01:00 - Block Out
02:15 - Sizes
04:00 - Splat Color
07:55 - Mouse Coordinates
09:25 - Splat Velocity
11:10 - Curl
13:45 - Vorticity
17:00 - Divergence
18:30 - Clear Pressure
20:15 - Pressure
21:45 - Gradient Subtract
22:55 - Advect
26:20 - Adjustments
27:45 - Outro
Instagram: / threedashes___
Jos Stam - Real-Time Fluid Dynamics for Games: graphics.cs.cmu.edu/nsp/course...
GPU Gems - Chapter 38. Fast Fluid Dynamics Simulation on the GPU: developer.download.nvidia.com/...
Pavel Dobryakov - WebGL Fluid Simulation: github.com/PavelDoGreat/WebGL...
I had to redo it from scratch a second time. I have no idea what the mistake was the first time but I ended up getting a very intense noise in one of the feedback nodes. Finally got it working and can't thank you enough! Awesome tutorial
same here, did it happen when dragging advectVelocity onto Feedback before velocityGLSL node???
@@ottonik8605 After some thought I think it was not having the right pixel format in one of the nodes. If you're following along it can be easy to miss
@@raf22nd ok thanks! going to check that! but would make sense tho :)
yeah, i also redid it from scratch, however still having the same problem that one feedback is not working how it should be. Would you be interested in dropping your file? :)
@@ottonik8605 sure thing, where do I drop it?
The best on touchdesigner on the internet I always find here. What a channel. Thank you!
very interesting workflow with nodes, first putting down conceptual nodes end-to-end and then filling them in
Great tutorial, Bruno! Thank you for preparing it for us!
That was an amazing tutorial, tough to follow but worth it 100%, thanks for your work!
Amazing!
Thank you so much for sharing! This one was a though ride for me, but you did a great job - appreciated!
Amazing tutorial thank you so much for porting this and sharing it with us all!
so awesome to have this accessible and to be able to learn GLSL from this..
I have followed your tutorial and it has cost me a lot but step by step and stopping I have achieved it! I spent a lot of hours but I made it ...
thanks a lot Master
Hi, I'm giving it a lot of laps and it's driving me crazy, I want to do the same but with the hands of the kinect, I don't know anything about programming and touchdesigner I'm learning something little by little, but I have managed to create the points in the hands with the UV coordinates creating another GLSL color like the original one and sending the coordinates of the other hand and the uRadius and uAspectRatio, my question is: can I add the other hand in the same GLSL color without creating another GLSL? I have been testing creating another uniform vec5 uPoint or uPoint1; but it doesn't come out, I don't know how to do it, can you help me please?
Thanks a lot
Thank you! Great intro to GLSL.
I never thought I could do something like this, even with a tutorial. Thank you for this!
I know Im quite off topic but do anybody know of a good site to watch new movies online ?
@Jax Makai Flixportal :)
@Brody Harlan Thank you, I went there and it seems to work =) I appreciate it!!
@Jax Makai No problem :D
Beautiful simulation - thank you!
Thank you so much. What a great tutorial it is.
very useful, thanks a million !!!
Amazing! Thank you.
So amazing
Thanks for sharing!
Really stunning! I’m learning GLSL at the moment, and systems like this are a huge encouragement to continue learning
can you help me out?
That's a crazy video. I will chew GLSL while studying. Thank you for the good video and I respect you.
미친 영상이네요 GLSL공부하면서 씹어먹겠습니다 좋은 영상 감사하고 존경합니다.
Nice one 👌🏽
well explained!
Phew ! what a nice effect. I just finished to redo the effect with your tutorial. Does the point source ( mouse ) is easily replaceable by a TOP source like opticalFlow which provide red & green channel aswell ?
wow, so cool.... your teaching is very clear and straight forward... big compliment and many thanks.. I just have a problem left with the resolution. The animation is pixelated, so I don't see the details. Guess, I have to go through it again to see, where the problem is...
thanks!
Nice One! how difficult could be to make this fluid in 3dSpace, using some kind of voxelization or something similar? it would really nice see how can it approach that task. Cheers
wow this is amazing! Do you know how could I use it with audio analysis or TDAbleton?
Amazing tutorial man great job. I was wondering if there is a way to change the color of the fluide decay?
Great lesson! But what would be a simple way to also move particles based on this fluid sim?
Thank you for this tutorial.
Can you advise me, please?
I want to work in that vorticity (slower) but I really need to expand from the center to outwards. Without afect the center, like a mask. What parameter can I modify to do this?
Thank you in advanced
I’ve create a circle just with the border.
Amazing! Thank you so much! I just made the move from Processing to TD and was looking exactly for this specific Joe Stam paper's implementation. Although it's all there in the video, is there anywhere we can find the .toe for this project?
Hi Lucas, I'm glad you found the tutorial useful. I haven't published the .toe file, but like you said it's all here in the video.
u're the one!!
Hey Bruno - I think im following the tutorial exactly as is - but can't get the pressure glsl to work. Nothing shows up in the feedback - but it also doesnt give me any errors. any help is appreciated.
Hey!
So this worked for me, I'd like to project this and make it receptive to click and drag and not hover. How do I go about it?
Hola como estas? la verdad impresionante lo que diseñaste me encantaria poder tener este proyecto de touchdesigner para poder linkearlo a resolume arena 7 se puede hacer ?
Hello everyone, would it be possible to add a second point of interaction?
Great tutorial! Learned quite a bit even though it moved a little fast for me. Would have been extra special if the sample file was included.
I wondered how this can be modified to accept multiple input points, I can't get it to work.
Stil having troubles at the end, when dragging advectVelocity nullTop onto feedback before velocityGLSL. when doing is i end up having the simulation but it's so pixelated and not looking correct :(
hi, i just did till first part of the coding but i cant find the red mouse point, need help someone
great tutorial! I'm having problems after inserting feedback before colour and velocity, once i do that everything fades to black. Any ideas what i've done wrong? Thanks!
try doing a pulse on the feedbacks
I'm experiencing a fatal error with the shader splat.frag text file. I'm able to open it and edit it but once I save it in a new location (I liked the idea of having a separate folder for shaders like you), I'm not longer able to edit the file. Once I've moved it and relinked it inside the GLSL Pixel node, I'm not longer able to open it by clicking the Edit button. It crashes the program.
Okay I think I figured it out. The error was that the file couldn't be located for 'Sync to File.' I disabled Sync to File, clicked Edit, saved the file into a new location, selected the file by clicking the plus sign, and then re-enabled Sync to File. It seems that I may have gone out of order by clicking sync before selecting it with the plus sign.
Amazing video! Would you be able to share the toe file for this project?
hi, great video, i just have a problem, my advectColorGLSL is taking the color of my advecVelocity, is ther somthing i missed ? i did check all my GLSL and connection but nothing work.
pulse the feedbacks
Hey! On both the color and the velocity GLSLs I get the error "'vuV' . undeclared identifier" and 1 compilation error, but I'm pretty sure there are none. However, the color GLSL works fine while the velocity one doesn't.
might just be a case sensitivity thing. try vUV instead of vuV
for some reason when i click on edit in the glsl at 6:25 in the video it says fatal error and my touchdesigner program crashes, any ideas
uncheck sync, refind the file, then check sync again
I dont understand, at 8 minutes i have copy paste what u have written, and save the file. and copy the path, my computer dont find it. and by the way, it also don t put everything incolor or display like on ur screen
Great tutorial!! I didn't got the black background after 7'52', can't see the red point either.
yes, me too - how is this resolved?
I had the same problem but figured it out by finding a mistake inside flag file, maybe it will be helpful. On the beginning I was editing file in notepad but then downloaded sublime text, also if it won't help you should check Info DAT file of the project, there u can find detailed info about error
thanks your comment supported me alot
Following this tutorial I've got stuck on the first curlGLSL it appears an error, "the glsl shader has compile errors" i tripled check the code and it appears everything is correct, it shows red and black squares with the warning. I don't know how to move from there, please help. Thank you.
Hey there! I'm stuck right in the same place :(
same here! solution???
Hi ! How I could conect this system to be kinect controlled?
hi were you able to achieve your goal? i am trying the same thing and some help would be great!
im only seeing a colored dot at the end guess i need to recheck the tuto
I had the same problem but figured it out by finding a mistake inside flag file, maybe it will be helpful. On the beginning I was editing file in notepad but then downloaded sublime text, also if it won't help you should check Info DAT file of the project, there u can find detailed info about error
FluidSim SpeedRunner. AWESOME! THX!!!
my sequence patch for the clear pressure is not showing, the feedback and the null pressure don't show the moving circle, this is the only thing missing, don't know where the error is, could you help me???? thank you!
Edit: I did it!!!!!!!! I discover the errors and was able to complete the full tutorial, i spend the last 12 hours eating ice cream and figuring out this until I finally resolved it. Now I will learn how to use a kinect to be able to control it with my hand!
I'm having the same issue, what did you do to resolve the error?
I have the same issue, could u share the solution or project file maybe?
hey i saw your comment on Outsandas hand tracking tutorial as well so I suppose that you are trying to adapt this mouse-tracking tutorial to kinect... did it work?
if you were actually able to achieve this please some help will be great? thank you
@@ayeshainaam9270 i was able to use my hand using the webcam of my laptop, it worked!
im trying to connect this to Kinect and I am struggglinggggggg
Have you worked it out?
I wanted to do something similar hahah
pretty easy just change the mousex and mousey to the data you gettin out of kinect chop
I got there in the end 😂
@@waveboi93 nice, does your patch work? currently on it and having troubles which the feedback he does at the very end of the tut... only getting weird output when dragging advectVelocity onto feedback before velocity GLSL
Oh, a Mouse in CHOP. cool. (Sad macOS noises)
Edit: tried doing it with a motion detection thingy ( ua-cam.com/video/ju4F1cGhE6Q/v-deo.html )
And my camera wouldnt work :D :D
Saving the project and restarting TD resolved the issue for me, and Mouse In works now as well. On some mac machines, it doesn't, so you might get a neat workaround with your FaceTime camera and aforementioned Tutorial. Fun stuff!