Game Development Community

Have a display problem. please help

by Tim Kin Chu · in Torque Game Builder · 08/24/2006 (2:19 am) · 5 replies

i34.photobucket.com/albums/d107/KenShinVC/displayerror-1.jpg
datablock t2dImageMapDatablock(scoreImagemap)
{
   imageName = "~/data/images/puzzle/Gui/score.png";
   imageMode = full;
   filterPad = false;
      filterMode = "NONE";
};

#1
08/24/2006 (2:54 am)
And the problem is?
#2
08/24/2006 (3:09 am)
There is a unexpected line added to the surrounding of the image.

This happen when the game run in a 19 inch Monitor. and it did not happen when run in a 17 inch monitor
#3
08/25/2006 (3:12 am)
Anyone experienced the same problem as me??
#4
08/25/2006 (6:26 am)
What's the size of the images & what's the res of the image/game? I have a 19" & don't see lines under stuff.
#5
08/25/2006 (7:27 am)
Are all the imagemaps that have this problem using "imageMode = full"? If they're using "imageMode = cell " then you could probably fix it with "filterPad = true". AFAIK, the filterPad setting is ignored for "full" images.

On the other hand, doesn't TGB organise textures by combining multiple images into single textures? If so, could it be placing a bunch of "full" sprites onto one texture thus causing edging issues like Tim is seeing? Thus using "filterPad = true" should help even when "imageMode = full" .

So either way, try "filterPad = true" :)