Zebra Crossing

BlitzMax Forums/BlitzMax Programming/Zebra Crossing

dw817(Posted 2016) [#1]


BTW, does anyone know if it's possible to plot directly into a pixmap the same way you can plot directly on the screen using commands such as DrawText(), DrawImage(), DrawPixMap(), DrawOval(), DrawRect() and to support SetScale(), SetAlpha(), and SetRotation() ?


Derron(Posted 2016) [#2]
As written in the other thread: check out Col's render-to-texture thread.

Should make possible whant you want to achieve.


bye
Ron


xlsior(Posted 2016) [#3]
If you have bah.freeimage you can convert to greyscale very rapidly:




dw817(Posted 2016) [#4]
Thanks for the prompt reply, Derron, and Xlsior.

The code I wrote HERE:

http://www.blitzbasic.com/Community/posts.php?topic=107224

almost works perfectly. I just need BLACK $000000 to show as transparent. Any ideas on fixing the existing code from 107224 to do this ?