[23 Oct 2009] Re: My personal fight against alpha-channel ^_^
Posted: Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 23 Oct 2009 19:41:51 -0000
I'm workin on the next version of LookHere and I'm implementing a way to have customizable frames around the images, so I've approached this solution: The frame skin is given by an empty frame (with alpha channel if needed, for example to render soft shadows), I load this frame and divide it in nine pieces, like below:
Actually the <E> piece is unused. I render the A, C, G, I frames around the image corners but to fill the borders I've tried using Box with #FILLTEXTURE and the pieces B, D, F and H for each border. It's working fine but if I've an alpha-channel it does not work. If you can implement this feature you will make me very happy
To be honest I've already written a routine that do the trick but when the user click to see an image I need to show the picture as fast as I can so a native function can save preciuos time 
Regards
Fabio
I'm workin on the next version of LookHere and I'm implementing a way to have customizable frames around the images, so I've approached this solution: The frame skin is given by an empty frame (with alpha channel if needed, for example to render soft shadows), I load this frame and divide it in nine pieces, like below:
Code: Select all
+-+-+-+
[quote]
[/quote]
+-+-+-+
[quote]
[/quote]
+-+-+-+
[quote]
[/quote]
+-+-+-+
Regards
Fabio