QOpenGLTexture: different face different image
Solved
General and Desktop
-
https://github.com/kgmerk/qgl_tutorials/tree/master/qgl_tutorial06_mouse
Texture with one image will split to all face.QOpenGLTexture *mTexture = new QOpenGLTexture(QImage(":/img.jpg"));
How to set 6 faces of a box with 6 images ?
Soleved with https://doc.qt.io/qt-5/qtopengl-textures-example.html