eldrige

Hello ToAll,

I need some tutorials to programming facial and character animation. I think I have two chance to do this:

  1. I can make my character in a 3D application like Maya or 3DS Max, and then I can use animation keys to make an animation of my 3D object.
  2. Or I can make my 3D object without any animation, and then I can animate my object with directX / XNA api.

I would use the second option. So I can write a small XNA engine for animate any facial or character 3D object (speaking, laughing, crying etc.).

Are there any XNA API function to do this (or tutorials) Thanks.

leslie




Re: XNA Framework Facial / Character animation with XNA API?

Jon Watte

There is no XNA API to do this. You have to either export with bone animation, and write a bone animation importer/player for XNA (or get one from the web), or you can export as a morph target, and bind multiple vertex buffers to multiple streams, and blend between them using a vertex shader. In either case, you have to do this yourself; XNA doesn't have any particular help functions for it.





Re: XNA Framework Facial / Character animation with XNA API?

Rikerud

What about DirectX

I would also like to play animations on meshes, for example with tiny.x





Re: XNA Framework Facial / Character animation with XNA API?

Jon Watte

Managed DirectX has support for skeletal animation (skin+bones), but not animation for morphing animation. Look into the AnimationController class and LoadHierarchyFromX (if memory serves -- might be CreateHierarchyFromX or something similar).