-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.txt
28 lines (21 loc) · 1.62 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
This C++/Qt project defines the foundations to render 3D objects with OpenGl 3 Core profile
OpenGl Core profile is NOT OpenGL legacy mode, in legacy mode you can use glBegin() and glEnd() direct draw commands which is not the case here.
We provide a "***.obj" parser for loading 3D objects as well as a rudimentary render loop and Window creation.
The student will have to code camera / shader setup / handle matrices etc.
=============
Dependencies
=============
You only need QT 5.0 or superior to build this project, however,
If its 5.3.1 there is a known bug (https://bugreports.qt-project.org/browse/QTBUG-39859),
you will need to install libEGL (in ubuntu package libegl1-mesa-dev) otherwise CMake will complain:
The imported target "Qt5::Gui" references the file "Qt5Gui_EGL_LIBRARY-NOTFOUND"
==================
More instructions
==================
The assignments and compilation instructions are in "00_INSTRUCTIONS/".
You must run the script "./00_INSTRUCTIONS/build_doc.sh" to generate html files
such as "00_INSTURCTIONS/html_english/html/index.html". Tu run the script
Doxygen needs to be installed (git BASH is required as well for windows user since it's a bash script).
Note: Html instructions files are generated from the source code and "./00_INSTRUCTIONS/lab_instructions/****.h"
The first assignment only requires to fill in the file src/rendersystem/renderer.cpp which contains a lot of explanations.
If your are a teacher the answers should be in the folder 00_ANSWERS (or message me through github to get access to OpenGL_core_3_lab_answers) (not all instructions were translated, if you need the rest please message me.)