Author Topic: PaintED - DDS format  (Read 1673 times)

Manu

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
PaintED - DDS format
« on: November 14, 2018, 05:25:13 PM »
I would like PaintED application to be able to support paintings in DDS format.
« Last Edit: November 14, 2018, 06:23:28 PM by Manu »

matty0l215

  • Hero Member
  • *****
  • Posts: 3705
  • CAWS Racing #61
    • View Profile
Re: PaintED - DDS format
« Reply #1 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...
« Last Edit: November 14, 2018, 05:43:36 PM by matty0l215 »

h106frp

  • Hero Member
  • *****
  • Posts: 1889
    • View Profile
Re: PaintED - DDS format
« Reply #2 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.

Manu

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
Re: PaintED - DDS format
« Reply #3 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
« Last Edit: November 14, 2018, 06:30:25 PM by Manu »

PiBoSo

  • Administrator
  • Hero Member
  • *****
  • Posts: 2660
    • View Profile
Re: PaintED - DDS format
« Reply #4 on: November 14, 2018, 10:14:41 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
« Last Edit: November 14, 2018, 10:17:40 PM by PiBoSo »
Obviously your ambition outweighs your talent

Manu

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
Re: PaintED - DDS format
« Reply #5 on: November 14, 2018, 11:02:54 PM »
Thanks for the explain.

PiBoSo

  • Administrator
  • Hero Member
  • *****
  • Posts: 2660
    • View Profile
Re: PaintED - DDS format
« Reply #6 on: November 14, 2018, 11:12:25 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