Overview ■ Visual Studio ■ Libraries ■ Standard project setup 2
Visual Studio ■ VS 2019 ■ Community, Pro, and Enterprise versions all seem to work ■ Personal customizations – Not required, just to warn you when watching recordings – Theme, layout – Jetbrains Resharper 3
Libraries ■ Code for supporting Open. GL programming ■ GLFW: OS integration ■ GLM: Mathematics ■ stb_image: reading images from files ■ CS 4722: Models, shapes, colors 4
GLFW ■ Open. GL does not define OS integration so several libraries have been developed to cover that need ■ Create windows – Size and position – Full screen support ■ Interact with events such as keyboard and mouse 5
GLM ■ Supports mathematical operations ■ Mainly will use it for vector and matrix support ■ Closely follows GLSL, so documentation on the GLM site is a bit sparse 6
stb_image ■ A library for reading images from files ■ We will only use png and jpeg ■ Not a very efficient library but it is very easy to incorporate into our projects 7
Library Packaging ■ The libraries include numerous header files that are collected into a directory and appropriate subdirectories – Main directory is named Common – GLM is in subdirectory GLM and so on ■ For some libraries, such as GLM, all the implementation is contained in the header files, so nothing else is needed ■ For CS 4722 and GLFW, some C++ source files are compiled and joined to a library file cs 4722 lib. lib – This is also put in the Common directory – The library is statically linked, there is no DLL file used 8