General CompressedData question

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Helvecta
Party member
Posts: 167
Joined: Wed Sep 26, 2012 6:35 pm

General CompressedData question

Post by Helvecta »

The wiki glosses over what exactly is needed to generate these "standard compressed formats", and every time I've looked into how to accomplish it, I am presented not with the process, but the results ("Oh, 3DC is great! You need this in your life! Inject yourself with DXT5!!"), so I post this asking to know - in layman's terms, if possible - pretty much everything about this subject.

Is it something you use an application to create? Or is it more like how a shader works? are there actual files with .3dc extensions? Or is it just the name of the method? If it's the method then where is the process stored, in its own function? If it's a file where do you find these files?

Help is appreciated!
User avatar
slime
Solid Snayke
Posts: 3142
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: General CompressedData question

Post by slime »

All the compressed formats LÖVE supports use the DDS (Direct Draw Surface) file format as a container, which has the .dds extension.

There are several tools which can convert standard images on disk to DXT1/DXT5/BC5/etc. Here are a few:

https://code.google.com/p/nvidia-texture-tools/
https://developer.nvidia.com/nvidia-tex ... -photoshop
https://code.google.com/p/gimp-dds/
http://www.visualstudio.com/en-us/downloads
User avatar
Helvecta
Party member
Posts: 167
Joined: Wed Sep 26, 2012 6:35 pm

Re: General CompressedData question

Post by Helvecta »

Oho man, I feel like a dingus now. Thanks for pointing me in the right direction, Slime! :nyu:
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 5 guests