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

Dragon render and QT3D out of sync

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • Qt 3D Studio 2.3 BETA1
    • Runtime 2.x
    • None

    Description

      Several issues arise from out-of-order change event communication between QT3D and Dragon render aspect.

      A minimal example is attached, where a datainput is used to dynamically change material diffuse map from an initial bitmap to a subpresentation after a presentation is loaded.

      Expected result is that a static rectangle texture changes to a subpresentation that has an animating sphere. Actual result is a black texture, or more likely a null object/index out of bounds -type crash as changes in scene (creation of entities in the subpresentation, creation of other backend objects and so on) are cascading undeterministically down to Dragon aspect that initiates rendering for a new frame.

      Null checks can be added to various locations in Dragon tasks and render functions to circumvent asserts/crashes, but this does not make the scene render correctly even in the consecutive frames.

       

      Attachments

        1. qmldatainput.7z
          339 kB
          Janne Kangas

        Issue Links

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

          Activity

            People

              stromme Christian
              jakangas Janne Kangas
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes