Page 1 of 1

Missing textures in ZE - texture errors in MungeLog

Posted: Mon Dec 03, 2007 11:40 am
by TheDarkMask
Hey...I have a big problem.
I made a model and now in zero editor the textures are gone.

Here my MungeLog:
ERROR[PC_texturemunge BUILD_026sd.tga]:TextureMunge(build_026sd:550x346x1): Must have power of two dimensions!
ERROR[PC_texturemunge BUILD_026sd.tga]:TextureMunge(build_026sd:550x346x1): Must have power of two dimensions!
[continuing]
ERROR[PC_texturemunge BUILD_078.tga]:TextureMunge(build_078:550x502x1): Must have power of two dimensions!
ERROR[PC_texturemunge BUILD_078.tga]:TextureMunge(build_078:550x502x1): Must have power of two dimensions!
[continuing]
ERROR[PC_texturemunge DOORS_024.tga]:TextureMunge(doors_024:421x550x1): Must have power of two dimensions!
ERROR[PC_texturemunge DOORS_024.tga]:TextureMunge(doors_024:421x550x1): Must have power of two dimensions!
[continuing]
ERROR[PC_texturemunge FREESAMPLES_27.tga]:TextureMunge(freesamples_27:1600x1600x1): Must have power of two dimensions!
ERROR[PC_texturemunge FREESAMPLES_27.tga]:TextureMunge(freesamples_27:1600x1600x1): Must have power of two dimensions!
[continuing]
ERROR[PC_texturemunge TILES_009.tga]:TextureMunge(tiles_009:550x350x1): Must have power of two dimensions!
ERROR[PC_texturemunge TILES_009.tga]:TextureMunge(tiles_009:550x350x1): Must have power of two dimensions!
[continuing]

What i made wrong??
Please help me!!

-TheDarkMask

Re: Need Help!!! Please help me!

Posted: Mon Dec 03, 2007 11:44 am
by Caleb1117
Your textures need to be in a power of 2, aka square.
change them to sizes like:
128x128
256x256
512x512

Re: Need Help!!! Please help me!

Posted: Mon Dec 03, 2007 11:44 am
by Teancum
TheDarkMask wrote:Hey...I have a big problem.
I made a model and now in zero editor the textures are gone.

Here my MungeLog:
ERROR[PC_texturemunge BUILD_026sd.tga]:TextureMunge(build_026sd:550x346x1): Must have power of two dimensions!
ERROR[PC_texturemunge BUILD_026sd.tga]:TextureMunge(build_026sd:550x346x1): Must have power of two dimensions!
[continuing]
ERROR[PC_texturemunge BUILD_078.tga]:TextureMunge(build_078:550x502x1): Must have power of two dimensions!
ERROR[PC_texturemunge BUILD_078.tga]:TextureMunge(build_078:550x502x1): Must have power of two dimensions!
[continuing]
ERROR[PC_texturemunge DOORS_024.tga]:TextureMunge(doors_024:421x550x1): Must have power of two dimensions!
ERROR[PC_texturemunge DOORS_024.tga]:TextureMunge(doors_024:421x550x1): Must have power of two dimensions!
[continuing]
ERROR[PC_texturemunge FREESAMPLES_27.tga]:TextureMunge(freesamples_27:1600x1600x1): Must have power of two dimensions!
ERROR[PC_texturemunge FREESAMPLES_27.tga]:TextureMunge(freesamples_27:1600x1600x1): Must have power of two dimensions!
[continuing]
ERROR[PC_texturemunge TILES_009.tga]:TextureMunge(tiles_009:550x350x1): Must have power of two dimensions!
ERROR[PC_texturemunge TILES_009.tga]:TextureMunge(tiles_009:550x350x1): Must have power of two dimensions!
[continuing]

What i made wrong??
Please help me!!

-TheDarkMask

Your textures must be in a power of two. Here's some examples:

16x16
32x32
64x64
128x128
256x256
512x512
1024x1024
2048x2048

All of your textures are really odd sizes, and the munge doesn't like that.

*EDIT* Caleb beat me to it

Re: Need Help!!! Please help me!

Posted: Mon Dec 03, 2007 1:55 pm
by FragMe!
You should just be able to adjust most of those images to the closest power of 2 format but if you do you will most likely have to go in and readjust the UV mapping a bit to get it right on the model again. Example for the first one 550 x 346 do a two step process. First do a rescale (keeping aspect ratio) and change the 550 to 512 the second number should adjust automatically. Save this. Then make a file 512 x 512 square then paste in the file you just adjusted. Yes it will have a white line down one side but the texture will be realtively the same albeit somewhat smaller thus the need for UV adjustment.