Cant open .irr file...

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
NoobieMan
Posts: 14
Joined: Fri Feb 02, 2007 12:31 pm

Cant open .irr file...

Post by NoobieMan »

If i use Direct3D, then i get next error:
"Could not load shader fucntion D3DXAssembler from dll, shaders disabled: d3dx9_28.dll"

Any way of fixing this?

Theres two errors, so heres the second:
"Could not load mesh, file format seems to be unsupported: C:/Test.irr"

But i thought that Irrlicht supports .irr files, like it was told at the website.
Btw: i used IrrEdit to do the .irr file.
madoc
Posts: 32
Joined: Fri Feb 11, 2005 10:43 am

Post by madoc »

No idea on the first, but for the second, what version of Irrlicht are you using, loading of irr files was only added in some of the more recent ones.
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

You need to update DirectX for the first one. Go to www.microsoft.com/directx and get the latest runtime.
NoobieMan
Posts: 14
Joined: Fri Feb 02, 2007 12:31 pm

Post by NoobieMan »

Thanks sio2, of course i had to update DirectX, im just so stupid to understand it :D

I use 1.2, the newest version of Irrlicht. Pretty weird, i think ?
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

From the 2nd error message it looks like you are calling smgr->getMesh("C:/Test.irr"). The .irr file format does not store a mesh, it stores information about a scene. You should be calling smgr->loadScene("C:/Test.irr").

Travis
NoobieMan
Posts: 14
Joined: Fri Feb 02, 2007 12:31 pm

Post by NoobieMan »

vitek, thanks ALOT! Now im able to model my own maps :P Thanks again :D
Post Reply