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

Screen update causes flicker when objects are deleted and created

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.3
    • Qt3D
    • None
    • Standard Visual Studio 2017 64 bit install on Windows 10 Pro. Xcode 9.4 install on MacOS High Sierra.
    • macOS, Windows

    Description

      I'm developing a program where I redraw the scene at each simulation time step. Some objects in the scene are moved around, some are deleted and some are created. I use setRenderPolicy(Qt3DRender::QRenderSettings::OnDemand) to control when redraw happens and would expect there to be no flickering on the display. However there is clearly a delay in drawing the objects that are created and there is very obvious flicker on screen. I have created a simple example based on the basicshapes-cpp that illustrates the effect. It does not flicker all the time in the example probably because the redraw time is so quick but in my code the flicker is very bad (and the fact that it is flickering occasionally points at some underlying timing/caching issue).

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            wisellers Bill Sellers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes