Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How complex is it to make a Simple 3D "scene"?
bdmontz last edited by
I am fairly new to Qt, using Qt 5.5 and Qt creator 3.5. using .cpp files... I have been using QGraphicsView, QGraphicsScene, and simple things like lines. rectangles, elipses etc.
How complicated would it be to replace a QGraphicsView with a 3D object that lets me display a handfull of stationary rectangular shapes that change color, and a "wheel" that rotates to a specific position.
What would I need to do to make that happen?
A Former User last edited by
Hi! Wouldn't be very complicated. First step would be to update to Qt 5.7, which gives you access to the latest Qt3D module. Next would be to create a
Qt3DExtras::Qt3DWindowand embed this into a window container (using
QWidget *QWidget::createWindowContainer()). There are a couple of examples that show how the actual 3D stuff works, see http://doc.qt.io/qt-5/qt3d-examples.html.