opengl_qt_texture_mapping

所属分类:OpenGL
开发工具:C/C++
文件大小:382KB
下载次数:271
上传日期:2012-08-24 20:19:36
上 传 者tornadomeet
说明:  纹理映射简单的讲,就是把一个纹理(其实说白了,纹理可以理解为一幅图像)映射到空间物体的表面上,因此纹理映射也叫贴图,这个表明不一定是矩形,比如说我可以是球面,或者是任意曲面。在上一篇文章OpenGL_Qt学习笔记之_04(3D图形的绘制和旋转)中,我们绘制的空间体的表面都是一些光滑的颜色,如果要在其表面采用那种方法绘制图像的话,则必须利用微分的思想,一个一个的绘制小图像,然后拼接起来,可想而知,这个过程是多么的复杂,opengl的纹理映射就可以很好的解决这一问题。 这个实验室在上一篇博文OpenGL_Qt学习笔记之_04(3D图形的绘制和旋转) 绘制的立方体上贴每个面上贴上一张纹理(即图片)。
(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).)

文件列表:
OpenGL_Qt学习笔记之_05(纹理映射).pdf (395064, 2012-08-24)
opengl_nehe_05 (0, 2012-08-24)
opengl_nehe_05\cherry.jpg (20539, 2012-08-24)
opengl_nehe_05\glwidget.cpp (5195, 2012-08-24)
opengl_nehe_05\glwidget.h (564, 2012-08-24)
opengl_nehe_05\glwidget.ui (447, 2012-08-24)
opengl_nehe_05\main.cpp (183, 2012-08-23)
opengl_nehe_05\opengl_nehe_05.pro (137, 2012-08-24)
opengl_nehe_05\opengl_nehe_05.pro.user (17654, 2012-08-24)

近期下载者

相关文件


收藏者