基于OpenGL的新式OBJ文件纹理贴图方法研究  被引量:8

A New OBJ File Texture Mapping Method Based on OpenGL

在线阅读下载全文

作  者:王波[1] 孙蔚[2] 

机构地区:[1]南京邮电大学计算机软件学院,南京210046 [2]南京邮电大学电子科学与工程学院,南京210046

出  处:《计算机与数字工程》2015年第8期1497-1500,共4页Computer & Digital Engineering

摘  要:三维纹理贴图指将二维纹理图像张贴到三维模型的表面上,从而得到逼真的三维图形的过程。然而,对于复杂三维模型的纹理贴图还没有找到直接贴图的方法。论文设计了一种新式的针对OBJ三维网格曲面模型纹理贴图的方法。首先依据Floater提出的权重-保形法将三维网格降维为二维网格;然后利用OpenGL对二维网格做简单纹理贴图;最后利用二维网格与三维网格顶点坐标间同构关系,实现二维纹理到三维网格曲面的纹理贴图。3D texture mapping refers to the procedure of posting 2D texture image to 3D surface model to obtain a real- istic 3D graphics. However, for complex 3D model, there is no direct method of texture mapping. This paper designs a new method of texture mapping with OpenGL for 3D mesh models of OBJ format file. First, According to the method weight- conformal, a 3D mesh is reduced to a 2D one. Second, 2D mesh is mapped texture by using OpenGL simply. Finally, the re- lation of vertex coordinates between the 2D and 3D mesh is used to achieve the texture mapping between the 2D texture and the 3D grid surface.

关 键 词:OPENGL OBJ 保形降维 纹理贴图 

分 类 号:TP302.4[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象