AMD Logo AMD Developer Central
AMD Developer Forums
Decrease font size
Increase font size
Topic Title: The Compressonator: Converting to DXT1 from the command line
Topic Summary:
Created On: 11/03/2009 01:27 AM
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 11/03/2009 01:27 AM
User is offline View Users Profile Print this message

Author Icon
damien27

Posts: 3
Joined: 11/03/2009

When converting a texture to DXT1 format from the GUI there is a option to include a 1-bit alpha channel.

Is this feature also available from the command-line?

My current argument is +fourCC DXT1.

 

 



Edited: 11/03/2009 at 01:43 AM by damien27
 11/04/2009 02:17 PM
User is offline View Users Profile Print this message

Author Icon
Seth.Sowerby@AMD.com

Posts: 9
Joined: 03/16/2008

Originally posted by: damien27 When converting a texture to DXT1 format from the GUI there is a option to include a 1-bit alpha channel.

 

Is this feature also available from the command-line?

 

My current argument is +fourCC DXT1.

 

 

Add +alpha_threshold N where N is the alpha threshold you which to use eg. to set pixels with an alpha value less than 128 to transparent use +alpha_threshold 128.

Seth.



-------------------------
The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. Links to third party sites are for convenience only, and no endorsement is implied.
 11/13/2009 01:54 AM
User is offline View Users Profile Print this message

Author Icon
damien27

Posts: 3
Joined: 11/03/2009

Thanks for the quick response. It worked great.

Is there a way to get a list of the available arguments for each plug-in?

Thanks again.

 

 11/13/2009 09:26 AM
User is offline View Users Profile Print this message

Author Icon
Seth.Sowerby@AMD.com

Posts: 9
Joined: 03/16/2008

Originally posted by: damien27 Thanks for the quick response. It worked great.

 

Is there a way to get a list of the available arguments for each plug-in?

 

Thanks again.

 

 

-plugins will list the available plugins.

-h PluginName will list the available arguments for that plugin. By default you'll be using ATICompressor for DXT1 compression so -h ATICompressor is what you need.

Seth.



-------------------------
The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. Links to third party sites are for convenience only, and no endorsement is implied.
 11/17/2009 04:48 AM
User is offline View Users Profile Print this message

Author Icon
damien27

Posts: 3
Joined: 11/03/2009

It worked a treat. Thanks for all the help.

Statistics
6123 users are registered to the AMD Developer Forums forum.
There are currently 1 users logged in.

FuseTalk Hosting Executive Plan v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.

Contact AMD | Terms and Conditions | Forum Rules | ©2009 Advanced Micro Devices, Inc. | Privacy | Trademark information