检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.249