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...

КОМЕНТАРІ • 97

  • @raf22nd
    @raf22nd Місяць тому +3

    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

    • @ottonik8605
      @ottonik8605 Місяць тому

      same here, did it happen when dragging advectVelocity onto Feedback before velocityGLSL node???

    • @raf22nd
      @raf22nd Місяць тому +1

      ​@@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

    • @ottonik8605
      @ottonik8605 Місяць тому +1

      @@raf22nd ok thanks! going to check that! but would make sense tho :)

    • @ottonik8605
      @ottonik8605 25 днів тому

      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? :)

    • @raf22nd
      @raf22nd 25 днів тому

      @@ottonik8605 sure thing, where do I drop it?

  • @ferdinandbalint7960
    @ferdinandbalint7960 3 роки тому +12

    The best on touchdesigner on the internet I always find here. What a channel. Thank you!

  • @gregderivative2647
    @gregderivative2647 3 роки тому +7

    very interesting workflow with nodes, first putting down conceptual nodes end-to-end and then filling them in

  • @JoseLopesMoreno
    @JoseLopesMoreno 3 роки тому +1

    Great tutorial, Bruno! Thank you for preparing it for us!

  • @flyingfear775
    @flyingfear775 3 роки тому +1

    That was an amazing tutorial, tough to follow but worth it 100%, thanks for your work!

  • @pedronan5938
    @pedronan5938 3 роки тому +1

    Amazing!

  • @knast7093
    @knast7093 4 місяці тому

    Thank you so much for sharing! This one was a though ride for me, but you did a great job - appreciated!

  • @polyscopes
    @polyscopes 2 роки тому

    Amazing tutorial thank you so much for porting this and sharing it with us all!

  • @fckndrummczinz
    @fckndrummczinz Рік тому

    so awesome to have this accessible and to be able to learn GLSL from this..

  • @Genesis-bu1my
    @Genesis-bu1my 3 роки тому +3

    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

    • @Genesis-bu1my
      @Genesis-bu1my 3 роки тому +4

      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

  • @mekhtoub
    @mekhtoub 3 роки тому +1

    Thank you! Great intro to GLSL.

  • @qualiaty
    @qualiaty 3 роки тому +5

    I never thought I could do something like this, even with a tutorial. Thank you for this!

    • @jaxmakai6059
      @jaxmakai6059 2 роки тому

      I know Im quite off topic but do anybody know of a good site to watch new movies online ?

    • @brodyharlan9555
      @brodyharlan9555 2 роки тому

      @Jax Makai Flixportal :)

    • @jaxmakai6059
      @jaxmakai6059 2 роки тому

      @Brody Harlan Thank you, I went there and it seems to work =) I appreciate it!!

    • @brodyharlan9555
      @brodyharlan9555 2 роки тому

      @Jax Makai No problem :D

  • @tdvr
    @tdvr 2 роки тому

    Beautiful simulation - thank you!

  • @ChrisChoiThird
    @ChrisChoiThird Рік тому

    Thank you so much. What a great tutorial it is.

  • @naquashcfak8905
    @naquashcfak8905 3 роки тому +1

    very useful, thanks a million !!!

  • @AndyDuplain
    @AndyDuplain 2 роки тому

    Amazing! Thank you.

  • @RainerPits
    @RainerPits 3 роки тому +2

    So amazing

  • @Pierreduchzy
    @Pierreduchzy Рік тому

    Thanks for sharing!

  • @joshrector9954
    @joshrector9954 3 роки тому +2

    Really stunning! I’m learning GLSL at the moment, and systems like this are a huge encouragement to continue learning

    • @easy.3D
      @easy.3D 3 роки тому

      can you help me out?

  • @syskillme9651
    @syskillme9651 3 роки тому +1

    That's a crazy video. I will chew GLSL while studying. Thank you for the good video and I respect you.
    미친 영상이네요 GLSL공부하면서 씹어먹겠습니다 좋은 영상 감사하고 존경합니다.

  • @twistbase
    @twistbase 3 роки тому +1

    Nice one 👌🏽

  • @RusticRaver
    @RusticRaver 3 роки тому +1

    well explained!

  • @simonlebon2338
    @simonlebon2338 Рік тому

    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 ?

  • @paxk.8624
    @paxk.8624 6 місяців тому

    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...

  • @mareletudor
    @mareletudor 3 роки тому +1

    thanks!

  • @TheDebonis
    @TheDebonis 3 роки тому +2

    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

  • @paulavillavicencio
    @paulavillavicencio 3 роки тому +1

    wow this is amazing! Do you know how could I use it with audio analysis or TDAbleton?

  • @segalcodin7180
    @segalcodin7180 2 роки тому

    Amazing tutorial man great job. I was wondering if there is a way to change the color of the fluide decay?

  • @jcnesci
    @jcnesci 2 роки тому

    Great lesson! But what would be a simple way to also move particles based on this fluid sim?

  • @maxikleya
    @maxikleya 2 роки тому

    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.

  • @LucasBalthazar
    @LucasBalthazar 3 роки тому +1

    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?

    • @threedashes___
      @threedashes___  3 роки тому

      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.

  • @TheNicoleblondin
    @TheNicoleblondin 2 місяці тому

    u're the one!!

  • @Logan-ev8dv
    @Logan-ev8dv Рік тому +1

    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.

  • @apointlesspodcast
    @apointlesspodcast 9 місяців тому

    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?

  • @djzeels
    @djzeels Рік тому

    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 ?

  • @pedronan5938
    @pedronan5938 3 місяці тому +1

    Hello everyone, would it be possible to add a second point of interaction?

  • @ronolds6505
    @ronolds6505 3 місяці тому

    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.

  • @beesha
    @beesha 3 дні тому

    I wondered how this can be modified to accept multiple input points, I can't get it to work.

  • @ottonik8605
    @ottonik8605 25 днів тому

    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 :(

  • @steveivanka
    @steveivanka 11 місяців тому

    hi, i just did till first part of the coding but i cant find the red mouse point, need help someone

  • @cadian_music
    @cadian_music Рік тому

    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!

    • @CalamityAndy
      @CalamityAndy Рік тому

      try doing a pulse on the feedbacks

  • @bentheremedia3011
    @bentheremedia3011 Рік тому +1

    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.

    • @bentheremedia3011
      @bentheremedia3011 Рік тому +2

      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.

  • @jaceweyant2678
    @jaceweyant2678 6 місяців тому

    Amazing video! Would you be able to share the toe file for this project?

  • @Ahpuckful
    @Ahpuckful 2 роки тому

    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.

  • @rimarro
    @rimarro 7 місяців тому

    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.

    • @jaceweyant2678
      @jaceweyant2678 6 місяців тому

      might just be a case sensitivity thing. try vUV instead of vuV

  • @theXshoter1
    @theXshoter1 Рік тому

    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

    • @CalamityAndy
      @CalamityAndy Рік тому

      uncheck sync, refind the file, then check sync again

  • @nissestordiau
    @nissestordiau 10 днів тому

    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

  • @user-gd9iu1sj1q
    @user-gd9iu1sj1q 3 роки тому

    Great tutorial!! I didn't got the black background after 7'52', can't see the red point either.

    • @jonathanhislop5464
      @jonathanhislop5464 3 роки тому

      yes, me too - how is this resolved?

    • @ellyeosss
      @ellyeosss 2 роки тому +1

      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

    • @steveivanka
      @steveivanka 11 місяців тому

      thanks your comment supported me alot

  • @GeraTRDZ
    @GeraTRDZ 5 місяців тому +1

    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.

  • @dayanaperez671
    @dayanaperez671 9 місяців тому

    Hi ! How I could conect this system to be kinect controlled?

    • @ayeshainaam9270
      @ayeshainaam9270 23 дні тому

      hi were you able to achieve your goal? i am trying the same thing and some help would be great!

  • @wuilly5814
    @wuilly5814 3 роки тому

    im only seeing a colored dot at the end guess i need to recheck the tuto

    • @ellyeosss
      @ellyeosss 2 роки тому +1

      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

  • @maxschweder704
    @maxschweder704 3 роки тому +1

    FluidSim SpeedRunner. AWESOME! THX!!!

  • @GeraTRDZ
    @GeraTRDZ 5 місяців тому

    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!

    • @jamesirons7262
      @jamesirons7262 5 місяців тому

      I'm having the same issue, what did you do to resolve the error?

    • @kotrynarackute7654
      @kotrynarackute7654 17 днів тому

      I have the same issue, could u share the solution or project file maybe?

    • @ayeshainaam9270
      @ayeshainaam9270 13 днів тому

      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?

    • @ayeshainaam9270
      @ayeshainaam9270 13 днів тому

      if you were actually able to achieve this please some help will be great? thank you

    • @GeraTRDZ
      @GeraTRDZ 13 днів тому

      @@ayeshainaam9270 i was able to use my hand using the webcam of my laptop, it worked!

  • @waveboi93
    @waveboi93 3 місяці тому +1

    im trying to connect this to Kinect and I am struggglinggggggg

    • @perpetulity5063
      @perpetulity5063 2 місяці тому

      Have you worked it out?

    • @perpetulity5063
      @perpetulity5063 2 місяці тому

      I wanted to do something similar hahah

    • @ottonik8605
      @ottonik8605 Місяць тому

      pretty easy just change the mousex and mousey to the data you gettin out of kinect chop

    • @waveboi93
      @waveboi93 Місяць тому +1

      I got there in the end 😂

    • @ottonik8605
      @ottonik8605 Місяць тому

      @@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

  • @kaustik185
    @kaustik185 10 місяців тому

    Oh, a Mouse in CHOP. cool. (Sad macOS noises)

    • @kaustik185
      @kaustik185 10 місяців тому

      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!