What's the logic for atlas image placement?

If I have 9 cat images each 128x128 named from cat_1 to cat_9 what is the logic that places them in an atlas and is it guaranteed to be consistent?

It seems like the order is sometimes consistent if the order in which images are added to an atlas are consistent

We use the texture packer algorithm from libgdx, but you shouldn’t really rely on any kind of consistency.

3 Likes