(this post is sub-titled “what I leant yesterday”)
edit: it is no more or less redundant as the jitter object now provides a more direct route ( see: http://cycling74.com/forums/topic.php?id=29469 ). But I will leave this up incase it is still helpful to anyone (and most of all for my own reference)
A quick rundown of getting the kinect’s depth map image into max via a series of intermediary steps. (OS X only)
here is a link to the final app that the following should produce –>http://miscellanea.com/downloads/kinectSyphonApp.zip
This is based on a bringing together a number of suggestions and implementations and is simply a step by step to bringing these together. (usual caveat : these are the tinkerings of an artist so they probably do not represent best practice…)
my main references in making this work are as follows:
* http://cycling74.com/forums/topic.php?id=29469
* http://www.openframeworks.cc/forum/viewtopic.php?f=14&t=4947
and
* http://www.openframeworks.cc/setup/xcode
This breakdown is for people like me, who before yesterday had never touch openFrameworks.. it works for me..
1. follow the openFrameworks install and setup instructions here… http://www.openframeworks.cc/setup/xcode
2. check out the Syphon ย source code from its google code repository. Do this through the Terminal application. open the Terminal application and type the following
cd svn checkout http://syphon-implementations.googlecode.com/svn/trunk/ syphon-implementations-read-only
3. wait while the Syphon code downloads. Then look in your home directory and open the folder called “syphon-implementations-read-only”.
4. In the folder Syphon Implementations/OpenFrameworks/addons you will find a folder called “ofxSyphon”. Copy this to the “addons” folder in the top level of your OpenFramworks directory.
5. Download the following file, which is a combination of the Syphon openFrameworks example (the original of which you can find in your “syphon-implementations-read-only/Syphon Implementations/OpenFrameworks/apps” folder) and the OpenFrameworks ofxKinect-updated.zip example to be found here: http://www.openframeworks.cc/forum/viewtopic.php?p=24948#p24948
–> http://miscellanea.com/downloads/KinectSyphon.zip
6. Unzip this file in your openFramworks/apps/addonsExamples directory, then open the “KinectSyphon” folder and open the “kinectSyphon.xcodeproj” file which will open the project in XcCode.
7. Make sure your Kinect is plug in and then press the build and run button. If all goes well after a short time and only a warning or two from Xcode, a window will open called “kinect syphon server” and it should display the kinects depth image in real time. It is sending out a Syphon server stream called “Kinect Depth Image” which you can grab in max/msp/jitter using the jitter syphon implementation found here [ http://syphon.v002.info ] and start to play with the matrix…and also play with the code in openFrameworks
Ah..thanks so much for this…I was thinking about trying to tackle the oFx riddle tomorrow since i’ve never really used xcode before but this helps a lot..thanks!
sadly this doesn’t seem to work with open frameworks 007.