Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Help with masks and alpha channels, please!

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
Moose Malloy



Joined: 26 Apr 2005
Posts: 67
Location: AN58

PostPosted: Wed May 11, 2005 6:53 am    Post subject: Help with masks and alpha channels, please! Reply with quote

Hello,

I'm trying to produce a ruler cursor mod, and I have finalised the appearance of it, but I'm struggling with the mask and alpha channel stuff in Paint Shop Pro. At the moment the mod is in TGA format as a greyscale cursor on a white background. (I drew the mod in AutoCAD, and scanned a print of it). I have tried to transfer the dark parts of the image to a mask and have failed dismally, despite reading all the in-program help. I just get a totally white mask. I think I may have to change the background to transparent, but I can't seem to do that either without losing the image I want. I have had a look at other modded cursors in PSP and can see what I'm supposed to be aiming for in terms of a mask, but somehow I can't get from here to there.

Can anyone who knows how to do this give me an idiot's guide please? Thanks.
Back to top
View user's profile Send private message
Moose Malloy



Joined: 26 Apr 2005
Posts: 67
Location: AN58

PostPosted: Wed May 11, 2005 7:28 am    Post subject: Reply with quote

Thanks, I read that after doing a forum search, and it seemed like good advice for editting a mask in an existing TGA, but I didn't know how to create such a mask from scratch.

Anyway, since I posted, I've messed around some more, and I may have a handle on it now. It seems that in order to create the mask, I should have selected all the white area with the wand tool, not the whole image. I previously tried selecting all the dark parts with the wand, but that was far too fiddly and error-prone!

Thanks. I'll ask more questions if I get no further Smile
Back to top
View user's profile Send private message
CRULL



Joined: 10 Jan 2002
Posts: 228
Location: RI - USA

PostPosted: Wed May 11, 2005 8:49 am    Post subject: Reply with quote

I figured out a very great and simple way to do an Alpha mask.

Duplicate your image, or save it with a different name and open it up.

Convert the duplicate image to grayscale. You might or might not have to convert it back to RGB at this point. Select everything and copy the grayscale image to the Alpha channel layer of the original image.

You can adjust the brightness and contrast, and invert the image of the grayscale image if needed. After you paste it on to the Alpha channel layer.
Back to top
View user's profile Send private message
Jace11



Joined: 16 Mar 2005
Posts: 1091

PostPosted: Wed May 11, 2005 9:56 am    Post subject: Reply with quote

Yep, simply draw a greyscale image and copy it to an alpha channel.

Back to top
View user's profile Send private message
Moose Malloy



Joined: 26 Apr 2005
Posts: 67
Location: AN58

PostPosted: Wed May 11, 2005 4:00 pm    Post subject: Reply with quote

Thanks very much, guys Smile. You were right, it was less complicated than I thought. With your help and a little more exploration of the PSP menus, I got it sorted, cheers.

This is the end result. Now I need to play with it a bit to see if it's as much use as I hoped. After that, I may write a user manual / readme and release it, though it isn't that much different from Wazoo's version of the same thing. This is more what I had in mind when I originally suggested it though.


Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group