Get geometry Data loaded qmesh (C ++)

my Problem: I load a 3D model in QMesh:

Qt3DRender::QMesh *mesh;
mesh->setSource(QUrl(QStringLiteral("qrc:/new/prefix1/ata.obj")));

This is working at the moment.

Now I am looking for a function that gives me the geometry data of an object, in particular: midpoint, corner

In the end, I want to convert the downloaded 3D model to the viewpoint of my camera.

I am using qt 5.8. Is there anyone who can help me? thanks in advance

+4
source share

Source: https://habr.com/ru/post/1675247/


All Articles