bbDrawImage with transparency?

Archives Forums/Blitz3D SDK Programming/bbDrawImage with transparency?

Bukky(Posted 2007) [#1]
Hey guys,

Is it possible to make a call to bbDrawImage and have it draw an image with alpha? I'm making a menu overlay for my project and I'm having trouble getting things looking the way I want.

If it's not possible, is there any workaround?


Beaker(Posted 2007) [#2]
The only way to do this is using 2D in 3D, or doing it very slowly with Read/WritePixelFast. If your project is using 3D at all then I suggest the former. You can translate something like Skids pixie code from the Code Archive.


Andreas(Posted 2008) [#3]
I currently have the same problem. The Read/WritePixelFast is indeed very very slow and the only useful solution for drawing alpha pixels.


Leon Drake(Posted 2008) [#4]
and the only solution so far from transfering images back and forth from b3d