KINECT RENDERPICK

Quick question Gurus!
Is it possible to use kinect to renderpick?
There is a thread on how to trigger a button with kinect but am lost as to how to renderpick.
Much appreciated!

Nobody?

I basically have about 30 text instances floating in a 3D scene.
Using the mouse and renderpicking an item with an instance ID of 5 will trigger a video named video5.

How do l get the kinect, say on detecting a closed hand, to ‘renderpick’ so l can extract the ID?

Thanks in advance!

Not at my machine now to make an example, but if you look in the palette there is a multi touch example that uses a render pick. And what it does is it uses the panel UV co-ordinates and writes them into the Render Pick table (if I remember correctly). You’ll see that happening once you go one level inside of it.

You’ll probably want to do the same. You’ll want to take your Kinect position, make sure its scaled to 0 - 1, then write the UV to the table, as well as whatever gesture you want to use to simulate a click.

Let me know if that makes sense, if not I think i have a very similar example of rigging the multi touch example with a kinect.

Hi Elburz!
Thanks for replying.
There is a geoPanel in the palette.
Did a mod of the example but could not get it to work.
Perhaps the sample was too complex for me …

Would be most kind if you could provide me your similar kinect example you mentioned.
Hopefully it is not too complex as well.

Cheers and much appreciated.

I too am having troubles wrapping my head around how to get the kinect data into the table. Have you had any progress with this?
I have converted an OSC with a CHOPto. I am trying to figure out how to replace the U, V in the mTouchIN dat with a substitute Dat.
Am I close?

A better ways is to use interactMouse() or interactTouch() on the panel - Then your events will be sent through the MultiTouch In DAT, whiich you route to the Render Pick DAT.

In the palette look at the geoPanel() example, or better, the remotePanel components in the latest palette.

Hi cvan,
Just got back from hols and back to office.
I couldn’t get hold of a kinect so l did a test with the leap motion instead.
Think it is working …
Not sure if this is what you need but attached is the toe file.
If you hover open hand over the cubes (set for 2 seconds hold), it will return the instance ID of the picked cube.
I’ve used the trail chop set for 1 second history to ascertain the ‘hovering’ and a subsequent 2 seconds with a timer to trigger the picking (or select) which is sent into the renderpickDAT.
Hope this helps.
Cheers!

LM_PICK.toe (9.53 KB)