PiBoSo Official Forum

GP Bikes => Suggestions and wishlist => Topic started by: Manu on November 14, 2018, 05:25:13 PM

Title: PaintED - DDS format
Post by: Manu on November 14, 2018, 05:25:13 PM
I would like PaintED application to be able to support paintings in DDS format.
Title: Re: PaintED - DDS format
Post by: matty0l215 on November 14, 2018, 05:31:26 PM
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...
Title: Re: PaintED - DDS format
Post by: h106frp on November 14, 2018, 05:50:41 PM
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.
Title: Re: PaintED - DDS format
Post by: Manu on November 14, 2018, 06:11:57 PM
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
Title: Re: PaintED - DDS format
Post by: PiBoSo on November 14, 2018, 10:14:41 PM
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
Title: Re: PaintED - DDS format
Post by: Manu on November 14, 2018, 11:02:54 PM
Thanks for the explain.
Title: Re: PaintED - DDS format
Post by: PiBoSo on November 14, 2018, 11:12:25 PM
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.