Closed TheJJ closed 8 years ago
It's funny because the problem is NP-complete and you tagged it "easy" :D
It seems really weird to tag a bin-packing problem as ”Easy” and “Just do it”. It reminds me of the first guys who researched computer vision. The legend goes they made a 3 month planning for “solving” it.
https://github.com/SFTtech/openage/blob/47294b90ee5410ff4e565edb22327155cf7eb02b/py/openage/convert/texture.py#L153
Implement efficient arrangement for all the textures grouped together on a big surface. https://en.wikipedia.org/wiki/Bin_packing_problem