Hi That frustum is just a group of lines in cube shape, you see it as a frustum because the camera is in perspective mode.I never used Qt3D so cannot help with scene3d. But in quick3D that would be done with a class derived from QQuick3DGeometry with primitives set to lines "setPrimitiveType(QQuick3DGeometry::PrimitiveType::Lines)"to construct a cube. Then register that class to qml and use it in your View3D. Hope it helps.
João Em sexta-feira, 5 de março de 2021 09:46:15 GMT, Alex john <blackbriar...@gmail.com> escreveu: Hello Qt I like to render a frustum as here https://imgur.com/a/BzmCQ2D on Scene3d. Can you let me know how it can be done? If I have to get the custom QML ,do I have to get it from the C++ and then push it to the QML context? Any pointers to basic code is appreciated. Thanks. _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest