Here is "Managed DirectX 1.1 to XNA Framework (Beta)". This document shows that all features about meshes and animation were not implemented in XNA. This spec is smart and excellent, but it addles not only MDX developers but D9X developers also.
For standard process, animation components library already has been released.
But, developers have to understand XNA and implement skin mesh. I hear that the default .X importer in XNA does import only basic parts of a model. Does it not import hierarchies and a weights?
Bones, weights and hierarchies are important. If developers take a method to divide animation data from .X, importer doesn't need to import animation data. The default importer may be enough spec in this case.
It's important to research the spec of the default .X importer. I began it. My search procedure was the following;
- Program a simple model viewer with the default .X importer which makes a Model class instance.
- Load Mr,Tiny having animations. And, break in the process.
- Check a data by debugger's viewer.
- 49 Bones and 1 Mesh. But, tiny.X defines only 48 frames. This is meaning that the default importer defines a new bone.
- Bones keep their name, their offset transform matrix and correct hierarchies.
- The mesh is tied with Bone[3] which is the fourth frame, but tiny.x defines the mesh inside the third frame. In other words, the default importer makes a new bone when it encounters a mesh.
- The new mesh is a child of the third frame.
No comments:
Post a Comment