Code Monkey home page Code Monkey logo

indi-opengl-full-course's Introduction

opengl-training

Activities Description
๐Ÿ—‚ 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

1

ACT1 โ’ธ: Crown Appears
โ’ธ: Red Striped shirt
โ“‡: Rotate Y Axis

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

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

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:

sudo apt-get install build-essential
sudo apt-get install qtcreator
sudo apt-get install qt5-default

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

indi-opengl-full-course's People

Contributors

arthub-j avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.