2D Toolkit Forum
2D Toolkit => Support => Topic started by: Syntinel on November 10, 2012, 07:21:12 pm
-
Hey,
So I am having a problem with High wastage on most of my atlas's. Here's one example:
81% wastage Image 1
(quality not the issue this image has is low-res)
(https://dl.dropbox.com/u/30493646/Random/AtlasPacking.jpg)
The textures Included are of size:
- 1x 512x64px
- 2x 256x64px
- 2x 128x64px
Here are the Settings:
(https://dl.dropbox.com/u/30493646/Random/AtlasSettings.jpg)
Inside Atlas Settings: I have not selected to force atlas size.
%Wasted is around 81% (this is my worst case atlas but most seem to be over 30%)
Any suggestions on how to deal with this, or tips for keeping the wastage low? I have read most all the forum posts on the topic but could not come across a solution. Thanks for your time!
-
This is because the 512x64 image, when padded out vertically will not fit in a 512x512 image. It doesn't need to be padded when it touches the edge, and this will be fixed in the next release. For now, a quick workaround, seeing that your images are static images - use sprite dicing on the tall thin one, set the dice size to 64x64 or something like that, and it'll fit in am much smaller texture overall.
-
Excellent, Thanks Unikron. This dropped it down to a 512x512 which is much more manageable. Loving the product so far, keep up the good work!