Lesson 8: Drawing Text
- Summary
- *
- Text version
- *
- Exercises
- *
- Download source
- Change the program to have one spinning character, which starts as the lowercase letter 'a' and changes to whatever letter the user presses. Use the GLUT stroke functions (glutStrokeCharacter and glutStrokeWidth) rather than t3dDraw3D to draw it. You'll want to use the online documentation for GLUT to figure out how the functions work.
- Change the program from a spinning square to a spinning octagon, where the faces have the letters of an eight-letter word (such as "spinning"). Use 2D text drawing (t3dDraw2D) rather than 3D text drawing.
Next is "Lesson 9: Animation".