Problem loading a certain .x 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
timofiend
Posts: 14
Joined: Tue Feb 22, 2011 5:57 pm
Location: 115

Problem loading a certain .x file

Post by timofiend »

I have been able to export and load a few simple .x animations from 3dsMax, but the main character for our game will not load, when I try I get this error:
First-chance exception at 0x100dff5b in quakemap_3rdPerson.exe: 0xC0000005: Access violation reading location 0x1c17496f.
Unhandled exception at 0x100dff5b in quakemap_3rdPerson.exe: 0xC0000005: Access violation reading location 0x1c17496f.
Im pretty sure it is not a problem with the method of exportation, as I have done the exact same thing for other animated models with no problem. Also I know it is not a problem with the code, as I tried to load it using the simplest piece of code I could (simple hello world tutorial on website) and it gives me the same problem.

So I figure it must be something wrong with the way the model was created? I am using 3dsMax 2011, Visual Studio 2010, and the latest version of Irrlicht (1.7.2). I have been able to load simpler models with biped animations with no problems, but with this one as soon as the code gets to the line loading the model, it stops and gives me this access violation error.

I have tried re exporting the model, but this didnt help. Does anyone have any idea what could be going wrong? Possibly a technique used to create the model is incompatible with the engine? I could upload the max file if this would help?

EDIT: Here is the .max file if it helps. I exported to .x using PandaSoft DirectX exporter

http://www.mediafire.com/?p7mh7a98p53qstr

Cheers
Post Reply