Page 1 of 1

Animation using skeletons - Question

PostPosted: 14 Sep 2020, 05:47
by leisenming
Hi,

I have a web based animation editor. I create the sprites manually. So for a walk cycle, I create about 10 frames. As time has gone by, the number of characters have increased. I am now wondering if it may be worth it to introduce skeletons. So, I create the 10 frames for the skeleton walk cycle and develop code to create the character animations based on these skeletons. So if I introduce 20 characters, I just rig the skeleton properly in the character and run the code to create animations for the 20 characters.

Anyone have experience with this? Questions I have:
Are there existing open source libraries that can do this?
If not, how do I handle the movements of the limbs? Currently they are all in svg. Say the elbow bends with a certain arc, in the movement how would I modify this arc?
Anything else I need to pay attention to?

Hopefully, what I wrote is clear. If not, please let me know.

Re: Animation using skeletons - Question

PostPosted: 14 Sep 2020, 08:27
by GunChleoc
I know that https://play0ad.com/ uses skeletons - looking at their Blender files might help.

Re: Animation using skeletons - Question

PostPosted: 15 Sep 2020, 06:42
by leisenming
Hi,
I want to implement the skinning on my own software, so I am looking to either modify existing opensource stuff or just write it myself. Here is something I found but the description is so so. https://blog.tensorflow.org/2020/05/pos ... -life.html

Re: Animation using skeletons - Question

PostPosted: 16 Sep 2020, 16:18
by benau
https://github.com/supertuxkart/stk-cod ... mation.hpp

Maybe spm file from stk will give you idea (it was created from scratch too)

Re: Animation using skeletons - Question

PostPosted: 16 Sep 2020, 17:38
by leisenming
Hi benau,
Thank you very much for the source. I will go through it.