MCSL-054 IGNOU STUDY MATERIAL

Page 29

Computer Graphics and Multimedia − Lab

Figure 3: After Typing the Names of the Three .lib files. glu32.lib glut32.lib opengl32.lib in the Object/Library modules.

Step:12-15: Go to fileÆnew. Now choose C++ source file. Give file name as GLExample (for example)

Figure 4: After selecting File Menu Tab & Select New. Now Type your File Name in the File Name Title Bar (say GLExample).

Step-16: Type your source code in that source file. Step17: Press F7 to build your file.

Figure 5: After writing your code in the work space provided, & press F7 to build your file.

Step18: Press Ctrl+F5 to run your file OpenGLExample.cpp

33


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.