Introduction - If you have any usage issues, please Google them yourself
The final texture mapping using glTexCoord2f () or gluQuadricTexture () function. Texture image in the specified there are two ways: one is to use an explicit glTexImage2D () Second, using the implicit way, using auxDIBImageLoad (), glGenTextures (), glBindTexture () and gluBuild2DMipmaps () function. The location of the house and size can be directly use OpenGL entry procedures. Implicit way of texture mapping code can refer to based on the introduction to GLUT of OpenGL.