Hello,
For my current project, I use Qt3D to display and manipulate a 3D scene. I use Qt functions to load and display .OBJ mesh files.
1) I managed to get access to the mesh vertices but cannot find how to access the connectivity (which vertices makes which triangles)? I will need this information to do processing on the mesh.
2) I also need to be able to apply a specific color to each vertex (colors that will be blended over the faces by Qt shading model). I'm starting with a CAD without color information but physical measure values need to be displayed on it. See attached image for an example of what the result should look like.
I found the following thread on Qt forum taking about mesh color but it's not exactly friendly relying on fragment shaders to do what would seem a relatively easy task! Anybody as ever done something like that? Code samples or tutorials would be welcome!
Regards,
Bruno
https://forum.qt.io/topic/64012/mesh-color/19