Atlas merge algorithm (Improved)

. Bowen wrote before the merger of Atlas merger Atlas , recently improved version, the resulting atlas can be aligned to a specific grid, which for the paintings by the tile fill brush is useful, for example: TileMap , RPG Maker . Commonly used Atlas packaged software TexturePacker seemingly does not support this feature grid alignment.

Compared to the previous algorithm:

  • Optimized compression algorithm, resulting atlas is more compact.
  • Added pixel alignment, offset, and other parameters of the interval.
  • Atlas can be added to the output png files.

The combined results:

32 pixels aligned pixel interval, the portfolio combined pixel offset 0

download link

Guess you like

Origin www.cnblogs.com/mmc1206x/p/11741656.html