XBOX One Controller in TouchDesigner

Поделиться
HTML-код
  • Опубликовано: 13 июл 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
    Gaming controllers are some of the most inexpensive controllers you can get for your computer. Turns out, they're extremely useful for interactive and immersive installations. Whether you're controlling cameras in a previz environment or using it to trigger and control generative graphics, game controllers are easy to use and highly responsive. In this video, Elburz talks you through using an XBOX One controller in TouchDesigner to control a 3D camera quickly and easily.

Комментарии • 37

  • @astoc
    @astoc 2 месяца назад

    Thank you ! That speed CHOP trick is so clever

  • @snurrebassen
    @snurrebassen 2 года назад

    man, you have the best tutorials on TD - thanks a bunch

  • @supremebeme
    @supremebeme Год назад +1

    omg this is fantastic. the speed chop trick is exactly what I needed!

  • @failoften
    @failoften 3 года назад +1

    Great intro to using Joystick - so powerful and so quick to use! I love the use of Speed CHOP - I was using Math and this way is a nice alternative. The same network could be used with Leap and Kinect CHOPS. Great quick pre-viz!

    • @TheInteractiveImmersiveHQ
      @TheInteractiveImmersiveHQ  3 года назад

      Thanks! Speed CHOP definitely has some nice usages outside of just counting up. I've used it with controllers, touch screens, and more. It's very useful, especially when you're making things like interactive carousels!

  • @bradonwebb2318
    @bradonwebb2318 2 года назад +3

    great tutorial, for the gimbal lock solution as well as more normal POV style walking through your scene with strafing etc. would have to do a kind of forward lookup to a normal direction and store the result of that calculation in a speed chop perhaps the transformXYZ chop might be useful for rotating the player forward normal direction. I'm surprised none has built a component like that before though... would be super handy. I might build one tonight.

    • @NeRoOp9
      @NeRoOp9 Год назад

      How did that night go? But honestly did you achieve something and can you share that?

  • @andor3xy712
    @andor3xy712 2 года назад

    Great tutorial and channel. I have a problem with my controller , joysticks never really zero out. How could I set a threshold so that tiny values don't send a number to the speed chop?

  • @avirads
    @avirads 3 года назад +1

    thank you..great exaplnation

  • @4i20
    @4i20 3 года назад +1

    Thank you

  • @ricardoforero2202
    @ricardoforero2202 3 года назад +1

    Excelent Thanks !!

  • @andor3xy712
    @andor3xy712 2 года назад +1

    Also, what's the most responsive and enganged forum or group for touchdesigner community help?

    • @TheInteractiveImmersiveHQ
      @TheInteractiveImmersiveHQ  2 года назад

      I believe best support you'll receive is inside the HQ PRO private facebook group where our expert teachers are answering our members questions every day. We also have a lovely community where folks share their work, discuss all things interactive, and overall support each other. You can check it out at the link below: interactiveimmersive.io/lp/hq-pro-full-trial/

  • @truefiasco2637
    @truefiasco2637 3 года назад +6

    Nice intro into controllers, but this method is a bit basic and not a very good use of camera controls. You'll be facing issues with gimble lock without the angle chop with quaternions(feedback and hold chop is also a nice way to do this), and you haven't done the basic trig for calculating the direction vector for first person forward, backward, up down or left and right meaning if you turn 90' left, your stride left will be move forward.
    If you're using a controller so a client can use it, you really don't want issues like that popping up, it'll make you look incompetent when they think you don't know your left and right from forward and backwards.

    • @TheInteractiveImmersiveHQ
      @TheInteractiveImmersiveHQ  3 года назад +3

      That's definitely a good note! Gimbal lock is a tricky thing to deal with for a lot of new developers and a great thing to talk about. In the interest of keeping this video short and easy to watch for most folks (especially newer folks), the main focus was actually using Joystick CHOP and some nice usage of Speed CHOP for new users. I'll add it to the list to talk about gimbal lock in a future video :)

    • @truefiasco2637
      @truefiasco2637 3 года назад +2

      @@TheInteractiveImmersiveHQ It's certainly a topic I want to cover in an upcoming series of tutorials.

    • @borjonx
      @borjonx 2 года назад +1

      Thank you for keeping it simple - this video was incredibly useful.

    • @nil_draloscona
      @nil_draloscona 2 года назад

      Hi ! anything we can learn about how to manage gimble lock into TD ?? Thanks

  • @ricardokenji4006
    @ricardokenji4006 3 месяца назад

    Hi, is there a way to use the gyro info from the controller in TD?

    • @TheInteractiveImmersiveHQ
      @TheInteractiveImmersiveHQ  3 месяца назад

      Unfortunately all versions of the Xbox One controller that are out there (as of today) don't have accelerometer/gyroscope functionality. That said, it looks like a new version of the controller with an accelerometer and other updates (see en.wikipedia.org/wiki/Xbox_Wireless_Controller) will be launched sometime later this year, with some sources stating May '24 as a possible release date. It's possible that Derivative will update the Joystick CHOP's functionality at that point to support those sensors. Hope that helps!

  • @JordiPont
    @JordiPont 3 года назад +1

    Hi Elburz, that's a pretty good tutorial as always. I'm connecting the joystick via OSC to Notch, to control Notch Camera, but I'm having a problem, that when I'm not in touchdesigner application, it doesn't recognise the movements from the joystick, it's not working on background mode, even with the play on in touchdesigner. Any idea, on how can I make it work? Thanks in advance.

    • @TheInteractiveImmersiveHQ
      @TheInteractiveImmersiveHQ  3 года назад +1

      Hmm that's a tricky one. Are you minimizing TouchDesigner when you put it in the background? There's a setting in the TouchDesigner application preferences where it stops it from processing if you minimize it, and you can turn that off. Could that be the issue?

    • @JordiPont
      @JordiPont 3 года назад +1

      @@TheInteractiveImmersiveHQ Thanks for your fast reply, I'm not minimising Touch, I have two screens, on one screen I have Notch and on the other Touch, just changing the application from one to the other it completely stops receiving the joystick data. :(

    • @TheInteractiveImmersiveHQ
      @TheInteractiveImmersiveHQ  3 года назад +1

      @@JordiPont Hmm that's tricky. When you switch applications can you see if the timeline of TouchDesigner is still running? I'm curious if the whole TouchDesigner app is getting stalled or if it's specific to the joystick.

    • @JordiPont
      @JordiPont 3 года назад +1

      @@TheInteractiveImmersiveHQ Hi Elburz, TouchDesigner timeline is running, but if the application is not selected and active, the input of the joystick stops, is that a bug of that chop?

    • @TheInteractiveImmersiveHQ
      @TheInteractiveImmersiveHQ  3 года назад +1

      @@JordiPont Hmm that could be, if you temporarily replace the Joystick CHOP with something like an LFO CHOP and feed that into your Notch camera control, does it keep working if you switch applications? It definitely could be a bug in TouchDesigner and we can make a bug report on the forum about it

  • @gianniskaragiannis4300
    @gianniskaragiannis4300 Год назад

    is there any way to make the controller vibrate?

    • @TheInteractiveImmersiveHQ
      @TheInteractiveImmersiveHQ  Год назад +1

      Unfortunately it’s not supported natively in TouchDesigner at this point. That said, people have built custom C++ operators in the past for Xbox 360 controllers, which might be worth checking out: forum.derivative.ca/t/xbox-360-controller/4099 Hope that helps!

    • @gianniskaragiannis4300
      @gianniskaragiannis4300 Год назад

      @@TheInteractiveImmersiveHQThank you very much! This is very helpful!