Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.12.8
-
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.