This repository contains all openGl codes, they are done in C and C++.
To execute code in linux install freeglut3
sudo apt install freeglute-dev
To execute the code use
gcc "program_name.cpp" -o a.out -lGLU -lGL -lglut
./a.out
- making window - use openGL library to make a window.
- openGL_primitives - shows the use of basic available openGL-primitives functions.
- mouse & keyboard - use of mouse and keyboard in the glut window and log there activity in the console
- rotate function Demo - use of rotate function in the given glut project.
- load png images - loading the png images in the glut window.
- object picking mouse - use mouse to select/pick a object.