I m trying to create an application for virtual dressing.The sdk i m using is SDK 1.8 and the IDE is VS 2012..

Currently I m using direct2d mechanism for displaying the video and a 2d image of the t shirt.But the look and feel is not as what is expected.The outfit doesn't match the body outline .

When I searched for information regarding this I got to know that there are body mesh algorithms.I m not sure on how to use them on the person being tracked using kinect and display the image.How do I implement the mesh algorithm in vc++ and how do I use this mesh information and calibrate the 2d attire I have and superimpose it on the person in the live video.

How do I implement this sort of an application.?