Click here to Skip to main content
15,888,323 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am currently working on a Kinect application which allows recording of movements then later be played on an Avatar in XNA.
I know that the movements captured from the Kinect must be adjusted first and be converted to Matrices as bone transformations before applying it to the Avatar Model.
I came across this project and somehow understand how it must be done. http://msdn.microsoft.com/en-us/library/jj131041.aspx#CommunityContent
I can now successfully store these movements into XML and be played by an Avatar Model.

Another feature of the application I am currently working is, while the Avatar Model is performing the saved movements from my XML file I need to compare a player's live movement which is captured from the Kinect.
My idea is I will compare the movement of the Avatar and the player's movement every second on the fly, however I can't figure out how would I compare the Matrix movements of the Avatar to the Kinect's bone position which is in Vector (X, Y, Z).

Any help would be very much appreciated. Thanks! :D
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900