OpenGL programming basics
Computer Graphics · Engineering
Study notes
Draw triangle: create VAO/VBO with vertices; compile vertex/fragment shaders; link program; set uniforms; glDrawArrays. 100 lines for a triangle teaches the pipeline. Modern OpenGL is explicit: you manage buffers and shaders.