Create OpenGL friendly texture atlases
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

README.mdown is a tool for creating texture atlases for use in OpenGL. It uses Pygame (SDL) to render individual images into a single large texture, and outputs a texture atlas indicating the position and size of each image within the resulting image.


python [options]

  -h, --help            show this help message and exit
  -d DIR, --dir=DIR     (REQUIRED) Path to a directory containing desired
                        texture images.
                        Size of the surface into which to render, of the form
                        WIDTHxHEIGHT). Defaults to 512x512.
  -o OUTPUT, --output=OUTPUT
                        Filename to use when saving the texture and atlas.
                        Defaults to 'texture'