Sprite Atlasing?

Community Forums/General Help/Sprite Atlasing?

*(Posted 2010) [#1]
Has anyone used it, is it any good and is it easy to create?

:)


Htbaa(Posted 2010) [#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 2010) [#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 2010) [#4]
Looks to me like a normal tileset/spritesheet? No?


Floyd(Posted 2010) [#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 2010) [#6]
http://www.ooeyug.com/texpac

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


ImaginaryHuman(Posted 2010) [#7]
So it's a sprite sheet?


Matty(Posted 2010) [#8]
I'm pretty sure there's a box packing routine in the code archives somewhere....


Matty(Posted 2010) [#9]
Here!

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

By the most helpful of fellows in Fredborg!


*(Posted 2010) [#10]
Thanks guys will have a look :D