> Benoît Minisini wrote: > > I'm not sure to really understand. Would you make some images for me? > > It took me a while to hand make this in GIMP, but here's the idea: > > http://www.eightvirtues.com/misc/alpha_stuff.xcf > > There are eight tiles that use only alpha (ten if you include fully opaque > and fully transparent), which are applied to a larger texture to make parts > of it transparent to expose the underlying layers. In the GIMP file the > eight tiles' alpha channels have been applied to the grass layer, > effectively removing the undesired parts of it to expose the sand layer. > > Basically, copying only the alpha channel of an image to the alpha channel > of another image opens up all kinds of graphical possibilities. The alpha > channel is one of the few things that can make 2D graphics look great, > whether used normally or creatively. > > ----- > Kevin Fishburne, Eight Virtues > www: http://sales.eightvirtues.com http://sales.eightvirtues.com > e-mail: mailto:[email protected] [email protected] > phone: (770) 853-6271
I made an Image.DrawAlpha() method for you in revision #3101. Tell me if this is was you need. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
