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

Set data of vertex QBuffer together with increasing count of vertices leads to artifacts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.9.0 Beta 4, 5.9.0 RC
    • 5.8.0, 5.9.0 Beta 1
    • Qt3D
    • None
    • Windows 7 x64 SP1
      Android 5.1
    • 46e4a33fe90b7ff21baffcb08194ef4c7b346df7 4a2d8d6ee54976e3a8e2218bc8e97c857688cdfe

    Description

      Running attached example one can observe temporary very short time visual artifacts - triangles (faces) based on newly added vertices jump somewhere aside when setData followed by setCount is used quite frequently (video attached). In contrast updateData calls work fine (you can watch video slide by slide to be sure).

      I did some test in my own application and can say that those jumped out vertices come back to the place they should thanks to next updates.
      If there will be no updates after setData + setCount sometimes (not always) artifacts can remain, that is faces based on new vertexes are goes somewhere out of the screen (probably to 0 coordinate) and do not change anymore.

      Firstly thought that it was due to that currently in qt 3d calling both QBuffer setData/functor and partial data update can lead to unexpected behavior.
      Did the patch to improve that: https://codereview.qt-project.org/#/c/192767/ but it hasn't solved this issue.

      Attachments

        1. setData.avi
          1.25 MB
        2. setData.zip
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lemire_p Paul Lemire
            lukegluke Oleg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes