OpenGL sample 2 (in progress)