[ANSWERED] Modify a shape with hand tracking
-
Hello everybody,
I am trying to modify the dimensions of a rectangle shape created with Isadora using my hand.
I am researching around and intuitively I would use OPENNI tracker to track my hand and then hook up the motion to the width and height dimensions but, because I don't have a Kinect compatible with the plugin, before I buy it I would like to know if there is a better way, and even if this method can be successful.
I would also love to know if there is a way to modify the anchor point of a shape.Thanks
elena
-
-
to change the anchor point of a shape you can use the FFGLPanSpinZoom actor (spin ctrl x and spin ctrl y). It is not a real anchor point but could simulate it.
best
Jean-François
-
-
did you try leap motion?
it could be quite efficient for getting precise fingers/hands coordinates... and it's really cheap 2nd hand now...
bests -
-
@elena said:
modify the dimensions of a rectangle shape
You should be able to set the width and height, as well as, rotation and XY location all via hand tracking.
I have done similar for a 3D cube in Isadora as a test project some time ago, using the Kinect 2 for tracking. -
@elena said:
I would also love to know if there is a way to modify the anchor point of a shape.
Take a look at my answer in this thread, you may find it, and some of the methods I discuss, to be helpful. There's also a Guru Session that Mark did which covers this topic.
You may also find this (as of yet unreleased) motion tracking mini-tutorial I've made to be helpful. (It's bundled with another mini-tutorial on alpha masks, but the motion tracking one will be the one you'll want to look at for this particular topic.)
@Elena said:
I am researching around and intuitively I would use OPENNI tracker to track my hand and then hook up the motion to the width and height dimensions but, because I don't have a Kinect compatible with the plugin, before I buy it I would like to know if there is a better way, and even if this method can be successful.
If you do end up going the Kinect and OpenNI route, you will want to check out the OpenNI Tracker Tutorial and download the OpenNI Plugins from our Plugin Page.
@jfg said:
to change the anchor point of a shape you can use the FFGLPanSpinZoom actor (spin ctrl x and spin ctrl y). It is not a real anchor point but could simulate it.
This plugin doesn't come with a fresh install of Isadora. You'll need to download the TroikaTronix FFGL plugins from our plugin page and install them if you want to use them. Personally, I use FFGLPanSpinZoom all the time because it's more convenient than using both a Zoomer actor + Panner actor + Spinner actor.
Best wishes,
Woland