共用方式為


Reallistic Human Movements in Silverlight - My Own Motion Capture Viewer!

Hoho! yes! How to make reallistic human movements in Silverlight? 

Check out this stickman animation demo here: https://www.nokola.com/mocap.html

Download source code for the above sample in the attachments to this post below.

You're looking at 3D realtime animation of stick man figures using motion data found on the internet.

The motion capture viewer took me the whole day yesterday - still nothing compared to doing these animations manually frame by frame.

As a start, you need movement data (motion capture or mocap data). You can find a lot of that online. This site https://sites.google.com/a/cgspeed.com/cgspeed/motion-capture/3dsmax-friendly-release-of-cmu-motion-database contains thousands of human motions - e.g. jump, punch, kick, wash windows, mop floor, and other.

I used the .BVH files - they have a short description of the skeleton being animated (joints, head etc) as well as rotational information (e.g. "wrist should be rotated at 50 degrees at time X")

Since this is a work in progress, I'm just publishing this quick blog post - more info will come later, because I want to make the animations transition into each other.

In the future I'll talk about the motion capture file formats and some challenges I faced (and are still facing!) implementing the above sample.

Here's a quick overview of motion capture from Wikipedia: 

"Motion capture, motion tracking, or mocap are terms used to describe the process of recording movement and translating that movement onto a digital model. Initially invented in Scotland, it is used in military, entertainment, sports, and medical applications. In filmmaking it refers to recording actions of human actors, and using that information to animate digital character models in 3D animation. When it includes face, fingers and captures subtle expressions, it is often referred to as performance capture."

https://en.wikipedia.org/wiki/Motion_capture

Motion capture is used in games, movie special effects, and now in demos like the one above :)

 

MocapView.zip

Comments

  • Anonymous
    May 26, 2009
    PingBack from http://asp-net-hosting.simplynetdev.com/reallistic-human-movements-in-silverlight-my-own-motion-capture-viewer/

  • Anonymous
    May 27, 2009
    Woot! Please continue to share. This is great!

  • Anonymous
    May 28, 2009
    That is some really great stuff. Please continue to post updates. Thanks

  • Anonymous
    May 29, 2009
    Nikola, previously on showing his Shock game , is back with a new interesting project, a Motion Capture

  • Anonymous
    August 09, 2009
    Nice. I would love to incorporate your ideas into what I am doing. Maybe in another year.   If you would like to see an example of WriteableBitmap used to track movement in sports videos, go to: http://www.CoachMeSports.com?xamlID=55d766d0-aaca-4172-8e00-1aea8c7da5b0 I built the site when I became physically impaired  but I wanted to continue coaching...so now I do it virtually -- over the Internet.

  • Anonymous
    August 10, 2009
    Hi Bruce, great job! I saw your site. The idea and implementation seem pretty nice! Maybe I'll learn some martial arts from it someday... Thanks, Nikola