Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arthub-j/indi-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.
https://github.com/arthub-j/indi-opengl-full-course

3d-graphics epsevg fib glsl idi idi-upc indi indi-upc opengl qt shaders

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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. | [](https://github.com/artHub-j/indi-opengl-full-course/tree/main/ACT1)|
| πŸ—‚ ACT2 | 3D model, Camera Transformations and Euler Angles in XYZ axis. | [](https://github.com/artHub-j/indi-opengl-full-course/tree/main/ACT2)|
| πŸ—‚ ACT3 | Phong Model, Multiple Light Focus and integration with Qt interfaces. | [](https://github.com/artHub-j/indi-opengl-full-course/tree/main/ACT3)|

| 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 | [](https://github.com/artHub-j/indi-opengl-full-course/tree/main/Exams/PARCIAL%20RESOLT%20%2B%20SIMULADOR%20(2021-22))|
| πŸ—‚ Exams/EXAM1 | Examen OpenGL 2018-19 | [](https://github.com/artHub-j/indi-opengl-full-course/tree/main/Exams/EXAM1%20(Examen%20OpenGL%202018-19))|
| πŸ—‚ Exams/EXAM2 | Examen OpenGL 2020-21 | [](https://github.com/artHub-j/indi-opengl-full-course/tree/main/Exams/EXAM2%20(Examen%20OpenGL%202020-21))|
| πŸ—‚ Exams/EXAM3 | Examen OpenGL 2021-22 | [](https://github.com/artHub-j/indi-opengl-full-course/tree/main/Exams/EXAM3%20(Examen%20OpenGL%202021-22))|
| πŸ—‚ Exams/EXAM4 | Examen OpenGL 2022-23 | [](https://github.com/artHub-j/indi-opengl-full-course/tree/main/Exams/EXAM4%20(Examen%20OpenGL%202022-23))|
| πŸ—‚ Exams/EXAM5 - BONUS | Examen OpenGL 2023-24 | [](https://github.com/artHub-j/indi-opengl-full-course/tree/main/Exams/EXAM5%20(Examen%20OpenGL%202023-24%20-%20BONUS))|

| 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][buymeacoffee-shield]][buymeacoffee]

[buymeacoffee]: https://www.buymeacoffee.com/artuaragonu
[buymeacoffee-shield]: https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png

# 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
```