1. Introduction In this assignment, we will practice some of the basics of OpenGL. 2. Setup a. Create a C++ project on repl.it b. Delete main.cpp that was created in default, and upload the starter files (main.cpp, script.sh) to the project. c. Upload freeglut library, which is freeglut-3.2.1.tar.gz (please don’t extract it before upload), and right now, the directory should be looking like d. Extract it on replit console using the following command: tar -xzvf freeglut-3.2.1.tar.gz Then the directory should be like e. Get permission to read and execute script.sh by using the following command: chmod u=rx script.sh f. Then run script.sh by using ./script.sh (Instead of run button, you must run this command every time to compile.) Then it will generate a window showing your result. (It may take some time for the first time)
1. Introduction In this assignment, we will practice some of the basics of OpenGL. 2. Setup a. Create a C++ project on repl.it b.…