Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to create basic custom 3D triangle with Qt 3D?
Hello everyone. It is 2021 and I thought maybe there is more documentation and examples for Qt 3D, but looks like nothing has changed. Anyway, I plan to start digging through this black box. Does anyone know how to create basic custom 3D triangle or plane with C++/Python ? That would help me quite a bit
You probably know more about the module than me but i was wondering if you mean like this ?
Does anyone know how to create basic custom 3D triangle or plane with C++/Python ?
Yes. Fill an
QAttributewith the vertices, add it to a
QGeometryinstance (typically it's your own subclass). Set the geometry you created to a
QGeometryRendererinstance, which you can use as a component for an
@mrjj Yeah. That last reply was exactly what I was looking for :)
@kshegunov Thanks. This makes sense. I will try it out :)