Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize polygon packing #41

Open
TheCodez opened this issue Dec 31, 2016 · 3 comments
Open

Optimize polygon packing #41

TheCodez opened this issue Dec 31, 2016 · 3 comments

Comments

@TheCodez
Copy link
Contributor

TheCodez commented Dec 31, 2016

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

@TheCodez
Copy link
Contributor Author

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

@amakaseev
Copy link
Owner

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

@amakaseev
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants