摘要
针对RP软件系统中STL模型存在精度损失、数据冗余大等缺陷,基于VRML模型具有建模精度高、数据冗余小、适于网络传输等特点,因此RP软件能够接受和处理VRML模型,也是克服STL模型不足的一个途径。对RP软件中VRML模型的可视化进行了深入的系统研究。讨论了VRML文件的语法分析和场景渲染,设计了兼顾VRML引用技术和RP后续数据处理要求的数据结构,给出了编组节点的嵌套处理及参数化Transform节点的OpenGL实现方法。提出并利用OpenGL模型视图矩阵实现分层方向的手动选择。最后利用VC++和OpenGL开发并实现了VRML模型的可视化。
Nowadays STL is a widely used data format in RP software, which has some disadvantages such as accuracy loss and large data redundancy, etc. VRML is a new way to the solution of those problems which has high precision, little data redundancy and support network. Visualization of VRML in RP software is investigated. Syntax parser and scene render is discussed in detail. Thus data structure is designed which is propitious to both reuse in VRML and latter data process. Then approaches are put forward to deal with grouping nested hiberarchy and OpenGL formula ofparameterized Transform. Besides, amethodisproposedtorealizemanualselectionofslicing orientation by using modelview matrix in OpenGL. Finally visualization of VRML is realized by using Visual C++ and OpenGL.
出处
《计算机工程与设计》
CSCD
北大核心
2007年第5期1185-1188,共4页
Computer Engineering and Design