Game Development Community

[Bug: Beta 1.1 Image Loading] Targas Created By Modo load into Torque3D flipped - RESOLVED

by Greg G · in Torque 3D Professional · 06/03/2010 (10:47 am) · 3 replies

If I save a TARGA file out of Modo and then try to load it into Torque 3D it flips the image.

I have uploaded a test image and DAE you can use to troubleshoot the issue. The file contains a cylinder with a simple texture applied to it. Right now the word "test" shows up on the end of the cylinder. It should be on the side.

img411.imageshack.us/img411/7048/examples.jpg
If you open the TARGA up in Photoshop and just save it as is (don't make any other changes) Torque then loads the image correctly.

You can download the files here: dl.dropbox.com/u/2997790/forumposts/garagegames/targaTest.zip

Modo can save many other image formats, I'm not sure if this happens with other formats other than TARGA.

#1
06/03/2010 (8:13 pm)
The initial TGA loader in 1.1b1 is fairly simplistic, and does not support some of the features available in the TGA format (vert/horz flip, colormap data etc).

Replace source/gfx/bitmap/loaders/bitmapTga.cpp with this file and all will be well. :-)

This fix will also be included in the next beta (1.1b2).
#2
08/21/2010 (10:21 am)
Logged as TQA-895.
#3
08/31/2010 (4:23 pm)
This was fixed in 1.1 Beta 2.

@Greg
Can you confirm for me that this is no longer an issue for you?