How does blitz3d handle 196x128 textures?

Blitz3D Forums/Blitz3D Programming/How does blitz3d handle 196x128 textures?

gameproducer(Posted 2003) [#1]
How blitz handles 196x128 size textures? Are they handled as 196x196 or 256x256? (I remember seeing somewhere said that only power of 2 numbers are accepted - but do they have to be same for width/height ratings?)

If 196x128 doesn't work in those dimension do you know if 196x196 will work?

How about 96x96?


Warren(Posted 2003) [#2]
196x196 will work, but Blitz will internally scale the image to 256x256 and your texture coordinates will all be off, etc.

You're better off just making the image that size yourself and filling in the dead area with black or whatever.


SabataRH(Posted 2003) [#3]
Blitz3d dosent really care what the texture size is... its the videocard thats the problem... Most of the new videocards don't give a flip about texture size... Then again all the older cards need texture sizes in powers of 2.


gameproducer(Posted 2003) [#4]
hmm... okay. thanks.

2 4 8 16 32 64 128 256...


John Pickford(Posted 2003) [#5]
I believe Blitz will silently resize the texture to a power of 2 dimensioned square, compatible with your graphics card.

Texture coords are not off as they are 0-1 anyhow.


DrakeX(Posted 2003) [#6]
"its the videocard thats the problem"

blitz will still resize the texture regardless of whether or not the card will handle it. my radeon 9500 can handle non-pow2 textures just fine, but blitz still resizes them. then again after thinking about it i'm not sure why you'd need non-pow2 textures anyway.

as for nonsquare textures -- blitz does allow you to use them. i use 16x32 textures for something and they don't get stretched (and the texturewidth and textureheight return 16 and 32).