Details
Description
Following qml code on Qt 5 Beta draws nothing:
import QtQuick 2.0 import Qt3D 2.0 import Qt3D.Shapes 2.0 Viewport { width: 1024; height: 768 id: viewport camera: Camera { eye: Qt.vector3d(-5, 5, 5) } Repeater { model: 3 Teapot { x: index; scale: 0.5; effect: Effect { color: "green"} } } // Repeater should generate these items: // Teapot { x: 0; scale: 0.5; effect: Effect { color: "green"} } // Teapot { x: 1; scale: 0.5; effect: Effect { color: "green"} } // Teapot { x: 2; scale: 0.5; effect: Effect { color: "green"} } }
No errors or warning are displayed. This problem can be seen also in the photoroom example that is supposed to demonstrate the use of Item3D's with QML data models & repeaters.
Attachments
Issue Links
- is required for
-
QTBUG-26306 Photoroom example: white screen
- Closed