Project 0
Points: 6
Purpose
Setup for working with OpenGL
Task 1: Tutorial
Follow the instructions of
openGL tutorial
Tutorial 1:
-
Install CMake
-
Install your favourite C++ Integrated Development
Environment (eg Visual Studio)
-
Download the code of
openGL tutorial
below I abbreviate
TUT := location of the tutorial after install,
e.g.
C:\Users\jorg\Downloads\ogl-master\ogl-master.
-
Run CMake:
top field = TUT, 2nd from top = TUT/build
e.g. Windows:
C:\Users\jorg\Downloads\ogl-master\ogl-master/build
-
configure (ignore red errors),
-
configure again,
-
generate
-
open tutorial,
e.g. Windows: find
C:\Users\jorg\Downloads\ogl-master\ogl-master/build/...sln
-
n := place in alphabet of first letter of last name starting from 0.
run Tutorial number mod(n,10)+4
example: Alice Peters should run Tutorial 9 [mod(15, 10) + 4 = 9]
Task 2: Project 1 set up
For openGL
-
Download code_base
-
Run CMake (compile into build)
-
[4 pts] run the provided code to see the figure below.
(your platform and compiler version may require minor adjustments)
-
[2 pts] Change the title of the window to your name
"Lastname, Firstname"
WHAT TO SUBMIT
practice submission -- all the other submissions will look alike
-
A link to a screen shot/video
of both tasks
GRADING
- Late submission: -10% per day