Title:
opengl_qt_texture_mapping Download
Description: Simple texture mapping, a texture (in fact, white, and texture can be understood as an image) is mapped to the surface of the space objects, texture mapping, also known as maps, this show that is not necessarily a rectangle, for example, I can spherical, or any surface. In the previous article OpenGL_Qt study notes _04 (3D graphics rendering and rotation), the space we draw the body surface are smooth color, if you want to kind of method to draw the image on its surface, you must the idea of using the differential, a draw small image, then stitching together, we can imagine how complex this process is opengl texture mapping can be a good solution to this problem. This laboratory cube drawn on the blog post OpenGL_Qt study notes _04 (3D graphics rendering and rotation) posted each the surface paste a texture (picture).
To Search:
File list (Check if you may need any files):
OpenGL_Qt学习笔记之_05(纹理映射).pdf
opengl_nehe_05
..............\cherry.jpg
..............\glwidget.cpp
..............\glwidget.h
..............\glwidget.ui
..............\main.cpp
..............\opengl_nehe_05.pro
..............\opengl_nehe_05.pro.user