Home
Products
Community
Manuals
Contact
Login or Signup

Sprite Atlasing?

Miscellaneous Forums/General Help/Sprite Atlasing?

EdzUp[GD](Posted 1+ years ago) #1
Has anyone used it, is it any good and is it easy to create?

:)


Htbaa(Posted 1+ years ago) #2
What is sprite atlasing? Did a quick search on Google but couldn't find any clear explanation. Wikipedia also doesn't have it covered, and if it isn't on Wikipedia, it doesn't exist :-P.


Floyd(Posted 1+ years ago) #3
I assume he means a texture atlas, applied to quads which are used in place of sprites.

If you've ever looked at the images used as textures for a complicated model you've probably seen a texture atlas. It's a bunch of little images packed into one big one.

This page gives you the basic idea.


Htbaa(Posted 1+ years ago) #4
Looks to me like a normal tileset/spritesheet? No?


Floyd(Posted 1+ years ago) #5
If the little subimages are all the same size then this is easy. But if not then packing them efficiently is a challenging task. That's why they have tools for it.


dmaz(Posted 1+ years ago) #6
http://www.ooeyug.com/texpac

if there is interest I could update it... I still use a slightly modified version.


ImaginaryHuman(Posted 1+ years ago) #7
So it's a sprite sheet?


Matty(Posted 1+ years ago) #8
I'm pretty sure there's a box packing routine in the code archives somewhere....


Matty(Posted 1+ years ago) #9
Here!

http://blitzbasic.com/codearcs/codearcs.php?code=1208

By the most helpful of fellows in Fredborg!


EdzUp[GD](Posted 1+ years ago) #10
Thanks guys will have a look :D