Game Development Community

T3D 1.1 Beta 3 - Certain TGA images crash Torque 3D - LOGGED

by Greg G · in Torque 3D Professional · 10/12/2010 (11:47 pm) · 2 replies

This occurs on the latest 1.1 Beta 3 down-loadable release. I am using on unmodified build. Tests were done in deathball desert.

Platform: Windows Vista 64 bit

Issues: Whenever this image is used as a specular map in any loaded material the engine crashes. I assume this happens in other material slots as well but I have only tested specular.


Steps to Repeat:
1. Make a material.cs file that uses the supplied TGA
2. Load an asset that uses the TGA (I used a DAE file)
3. The engine crashes.

#1
10/13/2010 (4:51 am)
Caused by a bug in gfx/bitmap/loaders/bitmapTga.cpp (around line 77):

case MapUpperLeft:
   x = number % w;
   y = number / w;   // change this line
   break;

This fix will be included in the next release.
#2
10/18/2010 (2:51 pm)
Logged as TQA-1182 for the QA team to verify so that we have it in our database in case any other TGA issues come up.