6Jun/1018
Release 0.7
A little later than planned and probably a bit on the buggy side.
Nevertheless here it is with a bunch of shiny new features:
- GestureManager: Gestures based on native GestureEvents + a system to easily create new gestures (-> have a look at this post which explains how it works). Currently a very simple rotate and scale gesture are included.
- Native TouchEvents: are handled like MouseEvents and are dispatched alongside the original TouchEvents if TuioManager.dispatchNativeTouchEvents is set true. There is currently still some kind of namin mixup with the "TouchEvents" but this will be resolved in the next release.
- UDPConnector: For AIR2.0 only
- TCPConnector: now supports binary streams without the additional int. Although this could cause problems with very complex/nested OSCBundles.
- Fiducials: Thanks to Johannes Luderschmidt
- Windows7Touch to Tuio: (commited by Johannes Luderschmidt) - pretty much native TouchEvents to tuio TouchEvents
- Mouse to Touch: (commited by Johannes Luderschmidt) - for easier testing without the need of a touch setup
- Debug utilities: (commited by Johannes Luderschmidt) - for easily creating touch indicators
That's all for now folks.
The next release will be all about performance, a propper asdoc and fixing bugs <.<
I'll also clean up the articles in the guides section so that they fit the 0.7 release.
Since there are no demo files in the 0.7 release yet I'll post a little AIR2.0 Project which will demonstrate the GestureManager after I have cleaned it up.
Have fun trying out the new release and let me know what you think.
June 13th, 2010 - 17:34
Hey,
This looks like an interesting lib, but I cant get it to work. I get a message that I”m connected but am unable to trace the incomming message. Could you provide a basic setup example for an UDP connection that traces the incomming events?
That would help me a lot
Laurent
June 14th, 2010 - 10:15
Mh you could add a trace statement to the UDPConnector in org.tuio.osc.OSCManager.acceptOSCPacket() that looks like this:
trace(oscPacket.getPacketInfo());
that should trace the content of the received packets.
June 16th, 2010 - 03:03
Can you explain the ‘Native TouchEvent’ some more? By ‘native’, do you mean the new native API for TouchEvents in flash/as3? Or do you mean something else? I’m looking for a TUIO to ‘native’ flash TouchEvent dispatcher and curious if that’s what you mean. Ideally, using the new native as3 events in would be the ideal way to move forward with creating any type of framework since that’ll allow standardization across TUIO and native event devices.
June 16th, 2010 - 15:41
Yes exactly. “Native” means the native API. Though it basically is just hijacking of the flash.events.TouchEvent class and using it to dispatch touch events on the stage. There is no guarantee that those touches behave the same way as really native ones do (albeit I’ll try to improve that) and also stuff like startTouchDrag(…) doesn’t work.
June 18th, 2010 - 11:48
Does this library work only with Flash Player 10?
I have Flash CS3 and the compiled output is in player 9.
June 18th, 2010 - 12:22
I placed the org.tuio folder where my flash actionscript class files are kept.
Even then if throws error when i try to compile the code you have given in example.
if i add import org.tuio.* statement in the beginning of my class file it throws error saying Access of undefined property flash
can you please help me with this.
June 18th, 2010 - 19:10
Yes the library requires Flash 10.1 since this release.
Could you give me the full error msg please? But I’d say it is because you try to compile the project as flash9 movie and that won’t work.
June 21st, 2010 - 13:42
hey just wondering if the udpconnector is faster than the lcconnector? cheers.
June 21st, 2010 - 21:17
OneDownOneMoveGesture references GestureStepGroup which seems to be missing.
June 21st, 2010 - 22:05
@trent: The UDPConnector should be faster since you’ll probably use the LCConnector with a bridge.
@Matt: yup that bug is already fixed on the svn and I’ll probably update the downloadable packet this week. If you want to use the class just replace the GestureStepGroup with GestureStepSequence. I did some last minute refactoring before the release but missed that class :/
June 22nd, 2010 - 00:43
thanks gimmix!
any plans to have the TuioManager dispatch FiducialEvents in the same way as it dispatches TouchEvents?
It would be useful to be able to add a listener to a DisplayObject to receive Fiducial input if a marker is placed over it on a table.
June 22nd, 2010 - 11:52
That is basically what the TuioFuiducialDispatcher is for but I get your point. It will not be in the TuioManager but maybe I can get the guy who implemented the current fiducial stuff to make a FiducialManager ;D
June 22nd, 2010 - 16:59
That would be greatness!
Do you guys let others commit to your svn or is there a place to add small requests like adding clone() methods to the custom events?
June 22nd, 2010 - 18:05
Well you can send me an email with a wishlist or send me already modified files with a description what you changed and I’ll try to merge it.
Though the main idea of this library is to be more like a keystone for a custom tuio based project than a do it all library. So I am trying to add only really useful stuff and not too much comfort stuff
On the clone function request just write me an email on what you would like to achieve with it and what it should do in detail and I’ll see if it is easily implemented.
June 22nd, 2010 - 21:27
Im not having much luck getting the TuioFiducialDispatcher to work using either the callbacks or dispatched events. Do I need to do anything special to get the dispatched events to work outside of call TuioFiducialDispatcher.init(…);?
June 22nd, 2010 - 21:37
Yes you have to add it to the TuioClient as listener somehow like this:
yourTuioClient.addListener(TuioFiducialDispatcher.init(…));
August 3rd, 2010 - 23:56
Hey, been having loads of fun with this last couple of months. I’m having some issues with the new Gestures though. We have a large table which would have more than 1 user. Moving multiple objects is fine, but when more than 1 person tries to scale/rotate only 1 works. Any tips?
August 14th, 2010 - 22:43
Mh gestures should work for multiple persons. Which tracker are you using? Sp I can try to reproduce the problem.