.3DS texture loading problem.

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
disanti
Posts: 367
Joined: Sat Jan 17, 2004 1:36 am
Location: California, US
Contact:

.3DS texture loading problem.

Post by disanti »

I'm using Irrlicht 0.4.2 and I can't get my 3ds level to load correctly. It is all on mesh like a bsp but I wanted to make it in 3DS Max so it is 3ds. When I load it into Irrlicht, I get this:

Loaded texture: #DefaultFont
Could not open file of texture: PS1_1.JPG
Could not load texture: PS1_1.JPG
... for all the textures ...
Loaded mesh: palace.3ds
Needed 9ms to create OctTree SceneNode.(68 nodes, 1789 polys)

OK, this is what I'm doing:
I'm loading my file, palace.zip into the filesystem and then making the level scene node. This zip file has the 3ds and all the textures in it in the same directory. It seems to load the 3ds just fine but it can't find the textures. How do I fix this? :oops:

Thank you~ John DiSanti

P.S. I spent ALOT of time on this level, wish I could get it working. :cry:
________
Ybr 125
Last edited by disanti on Tue Feb 22, 2011 7:55 am, edited 1 time in total.
deps
Posts: 115
Joined: Sat Jan 10, 2004 5:22 pm
Location: Tranås, Sweden

Post by deps »

How do you call addZipFileArchive?
Make sure you ignore the case and path
addZipFileArchive ( filename, true, true );
disanti
Posts: 367
Joined: Sat Jan 17, 2004 1:36 am
Location: California, US
Contact:

Post by disanti »

I'm using:

device->getFileSystem()->addZipFileArchive("../../media/palace.zip",true,true);

I pretty much modified the Quake3 map example so that I could test my level and see if it needs modification. It still doesn't work, with or without the true,true.
:?

Edit:

Whoops! My bad! :P I forgot to put the textures in the ZIP when I updated it. :oops: Works now
________
Make a vaporizer
Post Reply