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

Create a trigger to know when 3D scene really drawing on the screen

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: OpenGL Runtime
    • Labels:
      None
    • Commits:
      fb379c456eb5dd221807e585e71af747f725cee2

      Description

      Currently, on starting Cluster all cameras are disabled. When Cluster starts and the first Q3DSSurfaceViewer::frameUpdate arrives Cluster asks Animation Player to allow to enable cameras on the 3D scene. If it is allowed, cameras are switched on. After that Cluster should notify Animation Player that Cluster actually draws something on the screen and Animation Player can stop rendering it-self content.
      The problem is Cluster cannot know when some of its content starts drawing on the screen actually. Experiments show that the first and second frames are transparent. Looks like the third frame usually has content. However, it seems not a good solution to use the third frame as a trigger for synchronization with Animation Player.
      Could you suggest a solution to how Cluster can know when content actually starts being drawn?

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              tonyl Tony Leinonen
              Reporter:
              whitevil Aleksandr Trukhtanov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes