C++ OpenGL 3D Game Tutorial 7: Rendering 3D Cube

PardCode
PardCode
16 هزار بار بازدید - 2 سال پیش - SUPPORT ON PATREON:
SUPPORT ON PATREON: Patreon: pardcode

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

DISCORD SERVER: Discord: discord

DESCRIPTION:
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.

ENTIRE TUTORIAL SERIES: C++ OpenGL 3D Game Tutorial Series Fr...

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:50 Requirements
1:17 Design
5:32 Implementation
21:31 First Result (No Projection)
22:17 Projection Matrix (Quick Explanation)
23:32 Implementation
27:57 Second Result (Orthogonal Projection)
28:21 Implementation
35:27 Colored Cube (Front Face Culling Issue)
35:53 Implementation
40:23 Colored Cube (Fixed Front Face Culling Issue)
41:00 Winding Order
44:40 Final Result
45:05 End
2 سال پیش در تاریخ 1401/02/30 منتشر شده است.
16,090 بـار بازدید شده
... بیشتر