Important information: this site is currently scheduled to go offline indefinitely by end of the year.

.dds file format

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
Crackshot
ultra-n00b
Posts: 4
Joined: Sun Jan 05, 2020 4:42 am

.dds file format

Post by Crackshot »

Hello,

I am in search of a program that I can save the following format of .dds file, can anyone help me with this? I have not been able to find anything that will do it yet. The format is as follows:

Format 32 bits (float): 11 bits red, 11 bits green, 10 bits blue, Linear color space with ALPHA CHANNEL

TIA
episoder
mega-veteran
mega-veteran
Posts: 162
Joined: Fri Oct 16, 2015 8:05 pm
Has thanked: 6 times
Been thanked: 78 times

Re: .dds file format

Post by episoder »

ehh... this format? shouldn't work as you want. this 32 bits will never be able to hold floating point format and the r11g11b10f has no alpha channel. the closer possible formats are

32 bit - r10g10b10a2 (known as hi10 surface) integer with 4 possible alpha values, or...
64 bit - r16fg16b16a16f which is floating point at half precision and alpha channel.

maybe another higher rgb bit count is the DXGI_FORMAT_R9G9B9E5_SHAREDEXP format at 32 bits. i dunno if this would work as alpha hack tho.
TheUkrainianBard
beginner
Posts: 21
Joined: Wed Jun 28, 2017 7:51 pm
Has thanked: 4 times
Been thanked: 20 times

Re: .dds file format

Post by TheUkrainianBard »

DXGI_FORMAT_R11G11B10_FLOAT actually exists and there is some use for it, according to this twitter thread
Crackshot
ultra-n00b
Posts: 4
Joined: Sun Jan 05, 2020 4:42 am

Re: .dds file format

Post by Crackshot »

TheUkrainianBard wrote: Tue Jan 07, 2020 5:30 pm DXGI_FORMAT_R11G11B10_FLOAT actually exists and there is some use for it, according to this twitter thread
Yes it does and the game Farming Simulator 19 is utilizing it. They are using this format of .dds to control the shape of 3d rubber tracks with color spectrum. I can open the file and edit it with paint.net but I can not save the file in the correct format for the game engine to recognize. That is why I am searching for a way to save it correctly.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: .dds file format

Post by Acewell »

you can use texconv to convert to R11G11B10_FLOAT :D
https://github.com/Microsoft/DirectXTex/wiki/Texconv

Code: Select all

texconv -f R11G11B10_FLOAT -px conv_ your.dds
Crackshot
ultra-n00b
Posts: 4
Joined: Sun Jan 05, 2020 4:42 am

Re: .dds file format

Post by Crackshot »

Acewell wrote: Wed Jan 08, 2020 1:43 am you can use texconv to convert to R11G11B10_FLOAT :D
https://github.com/Microsoft/DirectXTex/wiki/Texconv

Code: Select all

texconv -f R11G11B10_FLOAT -px conv_ your.dds
Thank you Acewell, I have downloaded the program but for some reason it can not get the program to open, it pops up for a split second and then closes immediately, any idea's? Tried running as an administrator and in compatibility mode
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: .dds file format

Post by Acewell »

texconv is a command-line tool, you must run it from command prompt. :D
Crackshot
ultra-n00b
Posts: 4
Joined: Sun Jan 05, 2020 4:42 am

Re: .dds file format

Post by Crackshot »

Acewell wrote: Wed Jan 08, 2020 7:03 am texconv is a command-line tool, you must run it from command prompt. :D
Acewell after further reading last night I did figure that much out, I tried running it as a command prompt line and kept getting an error. Do you know of any video tutorials on how to do this, I tried searching for one with no luck, I can post the error it was giving me later tonight
SilesVyr

Re: .dds file format

Post by SilesVyr »

Acewell wrote: Wed Jan 08, 2020 7:03 am texconv is a command-line tool, you must run it from command prompt. :D
Hey Acewell, I have been trying to contact you for a while, I would like you to help me please, I really need you. Is that possible ?
Post Reply