Tutorial Creating custom fade filter with The Gimp

Sooda

Diversity enchants
Reaction score
318
Creating custom fade filter with The Gimp

Q: What this tutorial teaches ?
A: How to create custom fade filters with free and powerful paint program called The Gimp. Then converting them to .blp format so you could use them in Warcraft map.

Q: What do I need for that ?
A:
  • The Gimp
  • Warcraft Image Viewer II (That program dosn' t convert *.blp to *.tga correctly, because of that use for converting Warcraft 3 Viewer !)
  • For easier import Warcraft TFT

Q: Is it difficult ?
A: For pro it takes 5 mins, for beginners ~20 mins (When doing their first fade filter.)

So lets start. First when you open The Gimp you will see main menu, from there open one random picture. I decided to use one huge World of Warcraft wallpaper:

thegimpmainopenpicturevi3.jpg


Now from Dialogues drop-down menu open Channels and Layer tab:

thegimpmainpictureopenepj6.jpg


Usual image has Red, Green and Blue Channels, Warcraft uses for fade filters (and many more) Alpha Channel - that channel controls trancparency of picture. Basically we only need our picture on Alpha Channel with 100.00 opacity and to save it as *.tga file, if opacity would be 0.00 it would not be seen in game whatsoever. Make sure you have these tabs visible:

thegimpmainpictureopeneip8.jpg


As a note you can hide or show layer when clicking on the eye icon. Don' t forget you do changes to layer what is currently active ! So even when you hide layer, you still can edit the layer. Be careful with that. First we add a new Alpha Channel to our picture from Layer > New Layer:

thegimpmainpictureopenenx8.jpg


I re-named "New Layer" to "Alpha Channel". Make sure Layer Fill Type is set to: Trancparency and Opacity is set to 100.00. You should end up with this layer tab and channel tab:

thegimpmainpictureopenehn5.jpg


Here comes one of most important things what you need to do. Make your first layer active what has image and copy it (Edit > Copy), then make your newly created "Alpha Channel" layer active and paste (Edit > Paste) your picture. You get one floating layer (Pasted Layer):

alphalayerpastewowpiccoou4.jpg


There are some buttons under Layers tab, use
anchorbuttonck6.jpg
to anchor your floating layer (Pasted Layer) to "Alpha Channel" layer, make sure that opacity is set to 100.00. The result looks like this:

alphalayerfloatingselecdn8.jpg


You can now freely delete your first layer (In my example Background layer). We have successfully made fade filter almost.
Go to Image > Tranform > Flip Vertically, it is needed because Warcraft 3 Image Viewer turns it upside down. If it' s already upside down it will turn it back to normal view.
Because images are stored as 512 (Width) x 512 (Height) we need to scale this huge picture too:

alphachanneltransformflix5.jpg


There is Image Size Break Chain icon, it allows you freely set width and height. In Warcraft game viewable area is 450 height and 800 width but are stored (saved) in 512 (Width) x 512 (Height). Hit Scale button and you are done.
Lastly save image as *.tga file (Don' t use compression, if you do I don' t know will it work.) and open in Warcraft 3 Image Viewer. Save it again but this time as *.blp file. About quality: 75 % gives you 122 kb image when 100 % gives you 485 kb. The difference isn' t seen by eye so mostly use 75 %.
Then import image to Warcraft map and use Cinematic action:

guiactiontodisplayfadeffy9.jpg

Red, Green and Blue colors needs to be at 100.00 % because otherwise you would see in game fade filter as black. Now this filter works and you can use transparency too if you like. In game it would look like this:

customfadefilterinusepq5.jpg


I will attach WoW.blp ( 75 %) to under my post so you could download WoW.blp file and try out it yourself to see is it worthy makeing one yourself too.
I hope it helped someone like me to understand custom fade filters creation. I found other tutorials too vague but they still helped me greatly to understand main consept and gave key hints what to look.
Sorry for so much images but it was only way to teach beginners really fast what they need to do in such program.
 

Attachments

  • WoW.blp
    122.5 KB · Views: 308

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Explained very in-detail; also, I like how you illustrated it with images.


desided -> decided.
trancparency - transparency.

I suggest you to take care of the grammar, punctuation and wording mistakes; use commas!
 

Sooda

Diversity enchants
Reaction score
318
> I suggest you to take care of the grammar, punctuation and wording mistakes; use commas!

Ouch, constructive criticism, I will fix them asap (Takes a bit time.). I needed that feedback really. I was so excited that I needed to write this and share my discoveries.

One major warning too, many *.blp to *.tga converters what I used while learning basics of the Gimp didn' t convert files correctly ! Do not use for *.blp converter to *.tga these programs:
Warcraft Image Extractor II - it converts without error reports but with major errors. You can' t see image on alpha channel/ layer when opened as *.tga by The Gimp (Dunno about other programs.).​

Warcraft Model Editor 1.05 by Magos - it does same errors when directly converting *.blp image from MPQ browser view like Warcraft Image Extractor II. Still when you open up image in Windows > Texture Manager and double click on it before exporting there will be no errors and you can open it as *.tga format.​

Only program what can convert *.blp to *.tga without errors is Warcraft 3 Viewer for The Gimp (atleast). You can be sure when *.tga image dosn' t have pre-view in The Gimp or InfranView can' t give you pre-view of *.tga image it is damaged.

Point behind my warning is that when you want to use parts from Blizzard *.blp files in your custom fade filter (Or any skin) then convert them to *.tga with Warcraft 3 Viewer or you have nothing to work with !

EDIT: Managed to fix these what you pointed out but did I added any errors while modifing my text ?
 

xxxtrickyxxx

(o Y o)
Reaction score
64
-I would have to disagree with the way you resize the image. If you just resize it to 512x512 then its going to be warped once it is changed to 800x450.

- Theres two sizes you can go when you resize the image. You can set it to 910 height and it will be a little over 512 width or if the image may be smaller, you can set the height to 512 then set the canvas size width to 910 so it wont stretch the small picture. You may have to cut out a little of your image but not enough that it will change much if you want it to be on the whole screen like the image above. Then just resize to 512x512 and save and your done. Now the image is not stretched.
 

Sooda

Diversity enchants
Reaction score
318
> I would have to disagree with the way you resize the image.

I don' t mind because I don' t know nothing about image editing/ paint programs. Even your post was a bit too advanced for me. Who can understand what he explaned use that instead.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top