go install github.com/intervinn/btxpack/cmd/btxpack@latest
Consumes folder of images, emits combined image and the metadata file
btxpack -src=/assets -out=atlas.png -meta=atlas.jsonline- places each assets one by one in a single lineshelf- fits all assets into a square with a size of power of two for better gpu something, uses a shelf algorithm for vertical stacking
- Added Shelf algorithm (
-alg=shelf)
- Refactor cmd arg parsing (remove cobra, use standard go flags)
- Add C codegen
- Initial release
MIT License.