文件名称:opengl_qt_texture_mapping
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:381.61kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
纹理映射简单的讲,就是把一个纹理(其实说白了,纹理可以理解为一幅图像)映射到空间物体的表面上,因此纹理映射也叫贴图,这个表明不一定是矩形,比如说我可以是球面,或者是任意曲面。在上一篇文章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学习笔记之_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
opengl_nehe_05/
opengl_nehe_05/cherry.jpg
opengl_nehe_05/glwidget.cpp
opengl_nehe_05/glwidget.h
opengl_nehe_05/glwidget.ui
opengl_nehe_05/main.cpp
opengl_nehe_05/opengl_nehe_05.pro
opengl_nehe_05/opengl_nehe_05.pro.user
opengl_nehe_05/
opengl_nehe_05/cherry.jpg
opengl_nehe_05/glwidget.cpp
opengl_nehe_05/glwidget.h
opengl_nehe_05/glwidget.ui
opengl_nehe_05/main.cpp
opengl_nehe_05/opengl_nehe_05.pro
opengl_nehe_05/opengl_nehe_05.pro.user
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.