3D Text

The GLUT function glutStrokeCharacter() draws text characters as 3D line objects.

Because the characters are GL lines, they are affected by translation, rotation, scale, and perspective transformations.

The drawing position for a stroke character is set using just the normal glTranslate, etc, functions.

After a character is drawn, GLUT automatically translates the drawing position to the right by the width of the character.



Examples:



next