Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt3D Synchronous changes to the scenegraph



  • Hi,

    I am working on a visualization app using Qt3D in Qt 5.14.2.

    In my app I receive data to visualize and then update a Qt3D scenegraph by adding and removing new entities in a single function. This function is triggered by a QFrameAction signal, so it should happen on the main thread, between renderings.

    I see that the changes to the scenegraph take more than a single frame. The erased entities are immediately removed from rendering the next frame, but the new entities seem to take at least one frame longer. I can see essentially flicker with an empty scene (black background) after such an update.

    Is there a way to make sure that a whole set of changes to the scene graph are picked up at once by the back end? It seems to me that the back end seems to pick up some changes quicker and others slower, and I am guessing at what the latency for different changes might be.

    thanks,
    Gerhard


Log in to reply