GPUOpen-Tools / compressonator

Tool suite for Texture and 3D Model Compression, Optimization and Analysis using CPUs, GPUs and APUs
1.29k stars 194 forks source link

RXGB dtx5 with a quality of 1 it don't load #252

Open y2keeth opened 1 year ago

y2keeth commented 1 year ago

RXGB dtx5 with a quality of 1 it don't load in quake 4 but the one I did in gimp does

y2keeth commented 1 year ago

quality 1

y2keeth commented 1 year ago

uploaded the dds here https://drive.google.com/file/d/1MkrBWzrJsaQsdP_HuMvjF0aUkmbcbTyQ/view?usp=sharing

denislevesqueAMD commented 1 year ago

@y2keeth Does it work when you choose a quality setting that isn't 1.0? What is the format of the source file used for compression?

y2keeth commented 1 year ago

have not tried a lower setting, trying to get the highest quality the source file is a tga I just get a black texture in quake 4 but the same format in gimp loads fine

I hoped the 1 would give me a better quality one than the gimp did

y2keeth commented 1 year ago

tried the stock setting and no it does not load either

denislevesqueAMD commented 1 year ago

@y2keeth Since all of your issues are related, can we please keep the discussion to only this issue and close the others? Having to juggle all the different issues and where to reply to your comments makes things harder to follow.

In your comment on issue #250 you seem to misunderstand what I meant when I said RGBA_8888. It is not a compression format, it is a uncompressed format that contains raw pixel data. Think something like a BMP file. So it is not possible to have something "compressed" into RGBA_8888.

I don't know much about the idTech engine used for games like Quake 4, but from doing a bit of research it looks like they might use a very specific type of DXT5 compression for their normal maps that might have been removed from Compressonator many years ago. So that might be why you are getting a black texture in the game. Though it could also be that you are compressing a texture that isn't a normal map using DXT5 and trying to load that, which isn't what the game expects.

This page has some information that might be useful: https://modwiki.dhewm3.org/Texturing#compressed-and-uncompressed

y2keeth commented 1 year ago

my normals are still tga so no RXGB (DXT5) uncompressed is what I am looking for so. the RXGB (DXT5) from gimp loaded just fine so. RXGB from compressonator nope on 1 or 0.5

i thought maybe RGBA_8888 could be a way to get there

y2keeth commented 1 year ago

this one is truely a bug since RXGB (DXT5) from compressonator dont load I closed the other one

y2keeth commented 1 year ago

@y2keeth Does it work when you choose a quality setting that isn't 1.0? What is the format of the source file used for compression?

nope and tga

y2keeth commented 1 year ago

what I did on the other post that was pretty good was added the dds from gimp into compressonator an then used RGBA_8888 on that which worked in game also. the resulting dds was bigger than the tga but zipped up it was smaller so good for a pk4 may do this if I can get RXGB with a 1 quality

y2keeth commented 1 year ago

RXGB dont work at all from compressonator any of them tried some special old versions also

y2keeth commented 1 year ago

uploaded a working one here so maybe you can see whats wrong with yours https://drive.google.com/file/d/1Mt2jUYFhglcg1K1cIJ8xnT8LG63bd9HE/view?usp=sharing

y2keeth commented 1 year ago

forget all my uncompressed nonsense

stick with the fact rxgb dtx5 does not work at all and would like it to work with the quality of 1

y2keeth commented 1 year ago

downloaded the new version and i don't even see it in there no more

denislevesqueAMD commented 1 year ago

@y2keeth We will be looking into this.

y2keeth commented 1 year ago

great thanks