Skip to content

NCCA/TextureCompressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Texture Compression

alt tag

A series of demos to show how to create and then use DXT compressed textures.

Note these may not work on some linux drivers (nouveau / Mesa3D as compressed texture support doesn't seem to work)

Compressor Is a simple command line tool to create basic DxT1,3,5 textures to be used with glCompressedTexImage2D formats.

This tool takes command line arguments to change the different compressions and will attempt to convert and save all valid image files it is passed on the command line.

It requires linking to SDL2 SDL2_image and the squish library.

Minimal error checking is done so it may not always work.

DXTViewer is a simple tool to load in the compressed files and view them. You can specify the name of the file on the command line or use the file open dialog presented at startup. Use o to reload a file.

Compressor is a tool to compress a series of texture files into one packed texture file. The command line options are similar to the TetureCompressor program but has the option to specify the output.

PackTool is a tool to compress a series of texture files into one packed texture file. The command line options are similar to the TetureCompressor program but has the option to specify the output.

PackViewer is a tool to view the packed texture files and also contains the essential TexturePack class which may be used in your own projects to load in the packed textures.

About

Using Different Texture Compression methods in OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published