OpenArena Message Boards

OpenArena Contributions => Maps => Topic started by: hyp3rfocus on September 14, 2007, 04:40:37 PM



Title: texture resolutions
Post by: hyp3rfocus on September 14, 2007, 04:40:37 PM
i know that normally textures are along the lines of 128x128, 256x256, 512x512 etc, but why is this?

i've tried differently sized textures and they work, so is it that the engine works better with these sizes?


Title: Re: texture resolutions
Post by: fromhell on September 14, 2007, 10:20:16 PM
If you don't stick with the power of two, you'll:
- be all misaligned in tiling
- slow down video cards
- increase loading times
- look like crap when it tries to resize to another resolution on load

video cards don't support odd texture resolutions unless it's a Geforce8.


Title: Re: texture resolutions
Post by: hyp3rfocus on September 14, 2007, 11:54:37 PM
thanks for clearing that up.

is it ok to use rectangular textures that use power of two measurements like 256x128?


Title: Re: texture resolutions
Post by: kit89 on September 15, 2007, 12:02:36 AM
Quote
is it ok to use rectangular textures that use power of two measurements like 256x128?

Yes.


Title: Re: texture resolutions
Post by: hyp3rfocus on September 15, 2007, 01:48:42 AM
cool. thanks kit89.