Beginning Device-independent Graphics Programming with OpenGL (using GL, GLU & GLUT)

We have already set up GLUT and OpenGL [↗]. Now we can start writing codes from the ground up. Create an Empty C++ Win32 Console application and add a C++ source file. Add necessary library headers as follow: #include <stdlib.h> #include <GL/glut.h> ‾ Note» alteration of order will cause generation of error message. Now let … Continue reading Beginning Device-independent Graphics Programming with OpenGL (using GL, GLU & GLUT)