flâneur — a map of the web's best reading

LearnOpenGL - Hello Triangle

learnopengl.com · 6,449 words · saved by 2 readers

In OpenGL everything is in 3D space, but the screen or window is a 2D array of pixels so a large part of OpenGL's work is about transforming all 3D coordinates to 2D pixels that fit on your screen. The process of transforming 3D coordinates to 2D pixels is managed by the graphics pipeline of OpenGL. The graphics pipeline can be divided into two large parts: the first transforms your 3D coordinates into 2D coordinates and the second part transforms the 2D coordinates into actual colored pixels. In this chapter we'll briefly discuss the graphics pipeline and how we can use it to our advantage to create fancy pixels. The graphics pipeline takes as input a set of 3D coordinates and transforms these to colored 2D pixels on your screen. The graphics pipeline can be divided into several steps where each step requires the output of the previous step as its input. All of these steps are highly specialized (they have one specific function) and can easily be executed in parallel. Because of their

LearnOpenGL - Hello Triangle Learn OpenGL, extensive tutorial resource for learning Modern OpenGL --> --> If you're running AdBlock, please consider whitelisting this site if you'd like to support LearnOpenGL (it helps a lot ); and no worries, I won't be mad if you don't :) Introduction Getting started OpenGL Creating a window Hello Window Hello Triangle Shaders Textures Transformations Coordinate Systems Camera Review Lighting Colors Basic Lighting Materials Lighting maps Light casters Multiple lights Review Model Loading Assimp Mesh Model Advanced OpenGL Depth testing Stencil testing Blendin

Explore this link on the map →

saved by

related reading