Chapter 3: Dealing With Complex Geometry; The Wavefront File Format; Cube.obj; Cube.mtl; Preparing the OBJ Viewer Code; Loading an OBJ; Building the Shaders; The Vertex Shader; The Fragment Shader; Vertex Buffer Object; Storing the Vertex Data; Building the Vertex Data Array VBO…