Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile

<a href="http://www.game-advertising-online.com/" target=_blank>Game Advertising Online</a><br> banner requires iframes

LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 5 - Modders Workshop > Thread: Transparency 101
Thread: Transparency 101
Daystar
Daystar


Honorable
Legendary Hero
Back from the Dead
posted January 04, 2008 02:58 PM bonus applied by VokialBG on 02 Apr 2008.
Edited by Daystar at 23:37, 04 Jan 2008.

Transparency 101

In this guide I will explain how to create translucency with Heroes V image files.  

Practical Guide

Start with a .dds file that has been converted into .psd (or something, depends on what you use)  For this guide I'll be using the Blood Angel/Seraph/Whatever Texture.  If you want to follow along, extract it from

Data/ > Characters > Creatures > Renegades

otherwise just read.

Here is the base image.
 

Use the Magic Wand Tool to select the lower part of the dress.


Select Channels, and scroll down and click on Alpha.  The selction should still be selected.


Go to the gradient tool (The linear kind) and select from the Gradient Drop Down "Foreground to Background" which should mean it will go from black to white.  If not, arrange it thus.  Drag the gradient line from the bottom to the top.


Release and you should get something like the following.  Experiment a little bit.


After you deselect you will have this as a result.  


Package this up as a DDS and put it in the UserMODs file.  I would show you an ingame shot, but my computer crashed at the wrong second before I was able to save [facepalm]

Anyway, this is the important part:  In the editor, go to the image and change the Alpha Mode to AM_TRANSPARENT otherwise it will not work properly.



How it all Works:
In the alpha, white means fully opaque, black means totally transparent.  Anything in the middle means it will be that amount of see-through-ness.  Thus the gradient means it will become more transparent as it goes down.  This creates a nice, ethereal effect.

To remove something compeltely, make the alpha for that part completely black.  This will make it invisible.

If you have more questions, post here!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Wulfstan8182
Wulfstan8182


Famous Hero
, eh?
posted January 04, 2008 03:09 PM
Edited by Wulfstan8182 at 15:12, 04 Jan 2008.

can you tell us what the "name-changing" in the map editor does? i don't know about other people but I would like to know.
EDIT: can you please give us a Screenie? and by the way, QP! anyway, can you give us a good ol' nice tutorial in your masterpost on how to remove stuff?(make it transparent)

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Daystar
Daystar


Honorable
Legendary Hero
Back from the Dead
posted January 04, 2008 03:51 PM

I don't follow you about the name changing...

I will try for a screenie soon.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted January 04, 2008 05:03 PM

Linked to your tutorial in mine DS, is that okay?
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Daystar
Daystar


Honorable
Legendary Hero
Back from the Dead
posted January 04, 2008 05:14 PM

Yeah, no problem!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Radar
Radar


Responsible
Legendary Hero
Castle/Haven player
posted January 05, 2008 03:47 AM

More and more QP worthy posts while we still have no moderator.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
pause
pause


Known Hero
posted March 31, 2008 08:49 AM

Quote:
the editor, go to the image and change the Alpha Mode to AM_TRANSPARENT otherwise it will not work properly.


Forgive me for being a complete idiot

I understand the theory entirely.  I just can't figure out what "the editor" is.. is it the map editor? I play around within the map editor, but I can't find the "image" place to go to where i'll find the "alpha mode" as shown in the screen shot.

please help

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted March 31, 2008 02:50 PM

Go to the properties page for any Material (from shared properties).
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Hellburn
Hellburn


Famous Hero
The efreet
posted May 28, 2008 03:10 PM
Edited by Hellburn at 01:57, 29 May 2008.

I still cannot find that "image" thing :| . Could somebody post some screenshots or explain exactly how to find it?? It would be very helpful...
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Honorable
Undefeatable Hero
posted September 01, 2010 05:06 PM
Edited by Salamandre at 17:09, 01 Sep 2010.

This probably comes too late to be read by the author but any input will help me:

I have this translucency problem when dealing with 3D MAX models.

Let's say we open a model already done. The parts covered by mask are in pink.



Then we prepare and apply a mask:



Now we get the right thing:



The problem is that the mask applied a bunch of colors very close to the background. Although it looks like one single color, easy to remove, in fact there are about 20-25 intermediate gradient to remove, so it is painful:



Now all I can is remove all those colors in master palette one by one. But I never get a perfect result. Does anyone know a way to deal with this?

(Of course the "do not antialias with background" option was checked, so it is not the problem)
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
< Prev Thread . . . Next Thread >
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0521 seconds