Page 1 of 1

Raw TUIO cursors through OSC

Posted: 17 Apr 2012, 11:34
by schub
Hi

Is there a way to access raw TUIO cursor postions in Ventuz?
Maybe through the OSC Input node? The first 1 or 2 cursors would be enough.
I could not get it working with address "/tuio/2Dcur" @ port 3333 and a 'set' string for output :(

I need this for the combination of a Paint node with some 'checkpoints' (which i would realize with cursor positions and HitTest node).

If I use an OSC bridge, either the external app can receive the TUIO data or Ventuz, whichever was started first.
As far as im informed about UDP, only 1 application can listen to a specific port.
If the TUIO device could stream to multiple ports it may work, but its driver does not give any options on that.

Any suggestions in this issue?
Thanks in advance!

Re: Raw TUIO cursors through OSC

Posted: 18 Apr 2012, 18:42
by TobiTobsen
Might be a coincidence but I improved my TUIO-Transformator to provide this function cause some friends asked for that feature. I'll upload it soon, little bugfixing to do.

Re: Raw TUIO cursors through OSC

Posted: 19 Apr 2012, 09:48
by schub
Nope, i work for them actually :P

The new version works great, thanks!
I just figured out that OSC values can't be adressed like independent variables, but similar to an array where the order of the Custom Outputs is responsible for allocation, if one part is left out, the rest will be shifted.