All joking aside I think I am definitely very close to having this animation nailed. The final problems are more than likely just due to some matrices being transformed in the wrong order. I am hoping to get this polished off as soon as.
Peace :)
I have had a couple of break through's in the past week, finding some major bugs in various parts of my code. Firstly not all the bones were being gathered correctly from the importer. The per frame calculations were off and I believe they still are slightly. Finally and probably the hardest to track was that the bone data was not being passed to the shader correctly. After fixing these few issues I am pretty close to having this animation finished. At the moment the character is loaded and does move frame by frame the only problem is that the character looks slightly different, see if you can spot it: Can you see it yet?
All joking aside I think I am definitely very close to having this animation nailed. The final problems are more than likely just due to some matrices being transformed in the wrong order. I am hoping to get this polished off as soon as. Peace :)
0 Comments
It is about time I put an update about what I have been getting upto. In the squash game I have currently been working on implementing full skeletal animation so that I will be able to use full character models for the players rather than just a racket. I think once this part is implemented and I have got some decent models moving around the court it will start to look quite impressive and will really allow me to progress much further with the game play aspects of the game.
I have had to take a pretty in depth look into the way in which animation works and specifically how Assimp imports all the animation data. This has taken a lot longer than I first thought. firstly getting my head around how Assimp imports and then deciding a good way to represent that in my code to allow for flexibility. I am finally at a point where all the animation data has been imported successfully and I have new classes to represent this data such as: Animations, Bones, KeyFrames. I have also added all the per vertex weights for the bone data. The part that I am currently working on is performing all the bone transformations per update and then using that in the shader to move the mesh. This is taking me longer than I originally thought but I am hoping to get it nailed pretty soon. I will upload a video of the animation as soon as it is done. I may optionally provide a tutorial to show other Assimp users how to gather all this animation data from a loaded model. Keep it Easy :) |
Archives
May 2020
Categories
All
|