Auto image atlas tool
Monkey Forums/Monkey Programming/Auto image atlas tool
| ||
Hi, I was wondering if there are automatic atlas maker tools to create optimized image atlases automatically just based on optimization of free space on the bitmap. Its just putting bunch of rectangles in one square after all. EDIT: Sorry question was to obvious :) Texture packer is the tool Bladum |
| ||
I will be releasing one fairly soon which will directly support monkey. More Info here: http://www.skn3.com/apps/objecty |
| ||
I wrote one for bmx a long time ago which I'm now using in monkey. I've ported the pacImage mod over as well as I will be using part of it in my framework. if interested I can get the monkey mod online as well. the website was just updated a month ago or so... http://ooeyug.com/texpac |
| ||
@dmaz is it possible in Your tool to increase output image to more then 1024x1024 its quite small for modern devices |
| ||
actually you can type in larger dimensions right at those drop-downs. I have noticed a problem with fonts on windows 7 and the version on the site so I will have to upload a slightly newer version this weekend. |
| ||
This one is very efficient: http://spritesheetpacker.codeplex.com/ But you can't save your project to pick up where you left off... Which is why texture packer (http://www.texturepacker.com) is the best and most of us here have made classes to support it. Here's mine: http://www.monkeycoder.co.nz/Community/posts.php?topic=1216 which I made with the idea that you start with LoadImage() for a quick prototype, and then when you're ready to transition to the atlas, you use myatlas.Grab() with the same parameters making for an easy transition. |
| ||
btw, I have thrown a version up that I use that has basic graphic filters which I tend to use most like gradient and outline. Texpac does bitmap fonts as well as just combining pics. while the app could use an update it's free and gets the job done for me. I've put a quick dirty port of my BlitzMax mod with simple example as well. |
| ||
there are still problems with 4096x4096 which is maximum size of the raster for android as far as i know, only 2048x2048 works |
| ||
hmmm, I was able to successfully save images of that size on my computers. what OS and video card are you trying this on? |
| ||
windows 7 32 bit, its crashing at 4096x4096 anyway what is maximum raster size for iphone / android ? Does my problem has any meaning anyway ? |
| ||
what video card and do you have updated drivers? you have to query each the hardware to know for sure. iphone up to 3g supports a max size of 1024x1024 while the newer ones support 2048x2048. android with G1 video is 1024x1024. do you really need bigger? |