Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Qt3D Animations?
Forum Updated to NodeBB v4.3 + New Features

Qt3D Animations?

Scheduled Pinned Locked Moved Game Development
4 Posts 3 Posters 4.2k 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.
  • 0 Offline
    0 Offline
    02JanDal
    wrote on last edited by
    #1

    Hello,

    Qt5, checked out from git with the standard options can almost be used as a game engine, according to me at least. Some common components most 3D game engines have:

    • Lowlevel classes like QString, QList/QVector/QMap etc.
    • Networking classes, both for TCP and UDP
    • GUI classes. It should not be to hard to render Qt GUIs to OpenGL (Qt3D)
    • Input classes (no joystick yet, tough)
    • Threading classes
    • The list is continues...

    Qt3D is your rendering engine. But Qt3D misses one thing: Animations.
    Apart from physics (which should be rather easy, many examples on the web) and sound (OpenAL should be available) the only part which Qt misses to be used as a 3D Game Engine are animated objects. I think skeleton animations are most important, but per-vertex animation is also an important part in the puzzle.

    I started looking at the code and saw to my surprise that there already exist several classes which seam to be intended for just animations:

    • QGLSceneAnimation
    • QQuickAnimation3D

    The assimp loader also seams to do a small part of the loading, it only seams to be loading the name of the animation though.

    Before I try to do fill the above classes/create the needed classes I wanted to ask if anybody knows what these classes are for? Are they really mean for this kind of animation, or are they for property animations like the others? Is there somebody working with them right now? Is there some information gathered around this topic?

    Jan

    P.S. Here are some interesting links I found:
    http://www.opengl.org/wiki/Skeletal_Animation
    http://www.opengl.org/wiki/Keyframe_Animation
    http://en.wikipedia.org/wiki/Morph_target_animation
    http://en.wikipedia.org/wiki/Skeletal_animation

    Also please note that I usally only work with high level classes and I have never worked with shaders before, so if I would try something out it would probably not be overly good and also take some time.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Skylar
      wrote on last edited by
      #2

      Hello,

      Looking to animate a complete model with QT3D.

      Do you do some test based your your post ?

      Best,
      Skylar

      In most cases, the bug is mine. But of the remaining lines are correct.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Skylar
        wrote on last edited by
        #3

        Hello all,

        I found on the mailing list the bones animation is part of the QT3D plan but not yet found a open point for it.

        It seems the ASSIMP import used can manage bones, I will have look this way.

        Best,
        Skylar

        In most cases, the bug is mine. But of the remaining lines are correct.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          john_god
          wrote on last edited by
          #4

          @ JanDal: thanks for thoose links, nice material.

          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