I’m trying to load .obj files in my little game. I decided to use assimp as tool to import those models. But it seems that assimp does not import them correctly.
I looked for a simple cube mesh online and found this one:
http://cs.wellesley.edu/~cs307/tw/objects/cube-textures.obj
But when importing the model the number of faces is only 11 instead of 12. I then tested to load the model in the model viewer provider by assimp. But the problem is the same, one face is missing.
Is there anything I’m missing? Here is my loading code:
const aiScene* AssimpScene = this->AssimpImporter.ReadFile("C:/cube.obj", aiProcess_CalcTangentSpace);