Windows Error on .3DS mesh load

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
Will Piovano
Posts: 22
Joined: Sun Oct 15, 2006 10:02 pm

Windows Error on .3DS mesh load

Post by Will Piovano »

Hi,

I am using the Hello World tutorial, and changed only one line of code:

Code: Select all

IAnimatedMesh* mesh = smgr->getMesh("../../conquest/chess.3DS");
The chess.3DS is a simple box made in 3DS Max which I exported into the folder pointed to in the irrlicht code.

When I run the app, however, I get the Windows Critical Error. Placing a debug point, and stepping through it, I get this at the line specified above:

"Unhandled exception at 0x100555a8 in HelloWorld.exe: 0xC0000005: Access violation reading location 0x00000000."

Any ideas on what might have gone wrong?

Thanks in advance,

Will
benoit808
Posts: 8
Joined: Fri Oct 06, 2006 6:47 pm

Post by benoit808 »

Sorry this is not an answer to your problem but I just wanted to say that I have the exact same problem so you are not the only one

Anyone?
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Hmmm, it tries to read from location 0x00000000...
This looks like the scene manager is not initialised, but this shouldn't be since you just changed this single line of code...

Could you please make a download avilable for the mesh (with textures) so we can check if it really depands on this mesh ????
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
monkeycracks
Posts: 1029
Joined: Thu Apr 06, 2006 12:45 am
Location: Tennesee, USA
Contact:

Post by monkeycracks »

Try putting the mesh in the same folder as the application and changing the path to "chess.3ds"

if its still got an error then its not the file path, as I think it may be.
Post Reply