Skip to main content
GameDev.net gamedev.net
🔒 Locked

Skeletal Animation in C++

Started by beedge19 Nov 7, 2022 at 10:43 PM 4 replies 7.5k views
Original Post
beedge19
beedge19

Hello All,

I'm looking to find resources on implementing skeletal animation in C++, preferably with OpenGL but DirectX would be fine as well. Was wondering if anyone has a list of good or favorite learning materials. They could be books, videos, online tutorials, anything really would be appreciated.

Thanks!

None
PAM79
PAM79

Frank Luna's book is a good starting point since it explains the math behind skeletal animation very well, and it also implements a demo without using external libraries, which always add complexity.

Then, you can take a look at other interesting resources such as

https://ogldev.org/www/tutorial38/tutorial38.html​

Game Engine Architecture (Jason Gregory)

Vilem Otte
Vilem Otte

Fairly good resource is:

https://learnopengl.com/Guest-Articles/2020/Skeletal-Animation​

The forementioned one from ogldev is also a great resource, although with slightly less explanation than the learnopengl one. Another (although a bit older) one was here:

https://www.3dgep.com/gpu-skinning-of-md5-models-in-opengl-and-cg/​

Personal note: Have a reference implementation somewhere near your hand that you can debug. Why? Simply because you may want to output and compare all transformation matrices in case you hit a problem. Also make sure you have simple skinned and animated mesh for testing.

8Observer8
8Observer8

I really like this video tutorial, but it's in Java. You can try translating the code to C++:

OpenGL Skeletal Animation Tutorial #1

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.