Ideal texture atlas image sizes?

Posts: 14
Joined: 2010.09
Post: #1
Hey guys,

Just a little background...I am using Adobe Illustrator to create my textures before exporting them to a 1024x1024 .png atlas. I am then using OpenGL to push my textures onto the screen using a texturedQuad. Since Illustrator is a vector based art software, it is hard for me to judge an ideal texture size on my atlas. If I export my atlas with very small texures (say 20 by 20 px) the quality suffers when they are rastered. If I export my textures with over-scaled dimensions, I will be wasting needed space.

Basically, at what dimensions will I be able to get clean images while still efficiently using atlas space?

Thanks in advance for any help you can supply.
Quote this message in a reply
Posts: 1,483
Joined: 2002.09
Post: #2
You need to export them at the size they'll be drawn on the screen. So it depends on what the maximum screen resolution you want to support and how the sprites are scaled when drawn.

Scott Lembcke - Howling Moon Software
Author of Chipmunk Physics - A fast and simple rigid body physics library in C.
Quote this message in a reply
Post Reply