Code: Select all
Device->getSceneManager()->getMesh("dwarf.x");
Could not open file of texture:
Could not load texture:
Loaded texture: enano.jpg
Could not open file of texture:
Could not load texture:
Loaded texture: hacha.jpg
Loaded mesh: dwarf.x
if i change the file path to "./dwarf.x":
Code: Select all
Device->getSceneManager()->getMesh("./dwarf.x");
Loaded texture: ./enano.jpg
Loaded texture: ./hacha.jpg
Loaded mesh: ./dwarf.x
Looks like some kind of bug in *.x files handling (maybe others too, i wasn't been able to check). I'm using Irrlicht Engine 6.0 and i've got dwarf.x, textures and exe in one folder.
BTW everything loads ok in both cases.