Path and Milkshape

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
noone88
Posts: 49
Joined: Sat May 27, 2006 3:28 pm

Path and Milkshape

Post by noone88 »

Hi, when i load a milkshape file for example: C:\testing\test.ms3d. Irrlicht doesn't try to load the textures for this file from C:\testing !

Can you please fix it?
Ico
Posts: 289
Joined: Tue Aug 22, 2006 11:35 pm

Post by Ico »

I'd say it's some kind of security reason and working as intended. (Maybe the engine could try to load from there when a specific flag is set.)

Imagine an online game loading meshes from folder a and textures from folder b. That's not very uncommon. Now you want to ensure that only the textures from the texture folder are used as you can't check other files for changes (autoupdater; modified texture colors, etc.).
If it's changed that the engine will search the folder containing the model first, you could use this to add texture file sources you (as the programer) can't predict. To avoid this you'd have to throw everything into one folder - not that good imo.
noone88
Posts: 49
Joined: Sat May 27, 2006 3:28 pm

Post by noone88 »

3ds files are loaded correct. Irrlicht searches for the textures in the same path...
Ico
Posts: 289
Joined: Tue Aug 22, 2006 11:35 pm

Post by Ico »

ok, that's a little bit weird then. :)
Post Reply