Page 1 of 1

Hmm, centering a texture...

Posted: Sun Dec 17, 2006 4:31 pm
by ducatiwannabe
Alright, I have a box sized and located:
position 177 287.5 0
size 12.5 2 11
But I don't know how to make a texture stretch over it just once and look good. As it is, it's tiling, and not centered. I'm trying to use the texture out of the bzflag data folder...and I'll attatch it so you know which one...

Posted: Sat Jan 20, 2007 6:18 pm
by knoxkorner
you cannot stretch it if its the same size (EX: 256x256) i changed one of mine to 150x151 not much of a difference

Posted: Sat Jan 20, 2007 9:16 pm
by CannonBallGuy
A texture's dimensions should be powers of 2... 128, 256, 512, etc.