Chapter 8 programs: cubetex.c: rotating cube with checkerboard texture ppmtex.c: displays a ppm image using a texture map. robot2.ppm can be used for testing. teapottex.c: GLUT teapot with texture. Many texture parameters and options are included and can be added or removed by commenting or uncommenting a few lines in the code.