Rendering a 3D Cube | OpenGL 3D Game Tutorial Series
The seventh tutorial of the OpenGL 3D Game Tutorial Series has been just published on YouTube!
Thursday 19th May 2022

Rendering 3D Cube | OpenGL 3D Game Tutorial Series #7


 

Hello everyone, and welcome back to the OpenGL 3D Game Tutorial Series!

In this seventh episode we'll see how to render our first 3D Cube in OpenGL!

In particular we will see:

  • what vertices to place in the vertex buffer in order to render a 3D Cube,
  • how to create the Element Buffer Object in order to optimize the usage of vertices through the so-called indices,
  • and, in the end, how to create a Projection Matrix in such a way we can project vertices from 3D space to screen space.

 

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


ENTIRE TUTORIAL SERIES: https://www.youtube.com/playlist?list=PLv8DnRaQOs5-TyYnF56YghOxQBNr1VVmF

TOOLS:

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

 

I hope you'll enjoy this tutorial!

 

SUPPORT ON PATREON: https://patreon.com/pardcode

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

DISCORD SERVER: https://discord.gg/RymBzwKPyZ