In this QML code: https://github.com/MidoriYakumo/learnopengl-qt3d/blob/master/qml/hellotriangle.qml I want to draw a triangle like this C++ code: http://learnopengl.com/code_viewer.php?code=getting-started/hellotriangle
I found that I have to clear both color and depth buffer, that's weird: activeFrameGraph: ClearBuffers { buffers: ClearBuffers.ColorDepthBuffer // Why not ColorBuffer only??? clearColor: Qt.rgba(0.2, 0.3, 0.3, 1.0) RenderSurfaceSelector { } }
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest