ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   DDS woes (https://www.esoui.com/forums/showthread.php?t=9700)

Hydra9268 04/23/21 01:26 AM

DDS woes
 
Hi, all,

I want to replace a DDS image with a new DDS image in my addon.

I saved the image as a transparent png. I used different PNG to DDS converter sites, Paint.NET, and even the Nvidia DDS plugin for Photoshop to convert the PNG to a DDS. However, the results are always the same. Nothing appears. If I change the DDS filename to one of the other DDS files I created, the image appears.

My file is saved to DXT5 format. Nothing displays.



I used this random DXT5 DDS file. It displays.



Have you seen this before?
Do you know what could cause it?
Does ESO require a specific DDS file setting to display?

votan 04/23/21 02:07 AM

Quote:

Originally Posted by Hydra9268 (Post 43769)
Hi, all,

I want to replace a DDS image with a new DDS image in my addon.

I saved the image as a transparent png. I used different PNG to DDS converter sites, Paint.NET, and even the Nvidia DDS plugin for Photoshop to convert the PNG to a DDS. However, the results are always the same. Nothing appears. If I change the DDS filename to one of the other DDS files I created, the image appears.

Have you seen this before?
Do you know what could cause it?
Does ESO require a specific DDS file setting to display?

What about the size? it must divisible by 8. If not even 2^n.

Hydra9268 04/23/21 02:59 AM

Yup. That was it. I set the height to 75. I changed it to 64.



Divisibility by 8 is a great thing to know about DDS textures!

Worth noting the image's width is 500. That tells me as long as either the width OR the height is divisible by 8, it should work.

Thank you, votan! 🙂

ShadowMau 04/25/21 08:41 AM

I think I remember seeing somewhere it is 2^n. I'll post a source if I can find it again.

MrPikPik 04/27/21 02:09 AM

Hey friend,
I personally use this tool to convert image files to DDS files.

For the texture size, you indeed want resolutions in the power of 2 (2, 4, 8, 16, 32, ...) for texture compression and mipmapping and sometimes anisotropic filtering reasons, so I recommend scaling them beforehand or checking the box "Resize Pow2" of the linked tool. DDS supports textures in any resolutions, but game engines might not.

For texture format, DXT3 gave me the best results (BC2 texture compression is the one you want)


All times are GMT -6. The time now is 11:26 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI