ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Graphics Help (https://www.esoui.com/forums/forumdisplay.php?f=176)
-   -   Having problems with my images (https://www.esoui.com/forums/showthread.php?t=599)

lintydruid 04/05/14 02:42 AM

Having problems with my images
 
Thank you.

Using PSE 10 and Paint.Net I getting the same issue, I get a red representation of the image (alpha'd) in ESO. I assume its an alpha issue.

I've tried the multiple layers option but no luck. I've tried converting to TGA as an intermediary but no luck.

When you talk about layers are you talking about PSE layers or alpha?

Seerah 04/05/14 09:54 AM

Just to make sure, are the dimensions of your texture a power of 2, as listed in zork's OP?

lintydruid 04/05/14 04:33 PM

Hi,

Yes, 64x64.

Thanks

Seerah 04/05/14 04:51 PM

Can you upload your image here as a forum attachment?

lintydruid 04/06/14 01:49 AM

1 Attachment(s)
Hi,

I've uploaded a zip with the source and DDS file.

Thank you.

Seerah 04/06/14 03:59 PM

I haven't gotten to test it out in-game yet, but it all looks good. How exactly are you trying to display the image?

Seerah 04/06/14 07:17 PM

Yep, it shows up just fine in game. It must be something wrong in your code.

lintydruid 04/09/14 03:54 PM

Hi,

Here's the line of code:

guildtools.ui.alert.icon = WINDOW_MANAGER:CreateControl("guildtools.ui.alert.icon",guildtools.ui.alert.window, CT_TEXTURE )
guildtools.ui.alert.icon:SetDimensions(64,64)
guildtools.ui.alert.icon:SetTexture("/esoui/art/campaign/campaign_tabicon_history_down.dds")
guildtools.ui.alert.icon:SetDrawLayer(1)
guildtools.ui.alert.icon:SetAnchor(CENTER, guildtools.ui.alert.window, CENTER, 0,-320)


It works fine with the UI icon (as per code) but if I switch it for the attached I get a red version of the icon.

Seerah 04/09/14 09:06 PM

Lua Code:
  1. :CreateControl("guildtools.ui.alert.icon"
Don't use periods in your frame name. It's not your table reference.


All times are GMT -6. The time now is 06:14 AM.

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