节点文献

3DS文件读取、绘制与控制方法的研究与应用

Research and application on method of 3DS file read,render and control

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 刘芳刘贤梅

【Author】 LIU Fang, LIU Xian-mei (School of Computer and Information Technology, Daqing Petroleum Institute, Daqing 163318, China)

【机构】 大庆石油学院计算机与信息技术学院

【摘要】 OpenGL是一种强大的三维图形开发工具,3DS格式是一种通用的保存三维模型的格式,基于OpenGL对3DS模型文件的读取、绘制与控制方法进行了研究。分析了3DS文件结构,并根据块结构格式抽象出用于读入数据的面、材质、物体和模型的数据结构。基于递归的方法对文件数据进行了读取,读入的数据经过数据处理后在屏幕上进行渲染。通过平移、旋转和缩放这3种矩阵变换和OpenGL选择机制实现了对模型的交互控制。基于上述方法开发了井下作业操作仿真与演练系统,取得了良好的效果。

【Abstract】 OpenGL is a strong there-the graph develop tools, 3DS format is a common format for saving there d model. Based on OpenGL, on the method of 3DS model file read, render and control is researched. First the file structure of 3DS is analyzed, and the data structure of face, material, object and model are abstracted by chunk structure used to read in data. The file data is read in with the method of recursion, the read data renders in screen after data disposal. The interactive control of model is accomplished by three kinds of geometric transformation, translate, rotate and scale and OpenGL select mechanism. Finally, those methods are applied into the system of the borehole operation operate simulation and drilling, and achieve better results.

【关键词】 3DS文件块结构OpenGL读取绘制交互控制
【Key words】 3DS filechunk structureOpenGLreadrenderinteractive control
【基金】 黑龙江省教育厅科研课题基金项目(11521006)
  • 【文献出处】 计算机工程与设计 ,Computer Engineering and Design , 编辑部邮箱 ,2009年19期
  • 【分类号】TP391.9
  • 【被引频次】65
  • 【下载频次】528
节点文献中: 

本文链接的文献网络图示:

本文的引文网络