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
          page1.png
          16 kB
        2. page1.png
          page1.png
          16 kB
        3. page2.png
          page2.png
          17 kB
        4. page3.png
          page3.png
          22 kB
        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