[fixed] Irrlicht v1.1 .3ds loader problem?

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.
Panther
Posts: 34
Joined: Tue Jun 06, 2006 1:05 am

Post by Panther »

hybrid wrote:The taxi is a different thing as the 3ds mesh loads correctly, but textures are not displayed. This is a bug in the tga loader. This has been fixed with revision 208.
I just tried this again with Irrlicht v1.3:

Code: Select all

Current path:c:\3D-Game-Writing\Game-Example\Objects\Taxi
Loaded texture: TAXICB.TGA
Loaded texture: TAXCHECK.TGA
Loaded texture: TAXISGLT.TGA
Loaded texture: TAXIHDLT.TGA
Could not load texture: TAXIPLAT.TGA
Could not load a texture for entry in 3ds file: TAXIPLAT.TGA
Could not load texture: TAXIRAD2.TGA
Could not load a texture for entry in 3ds file: TAXIRAD2.TGA
Could not load texture: TAXIRADO.TGA
Could not load a texture for entry in 3ds file: TAXIRADO.TGA
Loaded texture: TAXTIRE.TGA
Loaded texture: TAXSEAT.TGA
Could not load texture: TAXICABN.TGA
Could not load a texture for entry in 3ds file: TAXICABN.TGA
Could not load texture: TAXISPED.TGA
Could not load a texture for entry in 3ds file: TAXISPED.TGA
Could not load texture: TAXIRED.TGA
Could not load a texture for entry in 3ds file: TAXIRED.TGA
Loaded mesh: taxi.3ds
Current path:c:\3D-Game-Writing\Game-Example\Objects\Taxi
Needed 1676ms to create OctTree SceneNode.(998 nodes, 37380 polys)
As you can see, it is now loading some of the TGAs, but not all of them. I had edited some of the TGA files (to color them differently etc) and I'm thinking my TGA-editor must have changed them somehow (resized or something). Anyway, using the "default" TGAs that came with the Taxi 3DS object, it works!

So if anyone else out there is having this problem, be careful when you edit texture files that are referenced by a 3DS!
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

So just upload another examples of the tgas. I'll try to fix it.
Post Reply