Project 0

Points: 6

Purpose

Setup for working with OpenGL

Task 1: Tutorial

Follow the instructions of openGL tutorial Tutorial 1:

  1. Install CMake  
  2. Install your favourite C++ Integrated Development Environment (eg Visual Studio)  
  3. 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.
  1. Run CMake:
    top field = TUT, 2nd from top = TUT/build e.g. Windows: C:\Users\jorg\Downloads\ogl-master\ogl-master/build
  2. configure (ignore red errors),
  3. configure again,
  4. generate
  5. open tutorial,
    e.g. Windows: find C:\Users\jorg\Downloads\ogl-master\ogl-master/build/...sln
  6. 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
  1. Download code_base
  2. Run CMake (compile into build)
  3. [4 pts] run the provided code to see the figure below. (your platform and compiler version may require minor adjustments)
  4. [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

GRADING