Jump to content
How to Install Plugins ×

DDS FileType Plus (03-05-2023)


null54

Recommended Posts

  • 5 months later...

Hello, I would like to request a new feature.

GIMP's DDS plugin allows importing a picture's mipmaps as separate layers, edit them independently and save them to a DDS file as they are instead of generating new ones from the mip0 image. This is unorthodox, but I use it to create kit textures for PES which change color depending on the camera distance (and therefore depending on the mipmap used for texturing the player's kit models). It all works fine but I would prefer to be able to use PDN for everything, as editing images on GIMP is often a hassle compared to it.

 

file-dds_2022-12-03_23-41-45.png.8c71eb8e2a6f603694f30edf09b176e9.png

gimp-2.10_2022-12-03_23-40-51.png.d43f81f9500949a1d43ce4a57fe710cd.png

A friend of mine does the same but he uses Photoshop's DDS plugin, which instead of importing every mipmap to a different layer creates a mosaic.

 

image.png.7dec45fb84924109dccbbc3b14223336.png

Can you please implement whichever of these two solutions is simpler to you? (In case they're equal, I would prefer the first solution)

 

Link to comment
Share on other sites

2 hours ago, Shakes4cc said:

Can you please implement whichever of these two solutions is simpler to you?

 

There currently is no easy way to support multiple layers in this plugin.

I plan to eventually support loading mipmaps and cube maps as layers, once the Paint.NET plugin API adds the features that I need for it.

 

2 hours ago, Shakes4cc said:

A friend of mine does the same but he uses Photoshop's DDS plugin, which instead of importing every mipmap to a different layer creates a mosaic.

 

What DDS plugin is that?

None of the Photoshop DDS plugins I could find have that behavior.

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

1 hour ago, hf61 said:

I am wondering which is the proper way to save dds like 8.8.8.8 ARGB 32 bpp/RGBA8 in Gimp 2.8 

 

B8G8R8A8 (Linear, A8R8G8B8) should be the equivalent format in this plugin.

  • Haha 1

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

3 hours ago, hf61 said:

btw may I ask how to compress dds file? 

 

To compress a file you would select one of the BC formats in the list, e.g. BC7.

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

  • null54 changed the title to DDS FileType Plus (01-20-2023)

Release version 1.11.0.

 

This release is for Paint.NET 5.0+.

Changes:
  • Updated DirectXTex to the December 15, 2022 release.
  • Detect if the image using the wrong file extension and load it using the appropriate Paint.NET FileType.
  • Like 1
  • Upvote 1

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

  • null54 changed the title to DDS FileType Plus (01-31-2023)

Release version 1.11.1.

 

This release is for Paint.NET 5.0+.

Changes:
  • Updated DirectXTex to the January 31, 2023 release.
  • Like 1

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

  • null54 changed the title to DDS FileType Plus (03-03-2023)

Release version 1.11.2.

 

This release is for Paint.NET 5.0+.

Changes:

  • Added a BC 1-3 compression dithering check box to the save UI.
    •  This can improve the image quality when saving in those formats.
  • Like 2

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

  • null54 changed the title to DDS FileType Plus (03-04-2023)

Release version 1.11.3.

 

This release is for Paint.NET 5.0+.

Changes:

 

Fixed a regression in the DirectCompute code.

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

  • null54 changed the title to DDS FileType Plus (03-05-2023)

Release version 1.11.4.

 

This release is for Paint.NET 5.0+.

Changes:

  • Added dithering support for the B4G4R4A4 (Linear, A4R4G4B4), B5G5R5A1 (Linear, A1R5G5B5) and B5G6R5 (Linear, R5G6B5) formats.
  • Renamed the BC 1-3 compression dithering check box to Error diffusion dithering.

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...