How can I handle opacity masks when drawing images

BlitzMax Forums/BlitzMax Beginners Area/How can I handle opacity masks when drawing images

Canali(Posted 2011) [#1]
Hi,
first of all forgive my poor english but I'm not native.
:)

I was building my tile engine and had to handle tiles transitions.
Instead of drawing each kind of tile with any possibile transition I wanted to use opacity masks to be used when plotting a tile.

Example:
http://blogs.silverlight.net/blogs/msnow/archive/2008/08/25/terrain-tutorial-part-3-creating-smooth-tile-transitions-using-opacity-masks.aspx

I mean, is there a way I can quickly merge an image with an opacity mask and then draw it?
Any other approach suggestion??

Thanks
:)


Zeke(Posted 2011) [#2]
http://blitzbasic.com/Community/posts.php?topic=94692


Canali(Posted 2011) [#3]
Can't see the pics but seems right what I'm looking into.
I'll surely try it out.
Thanks again Zeke!


Czar Flavius(Posted 2011) [#4]
They're my pics, I'll put them back up. Didn't know they went down. It's a bit of a fiddle to set up but it works very well.