Transparency and Alpha Channels: The Definitive Guide
|
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
|
08-29-2006 09:25
Hi Jesseaitui. Sorry it took me a few days to get to answering this. From: Jesseaitui Petion I have a tattoo and the black images have an opacity of 62. How come they are turning out real dark when I upload it into SL but it looks fine in PS? As it says numerous times throughout this thread, don't confuse layer opacity with overall image opacity. TGA format does not support layers, so there's no way it can support any layer properties (like opacity) either. The only transparency data in the final TGA output will be that which is contained in the alpha channel. From: Jesseaitui Petion Does it have to do with the coloring the inside of the "marching ants" white when i`m in the "channels" tab? Anywhere you color white on the alpha channel will instruct the corresponding part of the image to be 100% opaque. If you want part (or all) of the image to be semi-transparent, color that part of the alpha channel gray, not white. Since 62% opacity seems to be what you're after in this case, you want to use a gray that is 62% white. In RGB terms, that's <158,158,158>. From: Jesseaitui Petion Because I noticed the more I colored it in, the outside of the 'marching ants' was turning white so I stopped... Sounds like you're experiencing a haloing effect due to anti-aliasing. See the numerous references on de-haloing already in this thread for help with this.
_____________________
.
Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
|
Thunderclap Morgridge
The sound heard by all
Join date: 30 Sep 2006
Posts: 517
|
10-02-2006 00:21
From: James Collingwood I'm wondering what version of Paint Shop Pro you are useing? My version (5.01) does not have the same icons you mentioned. If you have a preferred program perhaps I'll have to upgrade. I just found an update to ver. 5.03 but it seems to be the same. I have version 10 myself. Much better than version 5. Of course 11 is out so you could buy that. But I still like 11, I have pS C2 9. and so you know under 8, it is more of a photo sort and repair and less a graphic design program and it is over 11 years old.
|
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
|
10-10-2006 06:27
I see a "gimp transparency alpha channel" question in the forums.
Has the Gimp tutorial appeared yet?
Note I am not asking for my own knowledge of how to do it, just seeing if there is an answer to someone else's question.
_____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.
I can be found on the web by searching for "SuezanneC Baskerville", or go to
http://www.google.com/profiles/suezanne
-
http://lindenlab.tribe.net/ created on 11/19/03.
Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan
-
|
ArchTx Edo
Mystic/Artist/Architect
Join date: 13 Feb 2005
Posts: 1,993
|
Photoshop Elements V2.0
10-25-2006 09:48
From: someone TESTED WITH PHOTOSHOP ELEMENTS V2.0 all steps seemed applicable with one clarification noted *****
Photoshop Elements This tutorial was made possible in large part by Robin Sojourner, who I believe was the first on this board to discover that PSE can create alpha channels, even though it does not display them. This has been tested with PSE retail versions 3 & 4. It is unknown at this time if it will work with older versions or with bundled or pre-installed versions. 1 On the Layers Palette turn off all layers except for the layer that has your bikini on it. (To turn a layer off, click the eyeball symbol to the left of its name.)
2 If the bikini layer has any white space around the bikini itself, use the eraser to get rid of the white space. It's very important at this stage that the bikini be on its own layer with nothing else on it.
3 On the Layers Palette, ctrl-click the thumbnail for the layer with the bikini on it. (The thumbnail is the little picture of the layer directly to the left of the layer's name.) *****RD: choose "select layer transparancy" from the pop up menu that appears.***** This will select everything on the layer. You should see the "marching ants" outlining your bikini now. If there are elements of the bikini on any other layers, hold down shift, and then ctrl-click their respective thumbnails to add them to the selection. Make sure not to include the background or any of the template layers.
4 On the Select Menu at the top of the screen, go Select -> Save Selection. This will save the selection a newly created alpha channel. Unlike Photoshop, PSE has no channels palette so you can’t actually see the alpha channel, but it is there.
5 If you still see the "marching ants" outlining the bikini shape, turn off the selection by clicking Select -> Deselect. For the next step, you'll want nothing selected.
6 *****RD: this step did not seem to be necessary in PSE V2.0***** On the Layers Palette, create a new layer by pressing the button at the bottom right that looks like a square sticker being peeled from its backing. Click on the name of this new layer and drag it underneath the layer with the bikini on it. Paint the new layer 50% gray or darker; black is fine. (The gray/black layer will prevent the white halo sometimes caused when Alphas are created the way we just did it. If you don't know what I mean by that, don't worry about. Just make sure to always put a gray/black layer underneath your work and you'll never have to see that white halo. Alternatively, more advanced users may wish to use one of the better halo-elimination methods discussed in the FAQ, although they may not all be applicable to PSE.)
7 Save as 32-bit TGA and upload to SL.
I tested this using Photoshop Elements V2.0, on my Mac PowerBook G4, it worked fine. I added two clarifications bracketed with ***** Robin Sojourner's instructions on how to create various levels of transparency in PSE also seemed to worked fine, I tested the textures in SL. I also experimented with the "gradient" tool and it appeared to have made a useable alpha with a smoothly graduated transparency but there was no transparency when I imported it to SL. If I figure out how to do this I will add the information here.
_____________________
 VRchitecture Model Homes at http://slurl.com/secondlife/Shona/60/220/30 http://www.slexchange.com/modules.php?name=Marketplace&MerchantID=2240 http://shop.onrez.com/Archtx_Edo
|
Echo Dragonfly
Surely You Jest
Join date: 22 Aug 2004
Posts: 325
|
Question on Flaming Pear
10-27-2006 13:38
I downloaded the filters, but I am presented with 3 different solidify filters, A,B, &C. Which do I use, and what is the difference between them?
_____________________
Creativity represents a miraculous coming together of the uninhibited energy of the child with its apparent opposite and enemy, the sense of order imposed on the disciplined adult intelligence. Norman Podhoretz ...................... If quizzes are quizzical, what are tests?  ............................ Do illiterate people get the full effect of Alphabet Soup? 
|
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
|
10-27-2006 15:39
From: Echo Dragonfly I downloaded the filters, but I am presented with 3 different solidify filters, A,B, &C. Which do I use, and what is the difference between them? Assuming they haven't changed the download package's contents, there should be an HTML file in there called "Freebies Guide" with pictures and descriptions of what all the various filters do. Here's what it says about the differences between the three solidify filters: Solidify A softly blurs the solid part into the transparent region. Solidify B smears only the outer edge for a harder look. Solidify C gives the smoothest, most uniform result. The answer to the question of which one to use for de-haloing is it really doesn't matter. They'll all do the job pretty equally. I find myself using A for the most part, but I think that's only because it's the first one on the list. From: ArchTx Edo I tested this using Photoshop Elements V2.0, on my Mac PowerBook G4, it worked fine. I added two clarifications bracketed with *****
Robin Sojourner's instructions on how to create various levels of transparency in PSE also seemed to work fine. I also experimented with the "gradient" tool and it appears to have made a useable alpha with a smoothly graduated transparency. I am waiting for SL to come back on line to upload the gradient TGA's for a final verification of this. Thanks for the additions, Arch. I've added your info to the original tutorial post, and credited you for it. From: SuezanneC Baskerville I see a "gimp transparency alpha channel" question in the forums.
Has the Gimp tutorial appeared yet?
Note I am not asking for my own knowledge of how to do it, just seeing if there is an answer to someone else's question. Thanks, Suzanne. I'm sorry to say I haven't yet found the time to play around enough with GIMP to the point where I'm comfortable writing for it. My expertise really is in Adobe stuff, and not much else, when it comes to 2D graphics programs. It was pretty easy and nearly instant to learn enough about PSP to walk people through it since it behaves more or less as Photoshop behaves, just with more limitations and differently labeled menu commands. GIMP, on the other hand, seems to be a different animal altogether. Certain things behave in very unexpected ways. I've been able to get results with it, but I'm convinced there must be better methods than the ones I've discovered so far. For this reason, I've held off on writing anything yet. I know GIMP is a very powerful program, capable of doing at least 80-90% of what Photoshop can do, but man is its interface bizarre. I'll figure out its idiosyncrasies sooner or later, but in the mean time, if anyone's got a good working knowledge of it, and you'd like to contribute, please let me know.
_____________________
.
Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
|
Jopsy Pendragon
Perpetual Outsider
Join date: 15 Jan 2004
Posts: 1,906
|
10-27-2006 18:05
Just had to say thanks... how I missed this thread until now, I'll never know. As an amateur self-taught photoshop guy (mostly for creating particle textures)... I've kept putting off working with masks because I thought I was already doing everything I wanted with the tools I'd become familiar with.
Well, everything I wanted to do EXCEPT being able to preview my transparency before uploading. Never again. After trying out the examples you've provided using masks, I'm utterly converted and doubt I'll ever go back to my old klunky ways of generating alpha channels. Chosen, Robin... Thank you! =)
_____________________
* The Particle Laboratory * - One of SecondLife's Oldest Learning Resources. Free particle, control and targetting scripts. Numerous in-depth visual demonstrations, and multiple sandbox areas. - Stop by and try out Jopsy's new "Porgan 1800" an advanced steampunk styled 'particle organ' and the new particle texture store!
|
ArchTx Edo
Mystic/Artist/Architect
Join date: 13 Feb 2005
Posts: 1,993
|
10-29-2006 10:30
CHOOSEN
I edited my 10-25-2006 post above to reflect what actually worked when I uploaded the alpha textures to SL. The stepped transparancy levels worked fine, the smoothly graduated alpha did not.
_____________________
 VRchitecture Model Homes at http://slurl.com/secondlife/Shona/60/220/30 http://www.slexchange.com/modules.php?name=Marketplace&MerchantID=2240 http://shop.onrez.com/Archtx_Edo
|
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
|
10-29-2006 12:30
From: ArchTx Edo CHOOSEN
I edited my 10-25-2006 post above to reflect what actually worked when I uploaded the alpha textures to SL. The stepped transparancy levels worked fine, the smoothly graduated alpha did not. Thanks, Arch. If you figure it out, let us know. 
_____________________
.
Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
|
FD Spark
Prim & Texture Doodler
Join date: 30 Oct 2006
Posts: 4,697
|
11-08-2006 18:31
I am debating on whether or not I should also get Adobe Photo Shop. Can some suggest older verisions that might be cheaper that would be compatible with the tutorials?
|
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
|
11-09-2006 06:17
From: FD Spark I am debating on whether or not I should also get Adobe Photo Shop. Can some suggest older verisions that might be cheaper that would be compatible with the tutorials? This question probably would have been better suited to a different thread since it's not about alpha channels directly, but no biggie. If you can find an older version of Photoshop, I'm pretty sure anything from 3.0 and up should work (assuming your OS will run it, that is; that's going back 12 or 13 years). Just be careful with 7.0. If you get version 7, be sure to upgrade it immediately to 7.0.1 via the free patch from adobe.com. The most current version (CS2) is 9.0.2, just so you know. Wikipedia has a pretty good article on the history of Photoshop with a brief overview of what was added with each version, if you're interested.
_____________________
.
Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
|
Scot210 Glenelg
Registered User
Join date: 13 Nov 2006
Posts: 12
|
Please help me with the alpha channel
11-13-2006 17:52
I am trying to follow the tutorial step by step, but I must be missing something. I add the alpha channel by selecting my piece of clothing and then add a new layer and color it black. Then I place that level underneath my level with the clothing on it. My clothing appears to have a black background behind it at this point. I then save the file in TGA and upload it to sl. The shirt is then black instead of whitle but it is definately not transparent. If anyone can give me a clue as to what I am doing wrong I would appreciate it. Oh, and I am using Photoshop Elements, I am not sure what version.
Thanks, Scot210
|
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
|
11-13-2006 18:49
From: Scot210 Glenelg I am trying to follow the tutorial step by step, but I must be missing something. I add the alpha channel by selecting my piece of clothing and then add a new layer and color it black. Then I place that level underneath my level with the clothing on it. My clothing appears to have a black background behind it at this point. I then save the file in TGA and upload it to sl. The shirt is then black instead of whitle but it is definately not transparent. If anyone can give me a clue as to what I am doing wrong I would appreciate it. Oh, and I am using Photoshop Elements, I am not sure what version.
Thanks, Scot210 Did you forget to save the selection? Unlike Photoshop, PSE does not have a channels tab, so you can't work on channels directly. You have to kind of trick it into working by selecting the opaque parts, and then saving the selection. The save will become the alpha channel behind the scenes. Also, make sure to save as 32-bit TGA, not 24-bit.
_____________________
.
Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
|
Scot210 Glenelg
Registered User
Join date: 13 Nov 2006
Posts: 12
|
11-13-2006 18:53
I selected the opaque part then went under select and save selection. Then I saved the entire work as TGA in 32.
|
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
|
11-13-2006 19:03
From: Scot210 Glenelg I selected the opaque part then went under select and save selection. Then I saved the entire work as TGA in 32. It sounds like you did everything right, so if it's not working, then my guess is perhaps you've got a version of PSE that can't create alpha channels, or else maybe one that has a different trick to it. The tutorial has been tested with versions 2, 3 & 4. If you've got a different version than that, I'm not sure what to tell you. Sorry. To check the version, click "About Photoshop Elements" option in the Help menu. It should give you the version number. If you post it, perhaps someone else who's got the same one could help you better than I.
_____________________
.
Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
|
Scot210 Glenelg
Registered User
Join date: 13 Nov 2006
Posts: 12
|
11-13-2006 19:06
Ok. Thankyou very much for the input. Maybe I can get a better version for Christmas. 
|
Scot210 Glenelg
Registered User
Join date: 13 Nov 2006
Posts: 12
|
11-13-2006 19:17
I looked up my version and it is 3.0 I saw that someone else had the same problem. 08-11-2006, 05:43 PM #55 Autumn Beaver Registered User Join Date: Jul 2006 Posts: 3 OK Im a Noob... -------------------------------------------------------------------------------- OK Maybe it is just the fact that Im retarded But I have tryed this in psp and it is no go for me can someone please help!!! rofl I am following the step by step and comming up with the part that is supposed to be transparent, comming into game as Black backround. ahhhh **pulls hair out!** If you can think of anything else I will really appriciate it. I am getting very aggrivated with this program. Thanks Again, Scot 210
|
Scot210 Glenelg
Registered User
Join date: 13 Nov 2006
Posts: 12
|
11-13-2006 19:36
Let me ask this question. Should I be looking at three seperate layers when I save my file?
|
mariesa Macdonald
Registered User
Join date: 5 Sep 2004
Posts: 4
|
11-24-2006 19:03
Hi there:
I have PS and have successfully been able to get the trans to work a couple times. However, today, I went through the steps and think I forgot a step because I uploaded it and the trans was grey.
For some reason, when I go thru the steps correctly to fix the previous error, I cannot get it to go trans. Is this because I made a mistake in the process earlier? I've tried it three times and no success.
Is there any way to correct this. I'd rather not start over.
Thanks very much for the great tutorials and support!
Mariesa
|
Scot210 Glenelg
Registered User
Join date: 13 Nov 2006
Posts: 12
|
Help with semitransparency
12-05-2006 09:10
I am able to make clothing with full transparency portions. I am sure someone has already posted on this, but I can't find it. I am using Photoshop Elements. Could anyone tell a dummy how to make clothes that are semi transparent. I am not sure how to do it. Since you cannot see the Alpha channel in Photoshop elements
|
Gwyon Stockton
Registered User
Join date: 28 Aug 2006
Posts: 9
|
12-05-2006 14:57
From: Scot210 Glenelg I am able to make clothing with full transparency portions. I am sure someone has already posted on this, but I can't find it. I am using Photoshop Elements. Could anyone tell a dummy how to make clothes that are semi transparent. I am not sure how to do it. Since you cannot see the Alpha channel in Photoshop elements Hi Scot *waves* From what I understand you use a variant of Grey in the Alpha mask rather than white. I think. I don't know for sure, maybe you substitute it for black. *scritches her head* I don't fuss with Alpha Masks or anything. I use GIMP. It seems to render layer transparencies perfectly in TGA. So when i want to do it I just decrease that layer's opacity and then save. comes out Crystal Clear.. or not so depending on what I'm going for. And I've also never had this "halo'ing" issue that everyone else seems to, either. -Gwyon
|
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
|
12-06-2006 05:55
From: Scot210 Glenelg I am able to make clothing with full transparency portions. I am sure someone has already posted on this, but I can't find it. I am using Photoshop Elements. Could anyone tell a dummy how to make clothes that are semi transparent. I am not sure how to do it. Since you cannot see the Alpha channel in Photoshop elements Scott, since PSE doesn't let you see channels, use what you can. Try creating what would be your alpha channel on a layer (or even better, on a layer mask if PSE allows that). You'll be able to put in all the shades of gray you want to represent various levels of opacity. Then select the entire layer (or mask), and save the selection. Finally, turn off visibility on that layer (or mask) before exporting the image to 32-bit TGA. In theory, it should work. I don't have PSE on this machine right now to test it though.
_____________________
.
Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
|
Draken Vanness
Registered User
Join date: 23 Nov 2006
Posts: 2
|
Gimp
12-13-2006 14:57
I was wondering if the GIMP info was out yet. I just DLed GIMP and would like to get started. Thank you.
|
Jasmin Folsom
Registered User
Join date: 25 Sep 2006
Posts: 2
|
Hmm.. A little Warn out...
12-13-2006 15:38
Ok, I am a little stumped here it seams like I have been trying to do this forever... but let me give some helpful tips first and I will pose my question at the end ****Ok just some clues to help a new person working with Corel- Paint Shop Pro X I noticed I did everything I needed to when walking through trying to make my alpha, but I could never get it to work.. Now, Try starting with working on the working layer that you would use with ur body template u plan on using, use the whole black is transparent and white is opaque colory theory to create ur design on ur working layer/raster. Now creat a new raster and copy ur design from the one in ur template to the new one.... U can close that template down. On ur new raster go to Layers>New Mask Layer>SHow all Follow Chosen's Walk-through on how to get the mask complete: From: Chosen Few TUTORIALSPaint Shop ProI should preface this by saying that I’m a Photoshop user so my PSP tutorials are not as detailed as my Photoshop ones. This will still walk you through what you need to do, but not with quite as much hand-holding as the Photoshop info. - In Photoshop, you can edit channels directly, but in PSP, you have to use a tool called a mask as a proxy for what will in the end become the alpha channel. To create a new mask, go Layers -> New Mask Layer -> Show All. A new layer group will be created, at the top of which will be your new mask layer. Make sure all other layers are in the group and below the mask.
- On the Layers Palette, select the mask layer and make sure the little Mask Overlay Toggle button at the top is turned off. The Mask Overlay Toggle is directly to the right of the Link Toggle. It looks like a tiny picture of a theater mask. When it's off it's gray; when it's on it's red. Just so you know, turning it on can be useful so you can exactly what is happening with the mask itself, but you'll have a more WYSIWYG feel with it turned off.
- At this point, your mask will be all white (no transparency yet). On the mask layer, start painting the areas you want to be invisible black, and you'll see the checkerboard show through in those areas. Any areas you want semi-transparent, paint gray. The darker the gray, the more transparent; the lighter the gray, the more opaque. The areas you want completely opaque just leave white.
Now once you get this complete, the tutorials state to save mask as alpha, but I recommend saving that mask to disk... ok at this point close everything out and open up a brand new raster, color the raster or copy on there the texture u wish to choose, you wish to choose, and then go to layers>load/save mask> load mask from disk ..... this will add the prev mask you just made to that raster group. The next step is to now save ur alpha channel y going to layers> load/save Mask> Save mask to alpha channel... after you have saved, then save ur file into the .tga ... close it down and load it up into sl  ************************************************************************** Ok now for my problem.... I actually get everything done right the texture loaded right into sl and everything, ro so I think, When I go to use the texture after it has been loaded in, and I put it on in appearance I am getting a very much transparent undershirt effect, like if the back ground where the original white longsleeve shirt would have set, on my wrists and around my belly/waist line. Does anyone know what I am talking about and does anyone know how I could fix it?
|
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
|
12-13-2006 18:13
Jasmin, a couple things. First, when you use the phrase "new raster" are you referring to creating a new layer or a whole new file? Your words could be interpreted either way. I hope you mean just a new layer since creating multiple files for each image would be way over-complicating things.
Just so you know, the option to create raster layers, vector layers, and text layers as different things is something that's unique to PSP. In Photoshop, a layer is a layer is a layer. Vectors don't even go on layers at all in PS; they exist independently. Text layer creation happens automatically in PS whenever you use the text tool. So, to most of the graphics world, when you say the words "create a new raster", it sounds like you mean create a whole new image. If you do mean just to create a new layer, it would be best to actually use the word "layer" whenever you say it, so as not to confuse anyone.
For your mask creation process, I'm not sure why you prefer to paint your mask first as a layer instead of directly as a mask. To me it seems like an unnecessary added extra step, and I feel it makes the whole thing a little harder to explain and to understand, but other than that, it's not going to hurt anything. Just a little peculiar is all, at least from my point of view.
As for saving your mask as a separate file, that is certainly an option, and perhaps a good tip for those who are so inclined, but just so everyone knows, it's really not necessary. If you plan on saving a library of masks for use with different images, then it's a really good idea. Otherwise, it's kind of waste of time and disk space.
With regard to the problem you're having, I could see two possible causes. One would be if the black part of your alpha is not completely black. If it's any grayscale value other than absolute zero, it's going to represent translucency, not transparency. It sounds like maybe you're using a dark gray, not actual black.
The other possibility is did you perhaps forget to turn off the template layers you don't want visible? This seems unlikely based on your description of what's going on, but your wording could be interpreted to sort of mean that that's possibly what you're seeing, so I could see it as a maybe. Make sure you always turn off all the overlays and stuff before you export to TGA.
If neither of those is what's happening, perhaps post a screenshot?
Hope that helped.
_____________________
.
Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
|