I am using wglUseFontBitmaps() to create display lists of a font and then glListBase, glCallLists to display some text in OpenGL.
But the glRotate() and glTranslate() functions don’t affect the text’s position.
How can I rotate the text or change its position?
I am using wglUseFontBitmaps() to create display lists of a font and then glListBase,
Share
You can’t transform OpenGL bitmaps. Period. The only thing you can move around, affected by the transformation pipeline, is the starting position set using
glRasterPos.glRasterPoseffectively sends sort of a “vertex” that gets transformed by the modelview and projection, however the effecting viewport position is just the start position of the following bitmap drawing.