Animation using skeletons - Question

Animation using skeletons - Question

Postby leisenming » 14 Sep 2020, 05:47

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.
leisenming
 
Posts: 10
Joined: 11 Jan 2020, 20:53

Re: Animation using skeletons - Question

Postby GunChleoc » 14 Sep 2020, 08:27

I know that https://play0ad.com/ uses skeletons - looking at their Blender files might help.
User avatar
GunChleoc
 
Posts: 491
Joined: 20 Sep 2012, 22:45

Re: Animation using skeletons - Question

Postby leisenming » 15 Sep 2020, 06:42

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
leisenming
 
Posts: 10
Joined: 11 Jan 2020, 20:53

Re: Animation using skeletons - Question

Postby benau » 16 Sep 2020, 16:18

https://github.com/supertuxkart/stk-cod ... mation.hpp

Maybe spm file from stk will give you idea (it was created from scratch too)
Image
benau
STK Moderator
 
Posts: 345
Joined: 08 Dec 2015, 17:32

Re: Animation using skeletons - Question

Postby leisenming » 16 Sep 2020, 17:38

Hi benau,
Thank you very much for the source. I will go through it.
leisenming
 
Posts: 10
Joined: 11 Jan 2020, 20:53

Who is online

Users browsing this forum: No registered users and 1 guest

cron