Project 0

Points: 6 (+4n)

Purpose

Setup for working with OpenGL and webGL2

Task 1: Tutorial

For openGL follow the instructions of openGL tutorial Tutorial 1 and 2:

  1. Install CMake  
  2. Install your favourite C++ Integrated Development Environment (eg Visual Studio)  
  3. Download the code of 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. run Tutorial 2
    (e.g. Windows: right click, select as start proj, debug modes)

For webGL2 follow the instructions of webGL tutorial

in particular: setup
Install your favourite Javascript Integrated Development Environment
Run examples

Task 2: Project 1 set up

For openGL
  1. Download code_base1 to TUT/misc05_picking
  2. Replace CMakeLists.txt by the new one in the code base
    (hint: keep the old one and do a diff to see what changed).
  3. Run CMake (compile into TUT/build)
  4. [4 pts] run the scaffold program to see the figure below
  5. [2 pts] Change the title of the window to your name "Lastname, Firstname"


For webGL2: nothing yet (showing the points will be part of Project 1)

WHAT TO SUBMIT

practice submission -- all the other submissions will look alike

GRADING