Mesh (*.x) loading problem

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
warui
Posts: 232
Joined: Wed Apr 14, 2004 12:06 pm
Location: Lodz, Poland
Contact:

Mesh (*.x) loading problem

Post by warui »

While toying around with MeshViewer tutorial i found stange behaviour of getMesh() function. When i tried to open model using:

Code: Select all

Device->getSceneManager()->getMesh("dwarf.x");
i got following result on console:

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");
every thing works fine:

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.
Tomasz Nowakowski
Openoko - www.openoko.pl
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

This bug only occurs in linux mode, doesn't it?
warui
Posts: 232
Joined: Wed Apr 14, 2004 12:06 pm
Location: Lodz, Poland
Contact:

Post by warui »

No, i'm using windows xp pro.
Tomasz Nowakowski
Openoko - www.openoko.pl
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

hm, strange..
Post Reply