My OpenGL solutions for INDI (EPSEVG) / IDI (FIB) at UPC. Study about OpenGL, an API for writing applications that produce 2D and 3D graphics. Code in GLSL and C++
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
1
โธ: Crown Appears โธ: Red Striped shirt โ: Rotate Y Axis
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
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
Exams Folder
Year
๐ Exams/EXAM1
Examen OpenGL 2018-19
๐ Exams/EXAM2
Examen OpenGL 2020-21
๐ Exams/EXAM3
Examen OpenGL 2021-22
๐ Exams/EXAM4
Examen OpenGL 2022-23
Exam
Initial Scene
Result
Interaction Mouse/Keys
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...)
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: