Reactive GPU Particles: TouchDesigner Tutorial

Поділитися
Вставка
  • Опубліковано 28 лип 2024
  • Get access to 200+ hours of TouchDesigner video training, a private Facebook group where Elburz and Matthew Ragan answer all your questions, and twice-monthly group coaching/mastermind calls here: iihq.tv/Trial
    If you’re a TouchDesigner Beginner, check out our TouchDesigner Tutorial Series! We teach you all the basics of how to use TouchDesigner, including mouse controls, hotkeys, parameters, the operator families, and more: interactiveimmersive.io/touch...
    Reactive particle systems are always in demand by clients and are extremely fun for audiences. In TouchDesigner, we can create a fully reactive GPU particle system with just a handful of nodes in less than 10 minutes. Optical flow is the main techniques that allows to make just about any video input suitable for reacting to particle systems and other simulations.
    Check out our blog post about TouchDesigner GPU Particles & Optical Flow: interactiveimmersive.io/blog/...
    TouchDesigner Beginner Crash Course Contents
    00 - Introduction: • 00 - Introduction - To...
    01 - Get Started & Downloads: • 01 - Get Started & Dow...
    02 - Mouse Navigation: • 02 - Mouse Navigation ...
    03 - Creating Operators: • 03 - Creating Operator...
    04 - Network Navigation: • 04 - Network Navigatio...
    05 - Signal Flow: • 05 - Signal Flow - Tou...
    06 - Hotkey Notes: • 06 - Hotkey Notes - To...
    07 - Operator basics: • 07 - Operator Basics -...
    08 - Parameters & Operator Info: • 08 - Parameters & Oper...
    09 - TouchDesigner User Interface: • 09 - TouchDesigner Use...
    10 - Working with TOPs: • 10 - Working with TOPs...
    11 - Working with CHOPs: • 11 - Working with CHOP...
    12 - Working with COMPs: • 12 - Working with COMP...
    13 - Working with DATs: • 13 - Working with DATs...
    14 - Working with SOPs and MATs: • 14 - Working with SOPs...
    15 - Outputting Content: • 15 - Outputting Conten...
    16 - Next Steps: • 16 - Next Steps - Tou...
    17 - Create background content in TouchDesigner quickly and easily: • Create background cont...
    18 - Trails & Frame Delays in TouchDesigner: • Trails & Frame Delays:...
    19 - Reactive GPU Particles in TouchDesigner: • Reactive GPU Particles...
    20 - Generative Geometric Design in TouchDesigner: • Generative Geometric D...
    21 - Audio Reactive Analog Content in TouchDesigner Tutorial with Crystal Jow: • Audio Reactive Analog ...
    22- Generative Visuals with Particles & Kinect in TouchDesigner with Crystal Jow: • Generative Visuals wit...
    23 - 2D Texture Slicing in TouchDesigner: • 2D Texture Slicing: To...

КОМЕНТАРІ • 93

  • @shiangchia4337
    @shiangchia4337 2 роки тому +2

    Your turtual always so useful,very appriciate!

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

    thank you so much for the great video

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

    Thank you!

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

    Bro you are the best!

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

    Awesome effect, I must give it a try 🤸‍♀🤸‍♀🤸‍♀

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

      Definitely do! It’s a lot of fun to build. One thing to note, we actually did an update on this a few months ago as the new particlesGPU has a few changes: Interactive Particles with Optical Flow and ParticlesGPU 2022 - ua-cam.com/video/xODS0pZ6CEo/v-deo.html. If you’re interested in continuing with particlesGPU, also make sure check out Geometric Solar Flares with particlesGPU - ua-cam.com/video/t-yiOEgx6gY/v-deo.html!

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

      @@TheInteractiveImmersiveHQ awesome thank you. I've just finished watching Interactive Particles with Optical Flow and ParticlesGPU 2022 amazing. I'm certainly interested in continuing with particlesGPU and will watch the Geometric Solar Flares shortly 👍

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

      When I move I want the particles to follow the outline of my body similar to the dispersion effect you can create in still images. Could I use the same process?

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

    Hi, thanks for video. I need a help. My particlesGpu component's inputs type are TOP all of them. But i want to change input0(TOP) to input0(SOP). How can make this ? I'm beginner at the TD.

  • @Anthony-ig6ds
    @Anthony-ig6ds 3 роки тому +1

    This is awesome. I'm thinking of using touchdesigner for an interactive projection solution. Could you potentially track motion with multiple LiDAR cameras? Also, would projecting this in high res with a horizontal array of projectors work responsively?

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

      Thanks! You could certainly use LiDAR cameras to track motion. You'd probably want to take the LiDAR data, instance some simple geometry on the points, then render those points and use that as the source for optical flow or blob tracking. There'd be no issue with projecting this to multiple projectors, that kind of thing is no problem with TouchDesigner :)

    • @Anthony-ig6ds
      @Anthony-ig6ds 3 роки тому +1

      @@TheInteractiveImmersiveHQ thanks so much! I'll certainly bring it up with my team.

  • @Nisse-ds5zd
    @Nisse-ds5zd 4 місяці тому +1

    for th eone who look in 2024, the "input magnitude" is now called "Optical flow magnitude" and you can modify it wway more in big range thn on the video

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

      Thanks for pointing this out -- particlesGPU has received some pretty big updates since this video was released. Here's a more recent video that covers building this effect with those updates in mind: Interactive Particles with Optical Flow and ParticlesGPU 2022 ua-cam.com/video/xODS0pZ6CEo/v-deo.html

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

    Awesome tutorial! Is there a simple way to add sound effects for when particles are touched/displaced? Like play sound files I might have. Thanks so much!

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

      That would be a bit tricky in this setup since everything is happening on the GPU we dont' really get a response back from it with the status of the particles. You could instead do something like use an Analyze TOP on the output of the opticalFlow so that way if you measure the overall brightness of the pixels in the image a lot of motion could result in triggering audio. Would that work for your idea?

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

      @@TheInteractiveImmersiveHQ The Analyze TOP, great idea, I'll try it out! Also wondering if I can get events like I wanted by using the particle SOP instead. Fun stuff!

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

      @@jcnesci With Particle SOP there would be some extra steps to get events but they'd be pretty taxing on your system and a little bit tricky to build because there's no native Python event for that.

  • @rachelkim2629
    @rachelkim2629 2 роки тому +2

    Hi! Is there a way to make the particles move from left to right instead of from top to bottom? Super helpful video, thanks!

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

      Do you mean having them spawn from the left and move to the right? If so you can change the External force so it is 1 on the X axis and remove the -1 from the Y axis. That should make them move in the right direction but you also might need to give the particlesGPU a custom camera component so you can reposition your view of the particles, which is on the Render page of parameters.

    • @rachelkim2629
      @rachelkim2629 2 роки тому +2

      @@TheInteractiveImmersiveHQ Thank you so much! I'm currently part of a research project group at Georgia Tech, and we are creating an interactive art exhibit using TouchDesigner, so your tutorials have been extremely helpful for all of us :)

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

      @@rachelkim2629 That's fantastic! I'm glad they're useful for you all :) We'd love to see what you're making if you want to email us some pictures or tag us on Instagram @interactiveimmersivehq

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

    Great tutorial! I'm just getting started with TouchDesigner. Is it possible to use TouchDesigner with a projector to get the same effect on someone in a live setting?

    • @TheInteractiveImmersiveHQ
      @TheInteractiveImmersiveHQ  3 роки тому +3

      Absolutely! You can take the output texture or composite that we made, send it to a Window COMP and then you can open that window on your projector. From there you can experiment with camera angles to have it feel good from the user's point of view.

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

      @@TheInteractiveImmersiveHQ Awesome, thank you so much for the reply!

    • @Nisse-ds5zd
      @Nisse-ds5zd 4 місяці тому

      @@parkermrpink hey ! I just start either, and want to do the same, did you manage to do it ? :)

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

    do you know anything about implementing position based dynamics for fluid systems in touch designer? Thanks!

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

      There are some good github repos you can check out if you search "touchdesigner fluid" and you might something that can match your needs.

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

    Your tutorial is great and thank you! I would like to ask, is there a tutorial that I can use macbooks camera? Or how ti get the video feed in TD? Thanks!

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

      You can access the MacBook webcam using the Video Device In TOP. It should automatically pick the appropriate driver. Here's some more info: docs.derivative.ca/Video_Device_In_TOP Hope that helps!

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

      @@TheInteractiveImmersiveHQ Thanks a lot for your reply!
      I will look into it!

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

    thank u so much for the videos, Is there a way to make it reopen with the toe file when the touch player closes for whatever reason?

  • @kadinherring9302
    @kadinherring9302 2 роки тому +2

    hey, thanks a lot for the videos! real quick question: does the ndi in not work for mac built-in cameras?

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

      It should work! Do you have NDI Tools Installed? There's a tool that comes with it called NDI Webcam Input which should allow you to route your webcam into an NDI stream.

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

      @@TheInteractiveImmersiveHQ I am on a mac as well and unfortunately for macs we do not get the NDI Webcam Input, any suggestions for a workaround?

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

      @@Shuttered Can you upgrade to the latest experimental build of TouchDesigner for macOS? I was teaching a workshop last weekend and that seemed to help.

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

    Amazing!! Do you connect the camera to TouchDesigner?

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

      Thanks! Correct, however just wanted to mention that in this instance Elburz is first running the camera feed through Nvidia Broadcast to remove the background, and then sending that video signal into TouchDesigner. You can achieve similar results by running the camera directly into TouchDesigner using the Video Device In TOP. Hope that helps!

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

    Thanks for the tutorial! If I want to achieve the effect of opening the face Camera in the 2022 of the software, what should I do?

    • @TheInteractiveImmersiveHQ
      @TheInteractiveImmersiveHQ  2 місяці тому +1

      Great question! In the newer version of particlesGPU, head to the Forces page, and then click on the _Rotation Type_ parameter dropdown. "Face Camera" will be the third option in the list. Hope that helps!

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

      @@TheInteractiveImmersiveHQ Thank you very much!

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

    Hi, do i need specific cameras to achieve this or would anything work?

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

      No special camera needed :) It'll work with just about any type of webcam or Kinect or anything similar. It's very flexible.

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

    Thank you for the video :)!
    I am looking for a way to attract the GPU Particles instead of repelling them. If anyone has an idea to share or a link to send me, please do :).

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

      If you're using the Particle SOP built in you can use metaballs and forces for that. With GPU particles, I'd have to double check if it has attraction mechanisms built in.

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

    Hi, I recently started learning Touch Designer, I am using version 2022.24 and the particleGPU component has changed... I have looked at the wiki but it was not clear how to use get the opticalFlow input force on the new particleGPU system. Is this only available on paid versions? Can you please help? Thanks.

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

      We'll have a new updated version of this video coming out in the next week or 2! Stay tuned for how to use the new one.

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

      here's the link to the updated video: ua-cam.com/video/5qo3J5vX0eM/v-deo.html

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

    Hi.. I am new to touchdesigner.. I wanted to know if its possible to particles react to a handdrawn 2d animation?

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

      Definitely! The Movie File In TOP can be used to load a video file (which could contain your animation). You could connect this to the first input of the particlesGPU, which defines the particleSource, to generate particles based on the video file. You’ll likely have to play with the settings as well as the complexity of the animation itself to get the effect you’re looking for.

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

    Hi any update with latest version cos the particleGpu setup is different? Thanks

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

      Yes! We actually did an update on this a few months ago: Interactive Particles with Optical Flow and ParticlesGPU 2022 - ua-cam.com/video/xODS0pZ6CEo/v-deo.html. If you’re interested in continuing with particlesGPU, also check out Geometric Solar Flares with particlesGPU - ua-cam.com/video/t-yiOEgx6gY/v-deo.html. Hope that helps!

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

    Hi, I need help, instead of so many particles, can i deflect just 3 images placed already in screen.

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

      I believe there are documentation for the GPU particles on the Derivative wiki, where it should show you how to add custom textures for the particles. Then you could spawn 3 particles and get the same effect. Particle systems don't always have to have tons and tons of particles. We even use them in situations like you mentioned where we only have a few items but want the same behaviour.

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

      @@TheInteractiveImmersiveHQ Thanks!!

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

    Hi! Firstly thanks for your contents, those are really helpful. But I didn't use NDI webcam from my mac. I downloaded software but it didn't work or I didn't set up, could you help me please?

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

      If you're not using NDI, you can try to make a Video Device In TOP, which will give you access to your local devices like your webcam and your USB devices. Can you try that and let me know if you get your inputs?

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

      @@TheInteractiveImmersiveHQ It worked! Thanks teacher, I'm waiting with impatient your new videos.

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

      @@barankeban3634 Great!! Glad to hear :)

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

    why the Nvidea background remover looks bether on the Nvidea broadcast software then on the nvideabackground OP ?

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

      Good question! I just started working with it, so next week's video we'll take a look at the built in operators for accessing the RTX features in TouchDesigner

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

      I guess the pipeline of the broadcaster is AI with tensorflow… bg remover and other stuff should work with openCV i guess. Nvdia broadcaster is supercool by the way …

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

      @@unveil7762 Very cool and exciting! In the next few weeks of videos we'll look at how these tools can be used in your installation and art works :)

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

    I have an older Nvidia gpu that doesn't support optical flow, how can I overcome this to achieve a similar effect? OpenCV? Kinect? Any help would be appreciated

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

      The optical flow component in the palette actually doesn’t require an Nvidia GPU as it’s GLSL-based effect. You can even run it on machines without a GPU, although the performance won’t necessarily be the same.
      Another thing to point out is that particlesGPU received a pretty significant update with the 2022 release. To recreate this effect in the new version, check out this video: ua-cam.com/video/xODS0pZ6CEo/v-deo.html And for more info about the '22 updates: ua-cam.com/video/5qo3J5vX0eM/v-deo.html

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

    my particlesgpu window does not display anything, just a black screen, any suggestions? thanks!

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

      What kind of GPU does your system have? I believe if you don't have an Nvidia or AMD GPU the component won't work.

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

    Hi! The differences between the frames its now happening I build all the system but when I want to overlay my video the particles dissapear. And when I move the particles didnt follow my movements :(

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

      Hi there! We have actually updated this tutorial to match the changes in particlesGPU, check it out here:
      *Interactive Particles with Optical Flow and ParticlesGPU 2022 - Tutorial* - ua-cam.com/video/xODS0pZ6CEo/v-deo.html

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

    This must be an old version of the software. I get a totally different parttical system when I drop in ParticlesGPU. It has 3 in's and out's and so much in the container it's impossible to fathom.

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

      Hi, yes particlesGPU received a pretty significant update with the 2022 release! To recreate this effect in the new version, check out this video: ua-cam.com/video/xODS0pZ6CEo/v-deo.html
      And for more info about the '22 updates: ua-cam.com/video/5qo3J5vX0eM/v-deo.html
      Hope that helps!

  • @Scott.Sandifer
    @Scott.Sandifer Рік тому

    -Where'd the "face camera" button go?-
    You know what? It was driving me crazy. (I have no idea what I'm doing.)
    But I *found it.* It's down under Forces. Look for "Rotation Type."

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

      Glad to hear you found it! As you've probably noticed things have been rearranged in the more recent versions of particlesGPU - check out this video for a similar effect built with the updated version: ua-cam.com/video/xODS0pZ6CEo/v-deo.html

  • @Nisse-ds5zd
    @Nisse-ds5zd 4 місяці тому

    someone know how to remove the background from thecamera ?

    • @Nisse-ds5zd
      @Nisse-ds5zd 4 місяці тому

      for th eone looking like me, he donloaded a nvidia broadcast app for that

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

      You got it, Elburz was using Nvidia Broadcast to remove the background and then routing that video into TouchDesigner.

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

    Would this work on a mac (optical flow)?

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

      Yes, the opticalFlow COMP should work on Mac -- it's just running a GLSL shader under the hood 👍

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

      @@TheInteractiveImmersiveHQ opticalFlow is only supported on windows :(((

  • @pedroaguiartv
    @pedroaguiartv 2 роки тому +2

    When i drop particleGBU nothing happens in my container square (no falling plants) . does anyone could help me ?!

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

      What kind of system are you using? Is it a Mac or a PC? Do you also have an Nvidia GPU in your system?

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

      @@TheInteractiveImmersiveHQ Hello thaks for reply! Im using a PC (nitro 5/ ryzen 7 4800h/ Nvidia GTX1650 ti)

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

      @@pedroaguiartv Can you make sure to run your Windows Update and then update your graphics driver? It should work fine on that machine so if you don't see anything when making a new particleGPU then it sounds like something is happening with the graphics driver. Can you try updating everything and let me know? Also which version of TouchDesigner are you on? I think there was recently an issue with particleGPU so you might want to try to either upgrade your TouchDesigner build or downgrade it one or two builds and see if that helps.

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

      @@TheInteractiveImmersiveHQ Hello! first of all thanks for atention! Soo i upgrade though GEFORCE Experience and there was a pending upgrade. After that particlesGPU is back !! I was a 20 years Mac user and now im back to PC, getting used to it! Anyway thanks again!

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

      @@pedroaguiartv Great!! Our pleasure to help! It's always tough getting used to a new system and PC's especially some of the first things we do if something isn't working quite right is do a GPU driver update. Those things are always moving fast and so is TouchDesigner so it's good to update often.

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

    hey thanks for the video! I am trying to modify the texture to a video and create an instance so that it plays at different speeds (ua-cam.com/video/MB7GkjgxyYI/v-deo.html). I've been looking at this example but I can't put them together.

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

    Thank you !