Trying out the very awesome OSCeleton http://github.com/Sensebloom/OSCeleton with Quartz Composer.
What is OSCeleton?
“As the title says, it’s just a small program takes Kinect skeleton data from the OpenNI framework and spits out the coordinates of the skeleton’s joints via OSC messages. These can can then be used on your language / framework of choice.”
It works straight out of the box with Animata and many other software, but the OSC formatting is not compatible with Quartz Composer. So I made a little Max/MSP patch that converts the messages to a format QC understands. I will try to write a tutorial about how to get the whole thing running pretty soon. But here is a quick rundown.
- Install OpenNI http://www.openni.org/downloadfiles/openni-binaries/20-latest-unstable
- Install KinectSensor http://github.com/avin2/SensorKinect
- Install NITE http://www.openni.org/downloadfiles/openni-compliant-middleware-binaries/33-latest-unstable
- Download OSCeleton http://github.com/Sensebloom/OSCeleton
- Download my OSCeletonToQC Max/MSP app and open it. (I think you need to install the Max Runtime from http://cycling74.com/downloads/)
- Dowload my QC example and open it
- Run OSCeleton with this command:
./osceleton-osx -p 8110 -mx 2 -my -2 -mz -1 -ox -1 -oy 0.75 -oz 1 -a 127.0.0.1
The options are to scale the values to something that makes sense in QC. You can play around with them. Check the OSCeleton readme for more information about the different options.
Let me know if the Max/MSP app or something else is not working properly.