Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. Skeletal animations running in QML
Qt 6.11 is out! See what's new in the release blog

Skeletal animations running in QML

Scheduled Pinned Locked Moved Showcase
4 Posts 3 Posters 3.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vmatikainen
    wrote on last edited by
    #1

    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_XgtM

    Seems 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

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ayberkozgur
      wrote on last edited by
      #2

      This is really cool, any chance of seeing a similar converter for 3D rigs output from e.g Blender in the future?

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vmatikainen
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Nice !

          Thanks for sharing :)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved