WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Graphics Help (https://www.wowinterface.com/forums/forumdisplay.php?f=14)
-   -   White edges after trimming art. (https://www.wowinterface.com/forums/showthread.php?t=38253)

MidgetMage55 01-08-11 02:55 PM

White edges after trimming art.
 
Basically when i trim a .tga file to modify art I end up with white edges on some things. Artifacts if that sounds more accurate. I have no idea why it is happening nor how to make it go away.

Example:


If you look at the red bar filling in on the left side of the image you can see what I'm talking about. (it appears like that in game as well so its not just in the screen shot)

I literally took the base image, copied it and chopped it up simply erasing elements I did not need. Afterward I scaled the image as needed for the addon I'm using.

The element I took it from was made the same way but the issue isn't there.

I'm using the latest version of GIMP for editing. Any suggestions as to what I'm doing wrong?

Landrell 01-08-11 03:08 PM

Midget, if you give me some time hon, I'll be more than happy to make your version of the bars along with the red filler as well. I'll start work on it later tonight so you won't have to go through that trouble.

MidgetMage55 01-08-11 03:18 PM

I appreciate it. I don't mind doing the work as well. Especially if it inspires someone. =)

I try to give back a little to where I get inspired from. :D

EDIT:

I have another idea if you are feeling artistically frisky.

I thought about taking the glow elements from the UF art and making a red version of just those parts to throw in to a panel perhaps so that when a player has aggro the color changes. Not sure if there is a script for kgpanels that will do that however. And border Textures seem to be rather specific in design.

Sythalin 01-08-11 03:23 PM

Stop enabling his laziness. :P

Landrell 01-08-11 03:30 PM

Quote:

Originally Posted by MidgetMage55 (Post 226087)
I appreciate it. I don't mind doing the work as well. Especially if it inspires someone. =)

I try to give back a little to where I get inspired from. :D

EDIT:

I have another idea if you are feeling artistically frisky.

I thought about taking the glow elements from the UF art and making a red version of just those parts to throw in to a panel perhaps so that when a player has aggro the color changes. Not sure if there is a script for kgpanels that will do that however. And border Textures seem to be rather specific in design.

Actually, that doesn't sound like a bad idea. I've been wondering that too for a little bit, but I think it's going to require two different textures, one red and one blue to pull it off. I'm sure there is a script laying about somewhere that can be used for this.

@Chaos: It gives me something to do, otherwise, I'd let him go full tilt! :o

Waky 01-08-11 03:49 PM

Did you trim the mask as well? Otherwise it'll just show white-space like that.

MidgetMage55 01-08-11 04:14 PM

No mask that I am aware of. Only things showing in the elements list is the art layer and an alpha channel.

If that were the case wouldn't i have a HUGE white area? I basically take the main piece it comes from and erase everything that i don't need. So trimming is not an entirely accurate statement on my part.

After wards i just use a rectangle select and move it to a new canvas and scale the image before anchoring it.

Ill take a look at the tools in GIMP however and see if there is something along that line that i am missing. I freely admit I'm not terribly well versed in image software.

Kendian 02-08-11 05:14 AM

What font are you using for your unit frames? Me likes~:)

MidgetMage55 02-08-11 05:04 PM

Been a while since I tinkered with that UI buy I'm fairly certain its Visitor2.

Elloria 02-08-11 05:54 PM

Quote:

Originally Posted by MidgetMage55 (Post 226096)
No mask that I am aware of. Only things showing in the elements list is the art layer and an alpha channel.

If that were the case wouldn't i have a HUGE white area? I basically take the main piece it comes from and erase everything that i don't need. So trimming is not an entirely accurate statement on my part.

After wards i just use a rectangle select and move it to a new canvas and scale the image before anchoring it.

Ill take a look at the tools in GIMP however and see if there is something along that line that i am missing. I freely admit I'm not terribly well versed in image software.


These are the steps i take when editing art like that.

1. copy and paste art to a whole new image file. Make sure it has a transparent background.

2. Trim away all the unwanted art, i also recommend maybe using the blur tool if you are cutting away using the rectangle tool. This will clean up the edges and make it look less chopped off. If you aren't and you are just using the eraser then i would use the fuzzy edged round eraser brush.

I love gimp because you don't have to fool with alpha channels :D

Kendian 02-09-11 08:28 AM

What is gimp? Is it like Xnview? Or photoshop?

Seerah 02-09-11 10:38 AM

It's a free, open-source program much like Photoshop.

Dawn 02-10-11 06:09 PM

Quote:

Originally Posted by Elloria (Post 229040)
I love gimp because you don't have to fool with alpha channels :D

You don't "have to fool with alpha channels" at all, no matter what. Simply save as PNG and convert to BLP, afterwards. ;)

Seerah 02-10-11 07:22 PM

Quote:

Originally Posted by Dawn (Post 229340)
You don't "have to fool with alpha channels" at all, no matter what. Simply save as PNG and convert to BLP, afterwards. ;)

This is what I do. :)

Dolby 02-10-11 08:29 PM

Make sure to choose PNG-24 if your using photoshop. :)

hankthetank 02-14-11 04:58 AM

It's a flaw of texture rendering that I have come across several times with BLPs. My only explanation is that WoW internally uses DXT compression for memory savings, no matter what the source format. The compression takes a block of 4 pixels and calculates the average color. So if you have a pixel at the very edge and 3 "empty" nearby pixels are factored in it naturally can lead to color errors.

What I do to avoid those glitches is filling the image with the edge color with 1% alpha which is virtually not visible. Or you apply a layer style with a minimum alpha glow or outline or whatever, the main thing is that the edge is enclosed by pixels of the same color. That fixes the problem most of the time.

Also I would save your textures to PNG files and convert them to BLP textures. This way you don't have to grapple with all that alpha channel crap. From a totally neutral standpoint I can recommend Blpc

sakurakira 02-14-11 05:43 AM

Quote:

Originally Posted by hankthetank (Post 229699)
What I do to avoid those glitches is filling the image with the edge color with 1% alpha which is virtually not visible. Or you apply a layer style with a minimum alpha glow or outline or whatever, the main thing is that the edge is enclosed by pixels of the same color. That fixes the problem most of the time.

I do a lot of image replacement and was really annoyed when I started noticing this. It was even more obvious after I started using a pixel-perfect uiscale. Your method totally worked. THANKS!

zork 02-16-11 02:35 AM

Thanks alot hank for the explanation.

Remsaa 03-22-11 09:29 AM

I had no idea you could save to blp to avoid alpha channel editing...I had been saving to PNG > Targa > fix alpha channel ( >.< )


All times are GMT -6. The time now is 04:59 PM.

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