Texture resampling


Watchtower
01-11-2005, 06:54 PM
Hey guys, I need to resample a texture thats right now:

418wx539h



I dont remember the powers available for hl2, i know its not just divisible by 16, cuz gingerlord told me, problem is i dont remember what the acceptable sizes are.

Are these it?

16
32
64
128
256
512
768??
1024

what size should I resample to give the current image properties to make it HL2 compatible?

thanks
WT

kleinluka
01-11-2005, 08:21 PM
no 768 but the rest is fine

Gorbachev
01-11-2005, 11:58 PM
I think 512x512 is the max for HL...past that it is either not supported or has a high chance of being incompatible with a lot of systems. Even anything larger than 256x256 will give a warning when compiling that it might be too large. It's in the realm of the "too many wads" in can cause problems, but it could also work fine...you just don't know.

And looking at that, I believe it's powers of 2 that work.

Craftos
01-12-2005, 12:54 AM
Originally posted by kleinluka
no 768 but the rest is fine
^ + 1024 is risky, better don't use it.

El Capitan
01-12-2005, 06:12 AM
512x512 is the max for HL and 2048x2048 is the max for HL2 I think..basically its powers of 2, anything over 512x512 in hl2 though and your asking for lag on lower-end systems!

Trp. Jed
01-12-2005, 09:29 AM
Oh and it doesnt have to be the same width and height - power of 2 yes, but you can have say 1024x512 or 64x2048, etc.

Also dont think just because you can go 2048x2048 you should - its a real hog on memory and resources and makes life hell for low spec users - aim for the smallest size you can while retaining a reasonable level of detail.

Oh and things like normal maps, etc. DONT have to be the same size as the main texture. You can have say a stone wall texture of 512x512 but a normal map of 256x256.

Always go as low as feasable, its kinder. Think of the children.

Watchtower
01-12-2005, 12:50 PM
yeah thanks guys, I dont have Hl2 yet to test all these textures ive been making, but most have been 512x512 anyways.

I hate having to strectch the textures, I wish we could use any size that was divisible by 16. That would be nice.

Thanks again everyone

izuno
01-12-2005, 03:46 PM
Originally posted by Trp. Jed
Oh and it doesnt have to be the same width and height - power of 2 yes, but you can have say 1024x512 or 64x2048, etc.


really?

kleinluka
01-12-2005, 10:02 PM
I always wondered who Cpt.Obvious was, now i know it's jed!

Trp. Jed
01-14-2005, 09:39 AM
Originally posted by kleinluka
I always wondered who Cpt.Obvious was, now i know it's jed!

Back in your box you :P

Just pointing it out as I'm always seeing posts quoting power-of-2 textures as 512x512, or 256x256, etc.

Obvious though it is to us, some newer mappers and modelers thing its a rule that width and height have to be the same.
I've seen player modesl with a 512x512 texture with only the top half of the texture being used.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.