This first project is about setting up the environment for using OpenGL. We will create an OpenGL window and color it using basic OpenGL functions.
Requirements
#include <GL/freeglut.h> #include <GLFW/glfw3.h>
Additional Requirements for CS 6610 Students
Notes
If you are using GLUT or FreeGLUT, pay attention to GLUT functions like the following:
glutInit
glutInitDisplayMode
glutInitWindowSize
glutCreateWindow
glutMainLoop
glutLeaveMainLoop
glutPostRedisplay
glutSwapBuffers
glutDisplayFunc
glutKeyboardFunc
glutIdleFunc
Mac OS X users can follow this tutorial for setting up FreeGLUT 2.8.0.