code for learning and practicing 3D rendering with OpenGL