13.016 Introduction to Geometric
Modeling and Computation, Lecture 14
Thursday, April 3, 1997: Fonts, Animation, Input and Texture Mapping
S. L. Abrams, x3-7959, sabrams@deslab.mit.edu
These notes are available online as:
http://deslab.mit.edu/DesignLab/courses/13.016/graphics/overview4.html
Outline
Text fonts
- Stroke fonts
- Bitmap fonts
Animation
- GLUT idle and timer callbacks
Input
Texture mapping
Demos
- Font demo: example6
To execute on Athena:
add 13.016
cd /mit/13.016/graphics
example6
- Animation demo: example7
To execute on Athena:
cd /mit/13.016/graphics
example7
- Input demo: example8
To execute on Athena:
cd /mit/13.016/graphics
example8
- Texture mapping example: example9 and demo3
To execute on Athena:
cd /mit/13.016/graphics
example9
demo3
Reading Assignment
Neider, OpenGL Programming Guide, Chapter 9.
References
- J. D. Foley et al., Computer Graphics: Principles and
Practice, 2nd ed., Addison-Wesley, 1990.
- D. F. Rogers and J. A. Adams, Mathematical Elements for Computer Graphics, 2nd ed., McGraw-Hill, 1990.
- J. Neider et al., OpenGL Programming Guide,
Addison-Wesley, 1993.
(Available online as an IRIS InSight
document)
- M. J. Kilgard, The OpenGL Utility Toolkit (GLUT) Programming
Interface, Silicon Graphics, Inc., 1996.
(Available as the PostScript file: /mit/13.016/glut/glutspec.ps.)
- OpenGL WWW Center: http://www.sgi.com/Technology/OpenGL/
- Online OpenGL examples: /usr/share/src/OpenGL
- Online OpenGL/GLUT examples: /mit/13.016/glut/examples
and /mit/13.016/glut/redbook
- Class examples available online: /mit/13.016/graphics
On to hidden surfaces...
Back to the 13.016 overview...