Sign in to follow this  
Kai Fu Chang

Skinned meshes are displayed unexpectedly

Recommended Posts

As title. I've tried to practice a skeletal animation with skinned meshes. The frames are hierachical and there is only one skinned mesh with texture mapping. The model is a human body. Here is the problem. All parts of the body are transformed into wrong positions in the way that they all seem to be in the positions close to the world (global) origin, such as paints, sleeves and the head. I completely have no idea what's going on! The executable I've tried to run comes from the Chap 04 example of the book, "Advanced Animation With DirectX (Premier, 2003)" by Jim Adams. I have already fixed some bugs coming from different SDK versions.(Mine is released in April 2006) So, could anyone who have tried these examples of the book code successfully tell me what more should I do to fix this problem? Thanks. Here is the book code. http://www.csie.ntu.edu.tw/~b91118/AdvacedAnim%5b1%5d.WithDirectXcd.zip And here's my fixed code http://www.csie.ntu.edu.tw/~b91118/Chap04.rar [Edited by - Kai Fu Chang on June 11, 2006 4:58:57 PM]

Share this post


Link to post
Share on other sites
As I could remember, that book is very famous about its problematic sample.
I am sorry i don't have time to check your code but i believe the following link with working code sample will help you a bit.

http://www.toymaker.info/Games/html/load_x_hierarchy.html

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this