Opengl exercise