本文已被:浏览 2066次 下载 4725次
Received:July 17, 2015 Revised:September 16, 2015
Received:July 17, 2015 Revised:September 16, 2015
中文摘要: OFF文件格式是一种用三角网格描述三维模型的常用格式之一,对OFF文件格式的详细分析研究是读取、显示及操作OFF文件的前提条件.针对目前OFF文件的简单分析及处理没有形成一定系统的规范和思路这一问题.以Visual C++6.0为开发平台;以MFC为基础进行可视化界面设计;利用C++语言的标准IO库实现对OFF文件进行读取和写入操作;应用OpenGL编程技术实现对OFF文件的显示;建立OFF文件的读取和显示系统,通过实验验证读取和显示效果,并利用格式转化算法完成OFF文件到STL文件的转换.
Abstract:OFF(Object File Format) is a kind of common format for three-dimensional model described with triangular mesh. The research of OFF is the foundation condition for reading, displaying and other operations. Nowadays, it doesn't have a set of standards and specifications about the simple analysis of OFF. First of all, the software is based on Visual C++6.0 developing platform and uses MFC to achieve a visual interface. In addition, we can read and write the OFF file taking advantage of C++ standard I/O library and the view of OFF file is implemented by using OpenGL technology. In the end, we have a system that realizes the functions of reading and displaying for OFF file while it completes the transformation of file from OFF to STL with format conversion algorithms.
keywords: OFF STL format transformation trianglular mesh model OpenGL
文章编号: 中图分类号: 文献标志码:
基金项目:黑龙江省大学生创新创业训练计划项目(201510214027)
引用文本:
沙晨明,申作林,申可心.三角网格文件OFF的格式分析及OFF到STL的转化.计算机系统应用,2016,25(4):232-236
SHA Chen-Ming,SHEN Zuo-Lin,SHEN Ke-Xin.Format of Triangular Mesh File OFF and Transformation of STL to OFF.COMPUTER SYSTEMS APPLICATIONS,2016,25(4):232-236
沙晨明,申作林,申可心.三角网格文件OFF的格式分析及OFF到STL的转化.计算机系统应用,2016,25(4):232-236
SHA Chen-Ming,SHEN Zuo-Lin,SHEN Ke-Xin.Format of Triangular Mesh File OFF and Transformation of STL to OFF.COMPUTER SYSTEMS APPLICATIONS,2016,25(4):232-236