Forums > MaxMSP

Max, kinect and animata

December 5, 2011 | 11:57 pm

I am using the windows SDK and this OSC program:

… and the patch below to control a skeleton in Animata

My problem is that the skeleton I get in animata is all mangled up and I assume it is because of how my patch is built (I know it is no masterwork btw :) _ I am wondering if anyone has tried to do something similar and – maybe someone has a patch that they have used with animata?
- or if someone can point out to me what is wrong with my calibration in the patch

– Pasted Max Patch, click to expand. –

All the best

December 6, 2011 | 8:30 am

Probably best to do the scaling yourself rather than with f0.auto_scale. What is coming out of KinectOSC? Not used it but possibly it uses screen coordinates and Animata uses pixel co-ordinates, so you would need to scale 0. 1. to 0 640 and 0. 1. to 0 280, but just guessing…Maybe KinectOSC has option to send screen or pixel co-ords?

December 6, 2011 | 8:58 am

Out of interest, why are you going through Max anyway? Personally I use Osceleton to send Kinect generated OSC straight to Animata. It has the option to send in screen or pixel co-ords (which Animata uses) and you can add an offset and filters too. If you are tracking a single user then Synapse is good and if you particularly want to do this in Max and you are on Windows then maybe check out jit.openni.

December 6, 2011 | 9:14 am

The reason is that I am using the windows SDK drivers, and Osceleton works with the OpenNi drivers

Last time I checked you can´t have both sets of drivers installed?

For my money the windows SDK drivers are more comfortible to use because you don´t need to wait for the kinect to calibrate to a the arms up position like with Nite and openNI

Scaling 0. 1. to 0 640 and 0. 1. to 0 280, sound like a likely explination – Ill check that out – and Ill discard the autoscaling

Thanks alot :)

December 6, 2011 | 9:36 am

I understand, but you still don’t need Max to send OSC straight from KinectOSC to Animata? There might be a reason if KinectOSC only uses screen co-ords, but your patch could be a lot simpler in that case.

Viewing 5 posts - 1 through 5 (of 5 total)