2d, text and lines

Archives Forums/Blitz3D SDK Programming/2d, text and lines

Difference(Posted 2007) [#1]
One of the the great things about Blitz3D is the integration of the 2d commands to draw lines and text. I use it for entity names, info about entities, selectionboxes together with bbCameraProject() and lots of other stuff.

If I where to buy, I would need to know how to do this with the SDK version and BlitzMax.

So how do I do that?
It does not seem like there are any 2D text or drawing commands listed here http://blitzbasic.com/Products/blitz3dsdk.php


ziggy(Posted 2007) [#2]
Yes they are, bbLine, bbPlot, bbOval, bbText, etc etc etc. all of them are listed!


Dreamora(Posted 2007) [#3]
The command is bbText
And it is pure 2D stuff, so you should consider the impact on the performance if you intermix it with 3D.
While it sounds nice in theory it has a massive overhead due to switching from 3D to 2D and back, for this reason people implemented several bitmap font system that base on single surface approaches ... or whole UI / 2D systems this way (FUI, Sprite Candy)


Difference(Posted 2007) [#4]
Well thats great news. I cant understand how I missed them.
Thanks for clearing it up.