General Question Need help with DDS converter 2

diogom

Well-known member
Joined
Aug 2, 2010
Messages
1,375
Reaction score
418
Points
98
I'm trying to convert a BMP file to DDS on DDS Converter 2, by Yannick Leon, but every time the conversion fails. It says "Error: [file name.bmp] size = not a power of 2". What does this mean, and how can I fix it?
 

Grover

Saturn V Misfire
Addon Developer
Donator
Joined
Oct 3, 2010
Messages
1,468
Reaction score
0
Points
0
Location
Ascension Island
it means that the size of your texture is not in the correct size

each dimension of the texture should be x^2 where x is any number, this gives you numbers:

2 4 8 16 32 64 128 256 512 1024 2048 4096

and so on

resize your texture to have each dimension any of those numbers, and you'll be fine
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
each dimension of the texture should be x^2 where x is any number
A little correction here: 2^x; (or [math]2^x[/math]) with x being a positive integer (or 0).

And you can add to that list 1 pixel too (2^0).
 

Grover

Saturn V Misfire
Addon Developer
Donator
Joined
Oct 3, 2010
Messages
1,468
Reaction score
0
Points
0
Location
Ascension Island
what use is a texture 1 pixel wide/tall? you may as well just define no texture and then assign different coloured materials
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
what use is a texture 1 pixel wide/tall? you may as well just define no texture and then assign different coloured materials
It could be 1 pixel tall but 1024 pixels wide for example with every pixel colored differently (and such textures could be used for Celestia type planetary rings).
 

diogom

Well-known member
Joined
Aug 2, 2010
Messages
1,375
Reaction score
418
Points
98
Converted! Thanks a lot! :thumbup:
 
Top