Skip to content

doches/AtlasTool

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

AtlasTool.py

AtlasTool.py 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.

Usage

python AtlasTool.py [options]

Options:
  -h, --help            show this help message and exit
  -d DIR, --dir=DIR     (REQUIRED) Path to a directory containing desired
                        texture images.
  -s SURFACE_SIZE, --surface=SURFACE_SIZE
                        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'

About

Create OpenGL friendly texture atlases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages