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

QML doesn't requests second texture from the image provider

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.12.8
    • Fix Version/s: None
    • Labels:
      None

      Description

      Hello,
      We have found a strange behavior while streaming from the Qt 3D studio to QML Using Texture type in QQuickImageProvider.

      Steps:
      1. Add two layers to the 3DStudio presentation
      2. Add two images which must represent these layers in QML

      Image {
                  id: layer_persp
                  width: root.width / 2
                  height: root.height
                  source: "image://3ds/Scene.First"
      }
      Image {
                  id: layer_ortho
                  x: root.width / 2
                  width: root.width / 2
                  height: root.height
                  source: "image://3ds/Scene.Second"
      }
      

      3. Using Image provider from the sample application in attachment fetch texture id's from the 3DStudio render engine.

      Expected result:
      Both layers renderers correct

      Actual result:
      Only one layer visible and duplicated on both Image objects.
      But if any event will be triggered or any other element will become visible the second image will fetch the second layer.
      Also, we have noticed QML doesn't try to bind the second texture at all before the events.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-84401
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              tokorpip Tomi Korpipää
              Reporter:
              evgeniy_prikazchikov Evgeniy Prikazchikov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes