• Welcome to PiBoSo Official Forum. Please login or sign up.
 
April 25, 2019, 06:15:52 pm

News:

GP Bikes beta15b available! :)


PaintED - DDS format

Started by Manu, November 14, 2018, 05:25:13 pm

Previous topic - Next topic

Manu

November 14, 2018, 05:25:13 pm Last Edit: November 14, 2018, 06:23:28 pm by Manu
I would like PaintED application to be able to support paintings in DDS format.

matty0l215

November 14, 2018, 05:31:26 pm #1 Last Edit: November 14, 2018, 05:43:36 pm by matty0l215
Doesn't it already?

I may be wrong :P

http://docs.piboso.com/wiki/index.php?title=Track_Creation_Rules#Textures

GPB only supports DDS textures...

h106frp

I use DDS DXT1 for textures without alpha and DDS DXT5 for textures with alpha and no issues with GPB.

Not all DDS exporters work very well (compatability, corrupted texture) but the google DDS plug-ins for GIMP seem to fix everything I have thrown at them. NVIDIA downloads do plug-ins, converters and viewers for a lot of apps.

Manu

November 14, 2018, 06:11:57 pm #3 Last Edit: November 14, 2018, 06:30:25 pm by Manu
PaintED application only supports TGA and BMP format when GP Bikes can support DDS format too.

TGA format is too heavy for large textures.

For example:

4K image

TGA: File size 48mb
DDS: File size 8mb DXT1 - 16mb DXT5

PiBoSo

November 14, 2018, 10:14:41 pm #4 Last Edit: November 14, 2018, 10:17:40 pm by PiBoSo
Quote from: Manu on November 14, 2018, 06:11:57 pm
TGA format is too heavy for large textures.

For example:

4K image

TGA: File size 48mb
DDS: File size 8mb DXT1 - 16mb DXT5


The file size doesn't matter, because all images are converted to an internal lossless compressed format.
Then, at load time, all textures are converted to DXT, unless they are used in shaders or texture quality is set to a value other than 3 and 4:
http://forum.piboso.com/index.php?topic=14.msg1934#msg1934

P.S.
It's also possible to force a texture to not be compressed at load time, using the "nocompress" flag:
http://docs.piboso.com/wiki/index.php?title=Track_Creation_Rules#Textures
"Obviously your ambition outweighs your talent".

Manu


PiBoSo

Quote from: Manu on November 14, 2018, 05:25:13 pm
I would like PaintED application to be able to support paintings in DDS format.


There are no plans to support DDS files in PaintED.
It is better to allow users to show the original, uncompressed texture, especially for liveries.
"Obviously your ambition outweighs your talent".