Max, kinect and 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. –

Copy all of the following text. Then, in Max, select New From Clipboard.

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?

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.

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.