Description
Problem: Rendering to the GL context directly is not working.
Error message: "QOpenGLBuffer::map(): pending implementation"
Proposed resolution: Need to render in "raw" OpenGL inside a beforeRendering() handler.
Example.qml
import QtQuick 2.0 import Qt3D 1.0 import Qt3D.Shapes 1.0 Viewport { width: parent.width; height: parent.height renderMode: "DirectRender" fillColor: "darkblue" objectName: "cube viewport" Cube { scale: 1.5 objectName: "cube" transform: Rotation3D { angle: 45 axis: Qt.vector3d(1,1,1) } effect: Effect { color: "#aaca00" decal: true } } }
Attachments
For Gerrit Dashboard: QTBUG-24727 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
26434,3 | DirectRender is not working. | master | qt/qt3d | Status: MERGED | +2 | 0 |