Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-4801

3D Particle system running on QDS stops running after ~20 seconds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • QDS 2.2 Beta2
    • QDS 2.2 Beta1
    • 3D View
    • None
    • 1
    • aef13a5dcdf557ea8afd95b4c20c593f4d56cb09 (qt-creator/qt-creator/5.0)
    • QDS 3D - 2021 Week 31/32

      3D Particle system running on QDS stops running after ~20 seconds. The reason for breakage seems to be overflowing the ParticleSystem3D.time parameter. It is supposed to be milliseconds, and when running in standalone application, it is, but for some reason this time is massively accelerated when running inside QDS, leading to integer overflow in ~20 seconds.

      To repro, add the following code to View3D scene:

                  ParticleSystem3D {
                      id: psystem
                      x: 200
                  }
                  ParticleEmitter3D {
                      system: psystem
                      emitRate: 10
                      particleScale: 20
                      particleRotationVariation: Qt.vector3d(0, 0, 180)
                      particleRotationVelocityVariation: Qt.vector3d(0, 0, 40)
                      particle: spriteParticle
                  }
                  SpriteParticle3D {
                      id: spriteParticle
                  }
       

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

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes