• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

DDS converting problem

Corn Shucker

Great Khorn
Joined
Feb 12, 2004
Messages
552
Location
Illinois, USA
Ok, I'm attepmting to change the backround for fredrick. It seems that (at least with his backround) Theres two layers, one for the building and one for the sky (that is animated) My plans are to just change the building (which can be seen the screenshot) but the height of the image had to be changed in order for it to work correctly- So I simply changed the size of the canvas and saved it. Then when I tryed to convert it back to a DDS file, I got this error message. Perhaps somone could help me solve this problem?
 

Attachments

  • problem3.jpg
    problem3.jpg
    38.5 KB · Views: 114
The error is because the height of the image isn't a power of two. 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024. It needs to be one of those (or any number that continues the pattern). DirectX is very specific about needing the width and height of all textures to be powers of two.
 
Thanks! It worked now, but doesnt work how I wanted it in game... so it looks like I wont be using it, but this will be helpful in the future.
 
Back
Top Bottom