Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11460

Timeline-Based Animations in Quick

    XMLWordPrintable

Details

    Description

      We should consider adding support for complex graphical animations in Qt Quick (elements and tooling).

      Current Support

      The QDeclarative elements have direct support for animations and transitions. However, this is about manipulating individual properties of elements. Typical effects are moving/scaling elements, or fading out effects. More complex graphical animations aren't very well supported.

      Instead, QtDeclarative support animations coded in external image formats like animated GIF, and MNG (Maybe also animated SVG?). This is done via the AnimatedImage element, which uses the capabilities of the QMovie element. However, the interface of this class is very limited: One can basically just pause & play animations.

      Typical Animations

      Observations:

      • Animations are timeline based, repeat themselves
      • Sometimes they have to 'react' to external events (e.g. think of a character in a jump&run game: Depending on the users action it might jump, run, change appearance ...)

      Performance

      TODO: Are e.g. animated GIFs already optimized when played in a scene? Can we do any better with something directly understood by a SceneGraph?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dajansen Damian Jansen (closed Nokia identity) (Inactive)
            kkohne Kai Köhne
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes