Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/arthub-j/indi-opengl-full-course
- Owner: artHub-j
- Created: 2023-05-19T00:30:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-24T11:54:28.000Z (6 months ago)
- Last Synced: 2024-06-25T11:39:26.248Z (6 months ago)
- Topics: 3d-graphics, epsevg, fib, glsl, idi, idi-upc, indi, indi-upc, opengl, qt, shaders
- Language: C++
- Homepage:
- Size: 8.69 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
| | βΈ: Crown Appears
βΈ: Red Striped shirt
β: Rotate Y Axis | 10 |
|2
| | : 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
| | 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
```