Skeletal animations running in QML
-
Hi,
I wrote a tool that converts skeletal animations from Spine by Esoteric Software http://esotericsoftware.com/ into native QML Items and animations. Currently it can munch the json format provided in the Spine examples and output these. Have a look.
"The Dragon":https://www.youtube.com/watch?v=jizHTY3FRvI
"Spineboy":https://www.youtube.com/watch?v=YljkMiLIE30
"Goblins":https://www.youtube.com/watch?v=Kqxzyz_XgtMSeems the Goblins got some annoying recording artifacts, but you get the point. They run smoothly.
It uses a bone transform structure that makes it possible to draw all the items in any order although, they are using a kind of tree structure for the transforms.
-If you are interested, I could clean up the code and publish it later.-
Here is the project:
"spine-qml-converter":https://github.com/vmatikainen/spine-qml-converter -
This is really cool, any chance of seeing a similar converter for 3D rigs output from e.g Blender in the future?
-
Who knows, I myself don't have any intentions towards that. I will probably next look into mesh transformations that are very neat in Spine.
-
Nice !
Thanks for sharing :)