Skip to content

My OpenGL solutions for INDI (EPSEVG) / IDI (FIB) at UPC. All solved OpenGL exams until 2023-24 + Solved Activities from 2022-23 course.

Notifications You must be signed in to change notification settings

artHub-j/indi-opengl-full-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo_UPC svg indi-upc-opengl-full-course

My OpenGL solutions for INDI (EPSEVG) / IDI (FIB) at UPC. All solved OpenGL exams until 2023-24 + Solved Activities from 2022-23 course.

Activities Description Link
🗂 ACT1 Basic Transformations in XY axis and shaders.
🗂 ACT2 3D model, Camera Transformations and Euler Angles in XYZ axis.
🗂 ACT3 Phong Model, Multiple Light Focus and integration with Qt interfaces.
Activity Result Interaction Mouse/Keys Mark

1

ACT1 Ⓒ: Crown Appears
Ⓒ: Red Striped shirt
Ⓡ: Rotate Y Axis
10

2

ACT2 : Move Euler Angles Camera
⇧: Move Morty Foward
⇩: Move Morty Backward
⇦: Rotate Morty 45° Y axis
⇨: Rotate Morty -45° Y axis
Ⓒ: Toggle Morty's 1st Person Cam/Euler Angles Cam
Ⓠ: Rotate Rick 45°
Ⓔ: Rotate Rick -45°
Ⓟ: Portal appears in front of him
Ⓟ: Close Portal in front of him.
Ⓡ: Restart Scene
▫ New Morty Appears if he walks through the portal
10

3

ACT3 Mouse/Keys
: Move Euler Angles Camera
Ⓦ/Ⓢ: Move active candle Up and Down
Ⓐ/Ⓓ: Move active candle Left and Right
Ⓣ: Toggle active candle
Ⓡ: Rotate active candle's Snitch

Qt Interfaces
▹ Radio Buttons: Toggle between left and right candle
▹ On/Off Button: Toggle On/Off Active candle focus light
▹ Dial: Modify Rotation Angle of active candle
10

Exams Folder Year Link
🗂 Exams/PARCIAL Examen Parcial, Simulació ex. 1 OpenGL 2021-22
🗂 Exams/EXAM1 Examen OpenGL 2018-19
🗂 Exams/EXAM2 Examen OpenGL 2020-21
🗂 Exams/EXAM3 Examen OpenGL 2021-22
🗂 Exams/EXAM4 Examen OpenGL 2022-23
🗂 Exams/EXAM5 - BONUS Examen OpenGL 2023-24
Exam Output Interaction Mouse/Keys

Parcial 2021-22 Ex. 1

: Move Euler Angles Camera
Exam Initial Scene Result Interaction Mouse/Keys Mark

1

: Move Euler Angles Camera
(To do...)
-

2

: Move Euler Angles Camera
(To do...)
-

3

: Move Euler Angles Camera
(To do...)
-

4

: Move Euler Angles Camera
(To do...)
9

5 (BONUS)

(To do...) -

Buy me a coffee

Previous steps and generation of executables

1. Installing Qt

Check if you already have a version of Qt installed:
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

2. Check OpenGL and install GLM (OpenGL Mathematics):

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

3. Generate executables:

cd directory_act_ex/
qmake
make
./executable_name

About

My OpenGL solutions for INDI (EPSEVG) / IDI (FIB) at UPC. All solved OpenGL exams until 2023-24 + Solved Activities from 2022-23 course.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published