2 of 2
2
Cocoa OSC and TUIO questions
Posted: 23 July 2008 12:52 PM   [ Ignore ]   [ # 16 ]
Jr. Member
Avatar
RankRank
Total Posts:  102
Joined  2008-06-26
Martin Kaltenbrunner - 23 July 2008 11:41 AM

Hello,
I just took the time and quickly updated my TUIO Quartz Composer patch and added it to the TUIO/reacTIVision CVS on sourceforge.
As I said before, this is based on the latest TUIO C++ client with some minor Objective C wrappers in order to embed it into the Quartz Composer plugin.
If any more experienced Cocoa programmer has some suggestions, please let me know, since I did that rather quickly some time ago for a group of students.

have fun,
Martin.K

Chapeau! That is great Martin…

I have checked out the new files from CVS and compiled the TUIO Quartz project fine. Just having a big problem: QC shows me apperently the old plugin - no matter what i’m doing! I have deleted everything from the Lybrary/Graphics/Quartz Plugins foldder but no chance.... Even there is NO PLUGIN at all, QC will show me the TUIOplugin (i suppose the old one)… Jezzzzz i’m getting mad wink)

Any clue someone?

Regards

 Signature 

Sandor Rozsa
--
corporate design cologne
http://www.cd-cologne.de

Profile
 
 
Posted: 23 July 2008 12:57 PM   [ Ignore ]   [ # 17 ]
Jr. Member
Avatar
RankRank
Total Posts:  179
Joined  2008-06-04

Larky i have put the patch from kineme in Mac HD /Graphics/Quarts composer Plug-ins

So it should do stuff in QC Right?  It appears as a patch in the creator and has no category it between transition flash and transition mod.

Any chance you could email me your version on pretty please with sugar on top :D

 Signature 

}---)))@

Profile
 
 
Posted: 23 July 2008 01:18 PM   [ Ignore ]   [ # 18 ]
Jr. Member
Avatar
RankRank
Total Posts:  102
Joined  2008-06-26

Sorry - That was hard ;-(( I found the problem - it was my failure.... I have put the old TUIO client plugin in the source directury - that was causing the trouble… now i’m gonna play a bit with the new one… Sorry for inconvenience!

 Signature 

Sandor Rozsa
--
corporate design cologne
http://www.cd-cologne.de

Profile
 
 
Posted: 23 July 2008 01:27 PM   [ Ignore ]   [ # 19 ]
Jr. Member
Avatar
RankRank
Total Posts:  179
Joined  2008-06-04

sandor how are you using the TUIO_CPP Client in QC?

 Signature 

}---)))@

Profile
 
 
Posted: 23 July 2008 01:37 PM   [ Ignore ]   [ # 20 ]
Jr. Member
Avatar
RankRank
Total Posts:  102
Joined  2008-06-26
ajlovegrove - 23 July 2008 01:27 PM

sandor how are you using the TUIO_CPP Client in QC?

aj,

i compiled and installed the TuioClient.plugin for QC from the sourceforge repo. Now i am getting a new plugin inside QC - the TUIO plugin. Unfortunatly i’m also stucked now with that. The plugin has 3 parameters - the UDPport (set at 3333) as input, and a param. named “Cursors” and “Objects” as output. I’m affraid that we need some hints from Martin (or from some experienced guru) who can explain how to connect thes things right… I would be glad if i could run a test with the TUIOsimulator....

 Signature 

Sandor Rozsa
--
corporate design cologne
http://www.cd-cologne.de

Profile
 
 
Posted: 23 July 2008 07:18 PM   [ Ignore ]   [ # 21 ]
New Member
Avatar
Rank
Total Posts:  24
Joined  2008-06-16

hello again,
I managed to create a now hopefully crash free version, and the CVS now also includes a working example patch.
Basically the PlugIn has two outputs for TuioCursors and TuioObjects and one input for the UDP port.
The two outputs always hold lists (structure) of the current object parameters which are also structures.

I hope this works for most of your,
Martin.K

 Signature 

reacTIVision framework: http://reactivision.sf.net/
TUIO protocol specification: http://reactable.iua.upf.edu/?tuio
reacTIVision & TUIO CVS: http://sourceforge.net/projects/reacTIVision

Profile
 
 
Posted: 24 July 2008 03:03 AM   [ Ignore ]   [ # 22 ]
Jr. Member
Avatar
RankRank
Total Posts:  102
Joined  2008-06-26

Holla Martin!

great news. The new plugin copiles fine. Also the OSX TUIO demo. This one works also fine with the simulator and BBTouch. But sorry for my ignorance: where do i can find the working example patch? I have searched arund but found nothing… I’m sure that is my failure tough wink

TIA

 Signature 

Sandor Rozsa
--
corporate design cologne
http://www.cd-cologne.de

Profile
 
 
Posted: 24 July 2008 03:16 AM   [ Ignore ]   [ # 23 ]
New Member
Avatar
Rank
Total Posts:  24
Joined  2008-06-16

Hello, the file “TuioDemo.qtz” is a tiny demo for Quartz Composer.
I’d like to add that all this is for Leopard only.
best,
Martin.K

 Signature 

reacTIVision framework: http://reactivision.sf.net/
TUIO protocol specification: http://reactable.iua.upf.edu/?tuio
reacTIVision & TUIO CVS: http://sourceforge.net/projects/reacTIVision

Profile
 
 
Posted: 24 July 2008 03:23 AM   [ Ignore ]   [ # 24 ]
Jr. Member
Avatar
RankRank
Total Posts:  102
Joined  2008-06-26

Martin, you are the one! Well that’s what you get if you start your day without enough coffeine… Thanks man - gonna play now wink

 Signature 

Sandor Rozsa
--
corporate design cologne
http://www.cd-cologne.de

Profile
 
 
Posted: 24 July 2008 04:05 AM   [ Ignore ]   [ # 25 ]
Jr. Member
Avatar
RankRank
Total Posts:  179
Joined  2008-06-04

Thankyou kind sir i will check this out at lunchtime! Yum yum.

 Signature 

}---)))@

Profile
 
 
Posted: 24 July 2008 08:13 AM   [ Ignore ]   [ # 26 ]
Jr. Member
Avatar
RankRank
Total Posts:  179
Joined  2008-06-04

Hmmpf how do i download stuf from the CVS repo?

 Signature 

}---)))@

Profile
 
 
Posted: 25 July 2008 02:12 PM   [ Ignore ]   [ # 27 ]
New Member
Rank
Total Posts:  84
Joined  2008-05-17

Hmmpf how do i download stuf from the CVS repo?

The instructions are here:

http://sourceforge.net/cvs/?group_id=153998

this is how I did it:

open up terminal

go to wherever you want to download it at (like ~/reactivision)

type in:

cvs -d:pserver:anonymous@reactivision.cvs.sourceforge.net:/cvsroot/reactivision login

It’ll ask for a password, just hit enter.

then type in

cvs -z3 -d:pserver:anonymous@reactivision.cvs.sourceforge.net:/cvsroot/reactivision co -P TUIO

If you want reactivision instead of the TUIO files, replace TUIO in the last line with reacTIVision

 Signature 

Nuigroup wiki

Profile
 
 
Posted: 25 July 2008 04:35 PM   [ Ignore ]   [ # 28 ]
Jr. Member
Avatar
RankRank
Total Posts:  179
Joined  2008-06-04

Thanks, I thought it should be v similar to an svn checkout but source forge was going on about using a cvs client, so i tried a few and got very confused! Fortunately Sandor was kind enough to mail me the stuff i wanted.  But its good to know i can gain access through the terminal.

 Signature 

}---)))@

Profile
 
 
   
2 of 2
2