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

Details

    • Bug
    • Resolution: Done
    • 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

    Description

      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
                  }
       

      Attachments

        Issue Links

          For Gerrit Dashboard: QDS-4801
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes