Welcome to Episode 1 of the OpenGL Tutorial Series.
In this video we first start by setting up SDL2, glew, and glm.
We'll use SDL for handling windows which are owned by the operating system.
We'll use glew to communicate with the GPU using OpenGL.
We'll also use glm, which is a math library that mimics the math in glsl shaders, which we'll cover later in the series.
At the end of the video we'll create a window and handle the close event.
Good luck and enjoy!
Chapters:
0:00 Intro
0:52 C++ Project Setup
3:34 Setting up SDL, glew and glm
11:30 Initializing SDL
12:24 Creating a window
13:48 Handling Events
Source Code: [ Ссылка ]
Link to SDL2 download: [ Ссылка ]
Link to glew download: [ Ссылка ]
Link to glm repository: [ Ссылка ]
SDL setup on mac: [ Ссылка ]
SDL setup on linux: [ Ссылка ]
Glew setup in xcode: [ Ссылка ]-
SDL and glew setup in codeblocks: [ Ссылка ]
Ещё видео!