Setup for working with OpenGL and webGL2
Install CMake
Install your favourite C++ Integrated Development
Environment (eg Visual Studio)
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.
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
run Tutorial 2 (e.g. Windows: right click, select as start proj, debug)
in particular
setup
Install your favourite Javascript Integrated Development Environment
Run examples
Download code_base1
to TUT/misc05_picking
Replace CMakeLists.txt by the new one in the code base
(keep the old one and do a diff to see what changed).
Run CMake (compile into TUT/build)
[4 pts] run the scaffold program to see