C++ OpenGL 3D Game Tutorial 3: Drawing a Triangle

Опубликовано: 12 Июль 2026
на канале: PardCode
15,881
215

SUPPORT ON PATREON:   / pardcode  

GITHUB: https://github.com/pardcode/opengl-3d...

DISCORD SERVER:   / discord  

DESCRIPTION:
Hello everyone, and welcome back to the OpenGL 3D Game Tutorial Series.
In this third episode we'll see how to draw our first triangle in OpenGL!
In particular we will see what points of the space to use in order to render the triangle on the screen, how to use OpenGL Objects like Vertex Array Object and Vertex Buffer Object in order to store correctly the vertices of our triangle, how OpenGL is able to perform the rendering of 2D or 3D Scenes to a 2D screen by means of the so called graphics pipeline.

The code written in this tutorial works on Windows, macOS and Linux!

ENTIRE TUTORIAL SERIES:    • C++ OpenGL 3D Game Tutorial Series From Sc...  

TOOLS:

Visual Studio 2019 Community: https://visualstudio.microsoft.com/vs...
QT Creator: https://www.qt.io/download-qt-installer

-----------------------------------------------------------------------------------------------------------------

Chapters:
0:00 Intro - More Info at www.pardcode.com
0:52 Requirements
1:20 Design
11:26 Implementation
42:35 Final Result
42:43 End