A second shape used in texture mapping is a cylinder. An (x,y,z) value is converted to cylindrical coordinates of (r, theta, height). For texture mapping, we are only interested in theta and the height. To find the color in two-dimensional texture map, theta is converted into an x-coordinate and height is converted into a y-coordinate. This wraps the two-dimensional texture map around the object.