All Projects → paladin-t → Framepacker

paladin-t / Framepacker

Licence: mit
An open source implementation of a texture bin packing algorithm. It's similar to texture tools like the TexturePacker.

Projects that are alternatives of or similar to Framepacker

Packer Templates
Packer templates for Vagrant base boxes
Stars: ✭ 471 (+1582.14%)
Mutual labels:  packer
Matcaps
Huge library of matcap PNG textures organized by color
Stars: ✭ 607 (+2067.86%)
Mutual labels:  texture
Ascollectionflexlayout
A custom collection layout that allows to use Texture layout specs in ASCollectionNode.
Stars: ✭ 24 (-14.29%)
Mutual labels:  texture
Packer Boxes
Jeff Geerling's Packer build configurations for Vagrant boxes.
Stars: ✭ 495 (+1667.86%)
Mutual labels:  packer
Terratest
Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.
Stars: ✭ 5,797 (+20603.57%)
Mutual labels:  packer
Imogen
GPU Texture Generator
Stars: ✭ 648 (+2214.29%)
Mutual labels:  texture
Unity Texture Packer
🔨 Utility to combine color channels from different textures into a single output.
Stars: ✭ 429 (+1432.14%)
Mutual labels:  texture
Gli
jvm gli
Stars: ✭ 21 (-25%)
Mutual labels:  texture
Amber
Reflective PE packer.
Stars: ✭ 594 (+2021.43%)
Mutual labels:  packer
Fdb Cloud Test
Packer + Terraform setup to experiment with FDB clusters in the cloud.
Stars: ✭ 23 (-17.86%)
Mutual labels:  packer
Packer Builder Vsphere
Packer plugin for remote builds on VMware vSphere
Stars: ✭ 531 (+1796.43%)
Mutual labels:  packer
Texture Vs Shape
Pre-trained models, data, code & materials from the paper "ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustness" (ICLR 2019 Oral)
Stars: ✭ 556 (+1885.71%)
Mutual labels:  texture
Android 3d Model Viewer
Android OpenGL 2.0 application to view 3D models. Published on Play Store
Stars: ✭ 809 (+2789.29%)
Mutual labels:  texture
Avatarme
Public repository for the CVPR paper AvatarMe
Stars: ✭ 472 (+1585.71%)
Mutual labels:  texture
Gentoo Build
shell scripts that builds systemd based gentoo box for x86_64 platform
Stars: ✭ 24 (-14.29%)
Mutual labels:  packer
Packer.nvim
A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
Stars: ✭ 418 (+1392.86%)
Mutual labels:  packer
Luminance Rs
Type-safe, type-level and stateless Rust graphics framework
Stars: ✭ 632 (+2157.14%)
Mutual labels:  texture
Bcnencoder.net
Cross-platform texture encoding libary for .NET. With support for BC1-3/DXT, BC4-5/RGTC and BC7/BPTC compression. Outputs files in ktx or dds formats.
Stars: ✭ 28 (+0%)
Mutual labels:  texture
Rxdatasources Texture
ASTable and ASCollection Data Sources for RxSwift (Texture)
Stars: ✭ 25 (-10.71%)
Mutual labels:  texture
Malboxes
Builds malware analysis Windows VMs so that you don't have to.
Stars: ✭ 900 (+3114.29%)
Mutual labels:  packer

framepacker

framepacker is a freeware which implements a texture bin packing algorithm. It's similar to texture tools like the TexturePacker. You are free to use, copy, modify or distribute it under the MIT license.

It implements a bin packer algorithm refer to the Binary Tree Bin Packing Algorithm.

Compile

A C++ 11 compiler is required to compile the source code. The framepacker::packer template class in framepacker.hpp is the algorithm implementation. And it offers a specialization in framepacker.cpp using stb image.

Usage

It works as a command line tool:

  • framepacker FILE_LIST [-o output_file] [OPTIONS] - Packs some images
  • FILE_LIST
    • := file * : Eg. file1.png file2.png
  • OPTIONS
    • := -p N : Padding, default to 1
    • := -s MxN : Expected texture size, eg. 256x512, may enlarge result
    • := -t : Disable rotation
    • := -w : Disable forcing texture to POT (Power of 2)
    • := -m : Disable alpha trim

Eg. "framepacker foo.png bar.png -o out", it generates a packed out.png image and another out.json meta data which includes packing information to look up slices from the image.

Performance

framepacker is fast, it packs 200 textures in less than 0.15s on common desktop machines at 2015.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].