Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


[Release] DXT Compressor


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 L. Spiro   Crossbones+   -  Reputation: 14197

Like
4Likes
Like

Posted 10 October 2012 - 01:54 PM

I posted my algorithm in the past for creating DXT-compressed images.

I have finally finished my tool for DXT compression.
You can read about it and find the download link here.
There are many options already supported and many more to come. I made the commands mostly compatible with those of nVidia’s tool to make it easier for those using it.


Feedback is welcome.
The algorithm is posted here:
DXT Compression Revisited


L. Spiro

Edited by L. Spiro, 10 October 2012 - 04:33 PM.

It is amazing how often people try to be unique, and yet they are always trying to make others be like them. - L. Spiro 2011
I spent most of my life learning the courage it takes to go out and get what I want. Now that I have it, I am not sure exactly what it is that I want. - L. Spiro 2013
I went to my local Subway once to find some guy yelling at the staff. When someone finally came to take my order and asked, “May I help you?”, I replied, “Yeah, I’ll have one asshole to go.”
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums

Sponsor:

#2 Ashaman73   Crossbones+   -  Reputation: 7987

Like
0Likes
Like

Posted 10 October 2012 - 11:41 PM

Great work spiro, tough I have one question.

How does it affect channels ? In other words, how good is it when used with more technically textures (normal maps with only two channesl, alpha channel etc.) ?

#3 L. Spiro   Crossbones+   -  Reputation: 14197

Like
0Likes
Like

Posted 10 October 2012 - 11:53 PM

You have full control. The -weight switch allows you to customize the weights of each channel.
For DXT5 compressions, the alpha is always “maximal” compressed. That is it is encoded with the provably most optimal key colors, so it works well with the standard way of storing normal maps with only the green and alpha channels used.

For anything else, the weights of each channel are in your hands.
It also has the option to normalize mipmaps.


L. Spiro
It is amazing how often people try to be unique, and yet they are always trying to make others be like them. - L. Spiro 2011
I spent most of my life learning the courage it takes to go out and get what I want. Now that I have it, I am not sure exactly what it is that I want. - L. Spiro 2013
I went to my local Subway once to find some guy yelling at the staff. When someone finally came to take my order and asked, “May I help you?”, I replied, “Yeah, I’ll have one asshole to go.”
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums

#4 Lightness1024   Members   -  Reputation: 739

Like
0Likes
Like

Posted 11 October 2012 - 02:58 AM

ah maybe a suggestion if you don't have it already (not seeing it in the option list), you have a swap R and B, which is great. But you should also have "redirect luminance into alpha" and a totally free swizzle system. Like in your weight option, you could make a little grammar where the weights are followed by a literal (optional) indicating the source channel.
so 0.5G 1R 1B 1A would go the grba swizzle.

#5 Ashaman73   Crossbones+   -  Reputation: 7987

Like
0Likes
Like

Posted 11 October 2012 - 03:33 AM

ah maybe a suggestion if you don't have it already (not seeing it in the option list), you have a swap R and B, which is great. But you should also have "redirect luminance into alpha" and a totally free swizzle system. Like in your weight option, you could make a little grammar where the weights are followed by a literal (optional) indicating the source channel.
so 0.5G 1R 1B 1A would go the grba swizzle.

If you could combine your channels from different files would be really cool Posted Image Posted Image Posted Image

#6 L. Spiro   Crossbones+   -  Reputation: 14197

Like
0Likes
Like

Posted 11 October 2012 - 08:52 AM

Those are both options I could possibly add in the future.


L. Spiro
It is amazing how often people try to be unique, and yet they are always trying to make others be like them. - L. Spiro 2011
I spent most of my life learning the courage it takes to go out and get what I want. Now that I have it, I am not sure exactly what it is that I want. - L. Spiro 2013
I went to my local Subway once to find some guy yelling at the staff. When someone finally came to take my order and asked, “May I help you?”, I replied, “Yeah, I’ll have one asshole to go.”
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS