I have strange problem. After creating simple cube in DeleD editor, texturing it inside cube and exporting to obj (with normals - faces) irrlicht fails on loading it. There is assertion break in getMesh(), line msh = MeshLoaderList->createMesh(file); when calling [] operator. Without faces it works.
Normals in .obj:
vn 0 0 -1
vn 1 0 0
vn 0 0 1
vn -1 0 0
vn 0 1 0
vn 0 -1 0
looks good .
I created cube with these steps:
- create cube 1k x 4k x 4k
- hollow it
- select faces (interior walls) and put textures
- export (default options - without triangulation and normals)
Also I am not sure about setting normals in DeleD. I hope that someone on this forum could tell me how to properly texture walls in this simple example or maybe everything is done ok? After loading I've got object but with nothing inside it (no walls, textures). When I move camera far away I see it textured, but as I said this cube will act as a room.