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

Emitter leaves behind rendering artifact when animated on loop

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11, macOS, QNX

      Description

      When you have a particle system using emitters whose animation is on loop, every-time the animation loops there are particles (artifacts) showing up in the wrong places.

      In the case of the attached sample program (BugExample.zip), the artifact can be seen in the middle portion of the screen. (See BugScreenShot.png)

      Animation used is PathAnimation, with the loops property set to:

      PathAnimation {
          ...
          loops: Animation.Infinite
          ...
      }

      The ParticleSystem (LoadParticleQML.qml) in brief is:

      ParticleSystem { 
          running: true  
          ImageParticle { 
              source: // PNG image 
          }  
          Emitter { 
              ... 
              emitRate: 120
              lifeSpan: 850
              ....
          }
      }

      main.qml file uses Loaders to load the above QML:

      Window {
          ...
          Loader {
              source: "qrc:/LoadParticleQML.qml"
              x: 220
              y: 80
          }
      }

       

      Also, this other Qt bug can also be observed using the attached sample program.

        Attachments

        1. BugExample.zip
          26 kB
        2. BugScreenShot.png
          BugScreenShot.png
          61 kB
        3. modified.qml
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            w00t Robin Burchell
            Reporter:
            phtorral Phoebus Torralba
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes