Mapping kinect joints to my avatar RRS feed

  • Question

  • I have loaded a 3D model of a human figure(AVATAR) on to the c# form,now i want to connect the joints provided by kinect to the joints on the 3D Model,am using .net 4.0 and c# as my coding language.
    Thursday, December 8, 2011 9:54 AM

All replies

  • The way I would go about this is to take the angle of a joint (for instance the left knee would be the angle between the left-hip-to-left-knee vector and the left-knee-to-left-ankle vector). Set the resulting angle as the wanted angle and then just gradually Math.Lerp(...) towards it from the actual angle.

    The more joints supported the better it will look.

    • Proposed as answer by ykbharat Sunday, May 6, 2012 12:27 PM
    Thursday, December 8, 2011 11:04 AM