Categories: archive |code

OpenGL screencast 14 - Textures Part 1

In this screencast (OpenGL video tutorial), I discuss using textures. I start by explaining loading a texture into texture memory from a bmp image. Next, I talk about how a texture is used a tied to a specific vertex.

OpenGL commands used in this screencast: glGenTextures(), glBindTextures(), glTexImage2D(), glTexParameteri(), glTexCoord2f()

OpenGL parameters used in this screencast: GL_TEXTURE_2D, GL_RGB, GL_UNSIGNED_BYTE, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_LINEAR

The code is available to download on Github

Watch the Screencast

YouTube