I finally make it works, but I am not sure to do everything correctly.
Firslty I change the way to attach the Texture to the QDiffuseMapMaterial :
QDiffuseMapMaterial*material = new QDiffuseMapMaterial();
Texture*diffuseTexture = new Texture();
// Instancing our cust
I am trying to understand how I have to use QAbstractTexture and
QAbstractTextureImage to load textures from our custom format.
Our format is pretty simple and consist in a compressed file that contains
an header with all necessary informations :
- texture size
- precise texture format (PVRTCI_4