Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Performance rendering performance in QML SequentialAnimation
Forum Updated to NodeBB v4.3 + New Features

Performance rendering performance in QML SequentialAnimation

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 1.1k 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.
  • S Offline
    S Offline
    Sil20
    wrote on last edited by
    #1

    Hi,
    I developpe a large QML based application, displaied on 11 full HD screens. To do so we split into several inbstance of QMLApplicationviewer (QDeclarativeView)

    I notice the sequential animation are ressource consuming and lower the respons of touch interaction.
    I suppose there are some timers or some loop computation for those animation. I was wondering how can I make them less "nice looking" but less time consuming (compute only 1 position among 2 or something like this)

    Where in Qt can I found this code ?

    Here after is an example of the sequential animations we are using.
    @ SequentialAnimation {
    id: iPlotterAnimation
    running: false
    NumberAnimation { target: needle; property: "x"; to: __mtargetNeedleX; duration: 400 }
    NumberAnimation { target: needle; property: "rotation"; to:__activechannel==1?360:(__activechannel-1)*60; duration: 300; }
    NumberAnimation { target: needle; property: "y"; to: 102; duration: 100 }
    NumberAnimation { target: needle; property: "y"; to: 93; duration: 100 }
    }@

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

      Hi,
      I looked into it but I could not really figure out how the animations are managed.

      Maybe anohter strategy would be to aim ata lower level in QT.

      Is there a way to set the maximum rendering frame rate? Which reduce the computation ressource?

      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