TuioKinect Application and TuioClient for beginner

gabemott's picture

I would be so happy if I could create moving particles from the kinect but am afraid that my basic knowledge is lacking.

I started from scratch three weeks ago and have made it through many roadblocks so far, but need help.

I have the Tuioclient and the Kineme Kinect Patch, I even have OCSceleton stuff, but as you'll note in the screenshot, I have no clue what to do with them. I've read everything I could find and tried linking these together.

I am hoping this is a basic tutorial, but fear it's actually alot of work. I'm ok with alot of work as long as I have some direction.

Do I have to have TuioKinect running during this? I suppose I would want to be able to set the near and far threshold.

Eventually, I'd love to have the particles tracking bodies, but for now, if I can just get past this step I'll be grateful.

I've also attached the qtz file.

Thank you, Gabe

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

gabemott's picture
Re: TuioKinect Application and TuioClient for beginner

I copied the layout structure I could see in this video: http://www.youtube.com/watch?v=LTJ-LxhaIaU

I didn't any further in my results, but maybe I am on the right track?

PreviewAttachmentSize
red-green-blue2.qtz69.62 KB

mattl's picture
Re: TuioKinect Application and TuioClient for beginner

Run the tuiokinect app here if you aren't already. http://code.google.com/p/tuiokinect/ this will send the l/r hand position data to the tuio client in QC. you don't need the kineme kinect patch for this.

you will have to adjust the near/far threshold in the tuiokinect app.. you need to see the black circles in the bottom right screen moving with your hands. the bottom left screen will show what objects are within the threshold range.

remember to add the structure indexes and xpos/ypos keys in your structure key patches..

should work...

PreviewAttachmentSize
red-green-blue2.qtz69.65 KB

gabemott's picture
Re: TuioKinect Application and TuioClient for beginner

Thanks Matt. Yours works on my computer. I made these two changes to my original file:

  1. Put in values for The Structure Index patches. Index: 0 in the first and in the second Index:1

  2. Defined keys for xpos and ypos.

I couldn't find any other changes you made. But mine still doesn't work. Yours does, and that's awesome. It's the first time I've seen anything besides me with the kinect. THANKS.

gabemott's picture
Re: TuioKinect Application and TuioClient for beginner

Thanks Matt. Yours works on my computer. I made these two changes to my original file:

  1. Put in values for The Structure Index patches. Index: 0 in the first and in the second Index:1

  2. Defined keys for xpos and ypos.

I couldn't find any other changes you made. But mine still doesn't work. Yours does, and that's awesome. It's the first time I've seen anything besides me with the kinect. THANKS.

mattl's picture
Re: TuioKinect Application and TuioClient for beginner

those were the only changes I made.. if you post your edited file I could have a look at it.. did you close mine before trying to run yours? the tuio client will only work with one composition running..

gabemott's picture
Re: TuioKinect Application and TuioClient for beginner

You are right. I just needed to close the other one. Hoping I can translate this info to understanding why it worked.

I used Tuio because it seemed like the fastest route to get something cool happening with the Kinect. It seems like to track bodies etc, is a big step up and requires the OSCeleton stuff. Is there anything you know of that would of that would either track bodies (so bodies are orbs of light) or so that particles are floating off their silhouettes.

Again, great progress today thanks to you. And now I can start making those particles cooler. Gonna search for some momentum/acceleration stuff to see if I can throw particles...

Appreciate your help. Aloha

mattl's picture
Re: TuioKinect Application and TuioClient for beginner

if you just want a particle effect on silhouettes have a look at 1024 particle warfare plugin and motion detect example...

gabemott's picture
Re: TuioKinect Application and TuioClient for beginner

Got _1024 particle warfare plugin and motion detect example working... Mapped it to the Kineme Kinect Patch Depth image output... And yes, very cool...

Trying to get a more crisp image- I tried opening up TuioKinect to adjust the range... and crashed my MacBook pro (just got this thing and it's maxed) --

Anyway, now realizing the TuioKinect wouldn't do anything for me as the range is set to identify those touchpad blobs.

So now am wondering how do I adjust that? Do I need to be coding in openframeworks? I've still never gotten xcode to build anything kinect related... (and am not a coder)... I have a feeling I am just going to have to get OSC working...

Anyway, was cool to get that working if for a minute.. thanks again.