ofDrawBitmapString text size with ofScale, not working?

Screen Shot 2021-07-23 at 10.06.04
guys , any ideas why ofDrawBitmapString cannot be scaled up or down with ofScale?

it seems to only translate, but not increase in size…

I noticed this years ago, but it also appears today in latest build ,

am I missing something trivial?

By default on most renderers,drawBitmapMode (set via pushing a new ofStyle or immediately using ofSetDrawBitmapMode(...)) is set to OF_BITMAPMODE_MODEL_BILLBOARD.

To set a different mode choose one of:

enum ofDrawBitmapMode{
	OF_BITMAPMODE_SIMPLE = 0,
	OF_BITMAPMODE_SCREEN,
	OF_BITMAPMODE_VIEWPORT,
	OF_BITMAPMODE_MODEL,
	OF_BITMAPMODE_MODEL_BILLBOARD
};

to make the text subject to the transform you want.

e.g. ofSetDrawBitmapMode(OF_BITMAPMODE_MODEL);

1 Like

yeap :beers:

1 Like