Normals During the last few tutorials you’ve been dealing with normal without really knowing what they were. Triangle normals The…
Read More

Normals During the last few tutorials you’ve been dealing with normal without really knowing what they were. Triangle normals The…
Read More
In this tutorial we will learn how to load 3D meshes from files. We will do this just like we…
Read More
The interface Since this code will be re-used throughout the tutorials, we will put the code in a separate file…
Read More
About UV coordinates When texturing a mesh, you need a way to tell to OpenGL which part of the image…
Read More
Draw a cube A cube has six square faces. Since OpenGL only knows about triangles, we’ll have to draw 12…
Read More
Homogeneous coordinates Until then, we only considered 3D vertices as a (x,y,z) triplet. Let’s introduce w. We will now have…
Read More
OpenGL 3 makes it easy to write complicated stuff, but at the expense that drawing a simple triangle is actually…
Read More
Introduction Welcome to the first tutorial ! Before jumping into OpenGL, you will first learn how to build the code…
Read More