How can I load morph animations using Assimp? #5744
-
|
I'm having trouble loading morph animations using Assimp. I've been looking into the aiAnimation structure and noticed the mNumMorphMeshChannels member, but I'm unsure how to use it to extract and animate the morph data. Could someone please point me in the right direction? Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I haven't used them right now. However, the common concept behind it is the same as the concept of skinning. YOu have a list of affected vertices in your mesh. In the update you just neet to check which vertices are used, interpolate them for the given time, and update the position and their texturing in the shader. |
Beta Was this translation helpful? Give feedback.

I haven't used them right now. However, the common concept behind it is the same as the concept of skinning. YOu have a list of affected vertices in your mesh. In the update you just neet to check which vertices are used, interpolate them for the given time, and update the position and their texturing in the shader.
I am currently improving the new assimp viewer for animation, because most of the animation stuff was not written by me. Hopefully, I will be able to help you more in the next months.