In this tutorial, we will explore the core concepts of Vertex Arrays, Vertex Buffers, and Element Buffer Objects in Modern OpenGL. Through a detailed step-by-step walkthrough, you will gain a comprehensive understanding of these essential elements. Once we've mastered these concepts, we'll apply our newly acquired knowledge to render a surface chart step by step, from a flat grid to dynamic rotations in 3D.
Code: [ Ссылка ]
Links:
[ Ссылка ]
[ Ссылка ]
0:00 Let’s Build a 3D Chart
0:30 Data Layout
2:18 Buffers and OpenGL States
9:18 Drawing the Array
9:30 Introducing a Surface
10:29 GLM for 3D Math - CMake’s ExternalProject
10:57 Rotating the Chart Using the Arrow Keys
12:35 Indexed Drawing with Element Buffers
15:27 Final Surface Chart
Ещё видео!