3DS文件读取、绘制与控制方法的研究与应用  被引量:19

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

在线阅读下载全文

作  者:刘芳[1] 刘贤梅[1] 

机构地区:[1]大庆石油学院计算机与信息技术学院,黑龙江大庆163318

出  处:《计算机工程与设计》2009年第19期4575-4578,共4页Computer Engineering and Design

基  金:黑龙江省教育厅科研课题基金项目(11521006)

摘  要:OpenGL是一种强大的三维图形开发工具,3DS格式是一种通用的保存三维模型的格式,基于OpenGL对3DS模型文件的读取、绘制与控制方法进行了研究。分析了3DS文件结构,并根据块结构格式抽象出用于读入数据的面、材质、物体和模型的数据结构。基于递归的方法对文件数据进行了读取,读入的数据经过数据处理后在屏幕上进行渲染。通过平移、旋转和缩放这3种矩阵变换和OpenGL选择机制实现了对模型的交互控制。基于上述方法开发了井下作业操作仿真与演练系统,取得了良好的效果。OpenGL is a strong there-the graph develop tools, 3DS format is a common format for saving there d model. Based on OpenQL, 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 读取 绘制 交互控制 

分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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