Read_STL
代码说明:
STL是三维模型常用的文件格式。对STL文件进行读取和显示,是对模型进行后续操作的前提。在对STL文件格式进行详细分析的基础上,以VC+-I-作为开发平台;利用C++标准lO库的ifstream类型定义对象并绑定STL文件;再用标准库string类型中的getline逐行读取绑定的STL文件;最后,应用OpenGL中绘制三角面片编程技术实现对STL文件格式的直观显示。通过试验验证了读取和显示效果。(STL is a commonly used file format for 3D models. Reading and displaying the STL file is a prerequisite for the subsequent operation of the model. In the STL file format on the basis of a detailed analysis to VC+-I- as a development platform use C++ standard lO library ifstream type definition object and bind STL file and then the standard library string type getline line by line read Bound STL file Finally, the use of OpenGL in the drawing of triangulation programming technology to achieve STL file format intuitive display. Experiments verify the read and display results.)
文件列表:
基于VC的STL文件读取.pdf,172416,2017-04-10
下载说明:请别用迅雷下载,失败请重下,重下不扣分!


