RgbImage.cpp and RgbImage.h define a C++ class that supports texture maps and bitmap (.bmp) files. It includes functions from reading a texture map from a .bmp file, writing a a texture map to a bitmap file, and loading a texture map from the main OpenGL rendering window.

It is distributed with a set of programs introducing the use of Modern OpenGL, which are intended to accompany a possible second edition of the book 3D Computer Graphics: A mathematical approach with OpenGL, Cambridge University Press, 2003.