My OpenGL solutions for INDI (EPSEVG) / IDI (FIB) at UPC. All solved OpenGL exams until 2023-24 + Solved Activities from 2022-23 course.
Exam | Output | Interaction Mouse/Keys |
---|---|---|
: Move Euler Angles Camera |
qmake --version
If not, install Qt-5 using the following commands:
sudo apt-get install build-essential
sudo apt-get install qtcreator
sudo apt-get install qt5-default
If sudo apt-get install qt5-default
doesen't work, use the following command instead:
sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
Install and validate that OpenGL is installed correctly in your graphics card's driver:
sudo apt install mesa-utils
glxinfo | grep -E "direct rendering|^OpenGL"
Your terminal output should be similar to this:
Then, install cmake (metacompiler), build-essential (package that includes the necessary to develop in C++)
and libglm-dev (GLM library):
sudo apt-get install cmake build-essential libglm-dev
cd directory_act_ex/
qmake
make
./executable_name