0% found this document useful (0 votes)
23 views

Specifies The Top-Left Corner of The Window, Measured in Pixels, From The Top-Left Corner of The Screen. 14)

1) Windows.h is a header file for C programming that contains declarations for all Windows API functions and data types. It defines many Windows functions that can be used in C code. 2) GL/gl.h contains declarations for OpenGL utility functions that make some operations easier. It is part of the standard OpenGL implementation. 3) GLUT is a windowing toolkit that handles keys, mouse, and window events and is used for window management in OpenGL programs.

Uploaded by

arshidevra
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Specifies The Top-Left Corner of The Window, Measured in Pixels, From The Top-Left Corner of The Screen. 14)

1) Windows.h is a header file for C programming that contains declarations for all Windows API functions and data types. It defines many Windows functions that can be used in C code. 2) GL/gl.h contains declarations for OpenGL utility functions that make some operations easier. It is part of the standard OpenGL implementation. 3) GLUT is a windowing toolkit that handles keys, mouse, and window events and is used for window management in OpenGL programs.

Uploaded by

arshidevra
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

1) windows.

h is a Windows-specific header file for the C programming language which contains declarations for all of the functions in the Windows API, all the common macros used by Windows programmers, and all the data types used by the various functions and subsystems. It defines a very large number of Windows specific functions that can be used in C. 2) GL/gl.h - The GLU (GL Utilities) in glu.h refers to a set of utility functions that make some OpenGL operations easier to program. It is standard on all OpenGL implementations and is generally thought of as part of standard OpenGL. gl directory is sub-directory of your include file location. 3) GLUT - Windowing toolkit (key, mouse handler, window events) and it is used for window management. 4) GLU - Viewing perspective/orthographic, Image scaling, polygon tessellation Sphere, cylinders, quadratic surfaces 5) GL - Primitives - points, line, polygons Shading and Color Translation, rotation, scaling Viewing, Clipping, Texture Hidden surface removal Viewing perspective/orthographic Image scaling, polygon tessellation Sphere, cylinders, quadratic surfaces. 6) glutDisplayFunc( myDisplay ); - called when window contents need to be redrawn 7) glutReshapeFunc( myReshape ); - called when window is reshaped 8) glutMouseFunc( myMouse ); - called when mouse button is pressed 9) glutKeyboardFunc( myKeyboard );- called when keyboard is pressed or released 10) glutMainLoop( ); - Now draw the initial picture and enter infinite loop until a registered event occurs 11) void glutInit(int argc, char **argv)Initializes GLUT and should be called before any OpenGL functions: glutInit( ) takes the arguement from main( ) and can use them in an implementation-dependent manner. 12) void glutInitDisplayMode(unsigned int mode) Requests a display with the properties in mode. The values of mode are combined by using the logical OR (i.e. | ), such as color model (GLUT_RGB, GLUT_INDEX) and buffering of color buffers (GLUT_SINGLE, GLUT_DOUBLE). 13) void glutInitWindowPosition(int x, int y)
Specifies the top-left corner of the window, measured in pixels, from the top-left corner of the screen. 14)

You might also like