AS3NUI/AIRKinect — Issue #1: Overlay skeleton data on top of camera image
Author: imhoffj
Created: 2011-11-23 03:22:10+00:00
State: open

"Hi I finally got the AIRKinect native extension working on Flash Develop. I’ve been playing with it non-stop this whole evening.
One thing I can’t accurately do is to overlay the skeleton directly on top of the camera image. I’ve been trying to figure it out but the z position and scale always seems a little off.
I have a 800×600 camera image, and I’m using SkeletonPosition.TRANSLATION_MODE = SkeletonPosition.DEPTH_CAMERA_TRANSLATION_MODE; All x and y values of skeletonPosition elements are multiplied by 800 and 600 respectively. But I’m having problems with z and scale values.
I’ve checked the ASDocs and found this line:
var scaler:Vector3D = new Vector3D(stage.stageWidth, stage.stageHeight, KinectMaxDepthInFlash)
but I don’t know how to get KinectMaxDepthInFlash.
Hope you could help me out. Thanks!
Really looking forward to updates "

- Jet