thennequin / Texeled

Almost handmade simple texture viewer and editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Texeled

Build status Codacy Badge Code inspector CodeFactor

Download the latest development build

Almost handmade simple texture viewer and editor for Windows written in C/C++

Name origin : Texeled is the combination of Texel and Ed

  • Texel : a texel, texture element, or texture pixel is the fundamental unit of a texture map. (from Wikipedia)
  • Ed : short version of Editor

Demo

Support:

  • Features:

    • Fast launch
    • Small (less than 1 MB)
    • Conversion between pixel formats
    • Create simple mip maps
  • Loading:

    • DDS
    • KTX (Work In Progress)
    • PNG (via libpng)
    • JPG (via stb_image)
    • TGA (via stb_image)
    • BMP (via stb_image)
    • EXR (via tinyexr)
  • Writing:

    • DDS
    • PNG (via stb_image_write)
    • TGA (via stb_image_write)
    • EXR (via tinyexr)
  • Pixel formats:

    • R8 UNorm
    • RG8 UNorm
    • RGB8 UNorm
    • BGR8 UNorm
    • RGBA8 UNorm
    • BGRA8 UNorm
    • R5G6B5 UNorm
    • B5G6R5 UNorm
    • RGB16 UNorm
    • RGB16 Half
    • RGBA16 UNorm
    • RGBA16 Half
    • R32 Float
    • RG32 Float
    • RGB32 Float
    • RGBA32 Float
    • R10G10B10A2 UNorm
    • R9G9B9E5 Float (shared exp)
    • D16 UNorm
    • BC1 (DXT1) *
    • BC2 (DXT2/3) *
    • BC3 (DXT4/5) *
    • BC4 *
    • BC5 *
    • BC6H *
    • BC7 *

    * BCX compression/uncompression use Compressonator with default settings


How to build

Requirement :

  • Windows
  • Visual Studio 2017
  • git
  • Internet

Steps :

  • Open cmd or powershell
  • Set terminal working dir
    cd <you working directory>
  • Clone Texeled
    git clone https://github.com/thennequin/Texeled.git
  • Set Texeled as current directory
    cd Texeled
  • Init submodules (ImWindow including ImGui and EasyWindow)
    git submodule update --init --recursive
  • Transform resources (png, ico, ...) into code (cpp, h)
    scripts\EmbedResources.bat
  • Generate a solution for Visual Studio 2017
    scripts\build.bat vs2017
  • Launch the solution
    .projects\vs2017\Texeled.sln
  • Build it, debug it, do what you want

About

Almost handmade simple texture viewer and editor

License:MIT License


Languages

Language:C++ 96.3%Language:C 2.7%Language:Lua 0.6%Language:Batchfile 0.4%