This topic is based on AutoCAD graphic input environment. It takes the STL format graphic files as the data exchange interface to do the research of STL interactive 3D realistic graphics displaying content. Through th...This topic is based on AutoCAD graphic input environment. It takes the STL format graphic files as the data exchange interface to do the research of STL interactive 3D realistic graphics displaying content. Through the analysis of the STL file format, in VC++6.0 programming environment, class if stream in the standard IO library was used for object class definition. And get line functions in the string class were called to read and bind STL file line by line. In data processing module, draw triangles in OpenGL programming technology was applied to realize the visual display of the STL graphics, with the corresponding 3D entity data generated. OpenGL graphics processing technologies were applied to display 3D graphics from STL files input or realistic program module, which contain the graphic transformation, light, materials, et al. Test reports were shared based on the test of the application system. Finally the program design of STL graphics realistic display system was completed based on research work, which has certain theoretical and practical significance in the aspect of engineering application.展开更多
文摘This topic is based on AutoCAD graphic input environment. It takes the STL format graphic files as the data exchange interface to do the research of STL interactive 3D realistic graphics displaying content. Through the analysis of the STL file format, in VC++6.0 programming environment, class if stream in the standard IO library was used for object class definition. And get line functions in the string class were called to read and bind STL file line by line. In data processing module, draw triangles in OpenGL programming technology was applied to realize the visual display of the STL graphics, with the corresponding 3D entity data generated. OpenGL graphics processing technologies were applied to display 3D graphics from STL files input or realistic program module, which contain the graphic transformation, light, materials, et al. Test reports were shared based on the test of the application system. Finally the program design of STL graphics realistic display system was completed based on research work, which has certain theoretical and practical significance in the aspect of engineering application.