I have some problems with skinning. Skinning in my app is based on DX SDK sample SkinnedMesh, hlsl skinning. The main problem is following: Some of my models work fine just like they should, but some doesn't. I really don't know what the difference between these models is because i created all of them in the same way.
About these wrong models: It appears that in normal state only one bone plays its animation and moves the entire model with it. Also in one case happens that some of its vertices are dragged somewhere into infinity (idk how to describe it, i will add img).
This happens when camera is behind player and player rotates around y-axis. When camera is placed inside player (1st person ) this problem doesn't occur. I don't switch between 1st and 3rd person camera.
I also wanted to add video of this problem but when i started to record with fraps vertices stopped to fly away.
Question is: is something wrong with my models(i downloaded some free animated models from internet and they worked fine)
Or should i adjust the code to draw these "broken" models. (if yes, how)
In zip file are 3ds max and x files of 2 working models and 2 broken models.
No replies to this topic