texture sizes
-
Topic authorbillybob884
- Posts: 986
- Joined: 16.08.2002
- With us: 22 years 3 months
- Location: USA, East Coast
texture sizes
Is the requirement that all textures must be a power of 2 something for memory efficency, or just something that happened when celestia was compiled, or uh... i guess the point i'm trying to make is maybe for a future version, like 1.2.6 or something, could texture sizes be a little more um... flexible?
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 10 months
- Location: Seattle, Washington, USA
texture sizes
billybob884 wrote:Is the requirement that all textures must be a power of 2 something for memory efficency, or just something that happened when celestia was compiled, or uh... i guess the point i'm trying to make is maybe for a future version, like 1.2.6 or something, could texture sizes be a little more um... flexible?
All current graphics hardware requires textures with power of two sizes (there is limited support for non-power of two textures, but you lose critical features like mipmapping.) This means that and textures that don't have power of two dimensions get rescaled to a different size. This scaling is done in the OpenGL driver, and the resulting quality is not as good as you would get if you did the rescaling in an image editing program. So rather than allowing driver to rescale textures, Celestia simply rejects non power of two textures.
--Chris