Transparency Colors

Non-platform specific questions.

Transparency Colors

Postby trajecto » Sun Jan 18, 2004 7:24 pm

How does one set the transparency color for an image? I read somewhere it is the Top left corner color. Is that the very pixel in the Top left corner?


Is there a way to set semi-transparency? I don't mean the transparency slider but for example the ship im Moon Defender, it's windows are semitransparent while the rest of the vehicle is opaque.


Thanks!
User avatar
trajecto
 
Posts: 86
Joined: Fri Jan 16, 2004 3:12 pm
Location: Michigan, US
Score: 6 Give a positive score

Postby makslane » Sun Jan 18, 2004 9:14 pm

The first pixel of image is used to determine transparent color (in 8, 16 or 24 bit images)

In a 32 bit image, the alpha channel will be used (the car in MoonDefender)


You can set transparency for any actor with transparency slider in Actor Control panel or with "Change Transparency" action.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby trajecto » Mon Jan 19, 2004 1:48 am

Thanks as usual Makslane.

GE has great Tech Support.
User avatar
trajecto
 
Posts: 86
Joined: Fri Jan 16, 2004 3:12 pm
Location: Michigan, US
Score: 6 Give a positive score

Postby Just4Fun » Tue Jan 20, 2004 4:03 pm

Does this mean that every picture that I create needs to have one pixel at the Left X,Y =0 axis that is a different color than all the colors I want displayed in my picture? ie: If I create an image with a solid blue background, it doesn't display in GE unless I set the upper left pixel to a different color. TlA
I've learned that I still have a lot to learn.

** Makslane == Genious **
Just4Fun
 
Posts: 524
Joined: Tue Jul 01, 2003 5:19 am
Location: USA: Washington State; West Coast
Score: 6 Give a positive score

Postby makslane » Tue Jan 20, 2004 5:21 pm

Yes
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron