Programming and Graphics

(Kiana) #1

8.1 Glut 267


Problems


8.1.1. ProgramGlutto open a blank window in a reddish color.

8.1.2. ProgramGlutto draw a red square on a yellow background.

(a)(b)

Figure 8.1.2 String of characters printed on aGlutwindow using two methods.

Figure 8.1.3 A spectacular color display generated byGlut, printed here in gray
scale.
Free download pdf