atlas

A read-only mirror of https://git.kyotam.com/sigrid. It updates only from there.

Sigrid Haflínudóttirupdate a link174e9476 years agoHistory
NameLast commit messageLast commit date
.gitignore
atlas.c
atlasc
LICENSE
mkfile
README.md
stb_rect_pack.h
README.md

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 to be installed):

atlasc -b 0x000000ff -c grey8 *.png >atlas_priv.h >[2]atlas.h

Installing

Clone, run mk install.

Install hx to use atlasc script.

TODO

Sub-atlases?

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t