VGMaps
December 14, 2018, 02:10:44 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: How do I do 50% transparency?  (Read 6325 times)
0 Members and 1 Guest are viewing this topic.
JonLeung
Administrator
*****
Offline Offline

Posts: 3173


« on: March 30, 2009, 07:02:49 PM »

This may be a really dumb question but I am struggling with this and would like an answer ASAP.



Let's say I have an image of some kind of background.  I have a second image of the same dimensions, but with something like water or lava or something placed where I would like them if the two images were combined.  I'd like these things in the second image to appear half-transparent.



What's the easiest way to do that?



I tried using GIMP, loading up both images.  Then I'd "select by color" on the background color of the second image and then invert the selection (so that I won't be copying/pasting the black or white or magic fuchsia) and then I paste into the first image.



This gives me an opaque layer of the things I want transparent.  Now then I go to the transparency settings and I just want it to be 50%.  But instead it gives me a bunch of sliders, one for each RGB value, and then there's some other sliders for hue or saturation and one other thing.  I just want this half-transparent, and at the moment all this looks needlessly complicated...



I know I sound like a moron but I'm sure there's some really simple way, through GIMP or otherwise, and I'd like someone to point out what that is.



Thanks in advance...
Logged
TerraEsperZ
Hero Member
*****
Offline Offline

Posts: 2234



« Reply #1 on: March 30, 2009, 07:39:31 PM »

The only method I know is using Paint Shop Pro 8, and it basically comes down to creating a layer with 50% transparency and pasting the transparent element in it.



However, depending on the way the game handles its transparency, the result might look more or less like the real thing.



For example, right now, Aria Of Sorrow is killing me because I'm totally unable to reproduce its effects. I've been mostly cheating my way through so far since most of it consists of a single colour for the transparent medium (like water), so I just had to capture the background with the underwater palette and paste that where needed, but now I'm in a part with lots of animated waterfalls (8 cycling colours!) over very non-repeating backgrounds. Needless to say, I'm barely averaging a room like that a night, if I'm lucky. GBA-style Alpha Blending sucks.



I would suggest asking Revned, since whatever method he used to reproduce the waterfall in Symphony Of The Night gave a result almost indistinguishable from the real thing.





---

Current projects: Bucky O'Hare (NES), Metal Storm (NES), Clock Tower (SNES), Ristar-The Shooting Star (Gen), Sonic The Hedgehog (Gen), Sonic CD (Sega CD), Mega Man Zero (GBA), Battletoads (NES)
Logged

Current project that I really should try to finish:
-Drill Dozer (GBA)
-Sonic 3D Blast (Genesis)
-Naya's Quest (PC)

Pending project:
-A ton of stuff that will never be finished
Peardian
Hero Member
*****
Offline Offline

Posts: 627


Busy busy


« Reply #2 on: March 31, 2009, 09:30:36 AM »

I don't use GIMP, so I don't know anything about it, but for when I do my effects, I use Fireworks. Fireworks has options for not only setting the alpha level of things, but for advanced mixing methods, such as the ones the GBA uses (not exactly the same but close enough). Before I had Fireworks, I used Jasc, an animation program, by simply doing a fade transition between the two images and picking one in the middle. However, this can only be used to imitate normal alpha blending.



I don't know if any of that helps, though. <_<;

---

YTT (36%) - WL4 (72%) - PM (41%) - YI (13%) - SMRPG (93%)
Logged

MM (10%) - SMA3 (33%) - DNS (0%)

Come check out the Nintendo 64 Mapping Workshop!
Revned
Hero Member
*****
Offline Offline

Posts: 1092



« Reply #3 on: March 31, 2009, 09:59:48 AM »

I use Photoshop, which provides lots of blending options for layers and even lets you directly edit the alpha channel. 50% transparency is as easy as pressing '5' on the keyboard. There are lots of different algorithms to do it, though, and none of them is "correct". My SotN waterfall is hardly perfect, but it gives a similar effecy.



I would imagine Paint Shop can do it, you're just missing it. I know some command-line tools as well, but they're a little hard to figure out.
Logged

LDK
Newbie
*
Offline Offline

Posts: 26


« Reply #4 on: March 31, 2009, 05:03:29 PM »

There is also web based image editor: http://www.sumopaint.com/web/

GUI looks very similar to Photoshop, layer transparency can be set at bottom right corner, palette: layers, setting: opacity
Logged
JonLeung
Administrator
*****
Offline Offline

Posts: 3173


« Reply #5 on: April 01, 2009, 06:55:55 AM »

Dealing with transparency - and layers, even - is something I really should've learned a lot earlier.



Turns out I had Photoshop installed in my computer from who knows how long ago, and Revned's suggestion worked out really well.  Thanks, Revned!



The grid thing in Photoshop looks handy...maybe I should learn to specifically use Photoshop.  I don't know why I continue to use an ancient Paint Shop Pro.  Like, really ancient.
Logged
Maxim
Hero Member
*****
Offline Offline

Posts: 972



« Reply #6 on: April 01, 2009, 08:21:19 AM »

PSP7 is best. Photoshop is confusing. And the grid is extremely useful.
Logged
snesmaster
Full Member
***
Offline Offline

Posts: 181



« Reply #7 on: May 28, 2009, 08:24:33 PM »

I use Photoshop for all of my maps, however I also had classes in Photoshop at college and used it were I used to work.  It's a great program when you know how to use it, however it takes a while to learn everything you can do with it.
Logged
snesmaster
Full Member
***
Offline Offline

Posts: 181



« Reply #8 on: May 29, 2009, 03:38:14 PM »

One other kewl feature of Photoshop is the ability to select a color and either replace it with another color or delete that color.  So when you have multiple layers for SNES games you can delete transparent parts of the foreground to show the background layers behind them.  I have not used Paint Shop Pro, so I don't know if that can do that or not?
Logged
Revned
Hero Member
*****
Offline Offline

Posts: 1092



« Reply #9 on: May 29, 2009, 04:10:15 PM »

snesmaster Said:
One other kewl feature of Photoshop is the ability to select a color and either replace it with another color or delete that color.  So when you have multiple layers for SNES games you can delete transparent parts of the foreground to show the background layers behind them.  I have not used Paint Shop Pro, so I don't know if that can do that or not?

The magic wand tool is way quicker.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
VGMaps.com: The Video Game Atlas

 

Pixel WarehouseVGMuseum.com

Your ad could be here - contact me for advertising inquiries.

VGMaps.com is registered with and hosted by

Go Daddy.

Supported by you.

� 2002-2018 Jonathan Leung.

VGMaps.com is an archive of video game maps up since May 6, 2002. Optimized for at least 800 x 600 resolution.

This site does not contain commercial ROMs or any other illegal materials. All directly "ripped" game images are the property of their respective copyright holders.

This web site and compass logo are copyrighted by Jonathan Leung 2002-2018.