flashas3-programming
shantanuGW
—
2015-06-08T08:51:02Z —
#1
Hi
I am trying to develop a multitouch application in Flash ActionScript 3. I would like to know how many touch points can be detected in the Open Exhibits (OE) SDK. Currently, the TUIO protocol I am using detects only two, and my requirement is to detect all ten fingers. Is this possible using Open Exhibits? Also does the OE SDK work on a surface like the MultiTaction?
Please do let me know.
Thanks
Shantanu
shaunmarsh
—
2015-06-10T15:43:00Z —
#2
Open Exhibits does not limit the number of supported touch points. It can consume as many as your touch device supports.
shantanuGW
—
2015-06-11T06:16:26Z —
#3
Does the OE SDK work on a surface like the MultiTaction?
shaunmarsh
—
2015-06-11T14:07:24Z —
#4
By default, Open Exhibits consumes Windows touch data but has some built in multi-modal support for TUIO and LeapMotion input. If MultiTaction devices support Windows OS or TUIO, then it will work out of the box and if not, it is simple to build a custom manager to inject point data into the gesture pipeline.
shantanuGW
—
2015-06-23T05:43:01Z —
#5
I would also like to know how to disable the debug text that appears when a finger is placed on the surface, i.e. it's id, x and y coordinates, and the circle denoting each finger.
shaunmarsh
—
2015-06-23T16:16:00Z —
#6
TUIOManager.gwTUIOMngr.tuioClient.removeListener(TUIOManager.gwTUIOMngr.tuioDebug);
shantanuGW
—
2015-07-24T21:43:13Z —
#7
Hi Shaun
Thank you for your help thus far. I just also wanted to know if the OE SDK supports fiducial markers. If yes, then how do I implement them in my application? Need to know this on an urgent basis. Thanks again.
shaunmarsh
—
2015-07-24T23:10:54Z —
#8
OE does not support fiducials but TUIO library is supposed to support it. We have not experimented with it but you can check their documentation.
shantanuGW
—
2015-07-25T17:39:25Z —
#9
I have worked with TUIO, using the api's mentioned in that link. Attaching that code below for better understanding of how I have worked with TUIO:
import org.tuio.TuioClient;
import org.tuio.TuioTouchEvent;
import org.tuio.connectors.UDPConnector;
import org.tuio.ITuioFiducialReceiver;
import org.tuio.TuioFiducialEvent;
import org.tuio.TuioManager;
import org.tuio.gestures.*;
private var tc:TuioClient;
private var tm:TuioManager;
private var gm:GestureManager;
tc = new TuioClient(new UDPConnector("127.0.0.1", 3333));
tm = TuioManager.init(stage);
tc.addListener(tm);
gm = GestureManager.init(stage);
GestureManager.addGesture(new ZoomGesture(TwoFingerMoveGesture.TRIGGER_MODE_MOVE));
GestureManager.addGesture(new RotateGesture(TwoFingerMoveGesture.TRIGGER_MODE_MOVE));
GestureManager.addGesture(new DragGesture());
I am assuming that all of this code of initialization of TUIO & gesture protocols is taken care of by the GML & CML SWC files, so I don't need to do that again, or it may lead to a conflicting error. So all I need to do is add this line of code
stage.addEventListener(TuioFiducialEvent.ADD, fiducialAdd);
And then continue further from here.
Please let me know.
shaunmarsh
—
2015-07-29T23:50:58Z —
#10
The initialization of the tuio manager and connector is taken care of by the GestureWorks instance but the gesture manager is not.
glass
—
2018-05-30T15:40:40Z —
#11
This topic is now closed. New replies are no longer allowed.
glass
—
2018-05-30T15:40:42Z —
#12
This topic is now archived. It is frozen and cannot be changed in any way.