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

Improve particles emitting

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.2
    • 6.1
    • Quick: 3D
    • None

      Currently emitting & distributing particles along emit time works when time progresses normally. See QQuick3DParticleEmitter::emitParticles() and QQuick3DParticleEmitter::getEmitAmount().

      But it is not made to work when user freely moves particlesystem time (say in QDS). For example if timeChange > lifeSpan, particles are distributed too much. Also when time goes backwards, new particles are not emitted.

      If this seems to affect performance, consider adding "bool designMode" property or something similar so it could be used in QDS but not affect release performance when not needed. This could be hidden inside QQuick3DParticleSystemLogging. There may come other needs for extra stuff while designing.

      Make an testbed example which allows freely animating time (can use SystemPlayPause.qml as a start) but contains also emitter with emitRate and lifeSpan so that particles get reused.

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

            kagro Kaj Grönholm
            kagro Kaj Grönholm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes