shithub: atlas


branches: master

Clone

clone: git://shithub.us/sigrid/atlas gits://shithub.us/sigrid/atlas
push: hjgit://shithub.us/sigrid/atlas
patches to: sigrid on 9gridchan, or [email protected]

Last commit

174e9471 – Sigrid Haflínudóttir <[email protected]> authored on 2020/05/07 12:59
update a link

About

# atlas

Creates an atlas texture out of smaller images, dumps it to stdout as
a Plan 9 image and write the mapping between filenames of images and
their positions and dimensions to a file.

Dumping the resulting image file as two headers to be included in a C
program can be done by using provided `atlasc` script (it needs
[hx](https://git.sr.ht/~ft/hx) to be installed):
```
atlasc -b 0x000000ff -c grey8 *.png >atlas_priv.h >[2]atlas.h
```

## Installing

Clone, run `mk install`.

Install [hx](https://git.sr.ht/~ft/hx) to use `atlasc` script.

## TODO

Sub-atlases?