计算机与数字工程Issue(8):1497-1500,4.DOI:10.3969/j.issn1672-9722.2015.08.029
基于 OpenGL 的新式 OBJ 文件纹理贴图方法研究
A New OBJ File Texture Mapping Method Based on OpenGL
王波 1孙蔚2
作者信息
- 1. 南京邮电大学计算机软件学院 南京 210046
- 2. 南京邮电大学电子科学与工程学院 南京 210046
- 折叠
摘要
Abstract
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/保形降维/纹理贴图Key words
OpenGL/OBJ/conformal dimension reduction/texture mapping分类
信息技术与安全科学引用本文复制引用
王波,孙蔚..基于 OpenGL 的新式 OBJ 文件纹理贴图方法研究[J].计算机与数字工程,2015,(8):1497-1500,4.