Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-4029

Changing DataInput in Timer causes 50% slowdown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt 3D Studio 2.5
    • Runtime 2.x
    • None

    Description

      We have a QTimer that runs at 60FPS and increases value of DataInput:

      DataInput is declared like so:

      And is used in custom material:

      The application runs at 35FPS. If currentFrame++ line is removed, it goes back to 60FPS. The whole scene is animated and not cached.

      Attachments

        1. page1.png
          16 kB
          Igor Chernakov
        2. page3.png
          22 kB
          Igor Chernakov
        3. page2.png
          17 kB
          Igor Chernakov
        4. page1.png
          16 kB
          Igor Chernakov
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            igor.chernakov Igor Chernakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes