sprite-sheet-packer icon indicating copy to clipboard operation
sprite-sheet-packer copied to clipboard

Optimize polygon packing

Open TheCodez opened this issue 9 years ago • 3 comments

@amakaseev could you take a look at optimizing the polygon packing algorithn. It's really slow at the moment

TheCodez avatar Dec 31 '16 12:12 TheCodez

Increasing the step value from 5 to 20 improves time a lot and only generates a slightly bigger atlas.

TheCodez avatar Dec 31 '16 13:12 TheCodez

it is possible to try to set a step depending on the volume of sprites...

amakaseev avatar Dec 31 '16 16:12 amakaseev

also profiling to measure the slowest place and to try to optimize it

amakaseev avatar Dec 31 '16 16:12 amakaseev