I have this code snippet:
pp.QueryGeoNode(side|gesture, out gestureData);
pos = handImage.MapCoordinates( gestureData.positionImage );
pos.z = gestureData.positionWorld.y;
where MapCoordinates maps image coordinates on world coordinage using:
Vector3 pos2=sceneCamera.ViewportToWorldPoint(new Vector3((float)(handImage.width-1-pos1.x)/handImage.width,(float)(handImage.height-1-pos1.y)/handImage.height,0));
pos2.z = 0;
now, I really have issues with the Z coordinate. X,Y of my 3D model representing the hand rally follow the XY from the image. But the Z seems to be always the same. in my 3DWorld the Z corresponds to the Y in CameraCoordinate system (as per documentation of the Intel SDK). I would love to seem my fingers going backward and forward when I move my hands accordingly but this is not happening. Many thanks!.