Now that we have gained an understanding of what OpenGL is, let's examine how to create our first OpenGL project, as follows:
- Create a new empty C++ project in Visual Studio and call it OpenGLProject.
- Then, download GLEW; this is a C/C++ extension loader library. OpenGL supports extensions that various GPU vendors can use to write and extend the functionality of OpenGL. This library will determine what extensions are supported on the platform.
- Go to http://glew.sourceforge.net/ and download the Windows 32-bit and 64-bit Binaries:
- Next, we need to download GLFW; this is a platform-independent API that is used for creating a window, reading inputs, and handling events. Go to https://www.glfw.org/download.html and download the 64-bit Windows binary. In this book, we will be primarily looking at implementing it on the Windows platform: