摘 要
本設計基于OPENGL的界面應用開發技術。利用OPENGL和MFC窗口類的對接,使用MS windows 窗口系統處理界面工作,使用OpenGL 處理圖形渲染工作。利用OPENGL實現復雜的圖形變換功能。通過圖形變換,可由簡單圖形生成復雜圖形,可用二維圖形表示三維形體,主要包括幾何變換、裁減變換、投影變換和視區變換。基于OPENGL的刀具軌跡生成系統界面設計與開發。利用以上原理和技術,實現刀具軌跡生成系統的界面設計和開發。
圖形變換是圖形顯示與制作的基礎,動畫設計和動畫顯示都離不開圖形的變換,圖形變換在數學上是由矩形的乘法來實現的,變換一般包括平移、旋轉和縮放。按圖形的顯示性質來分:視點變換、模型變換、投影變換、剪裁變換和視口變換等。 OPENGL提供了強大的功能以及支持三維圖形的各種變換,既包括幾何模型變換,如移動空間物體,也包括視圖變換,以使空間物體能夠正確地顯示在屏幕上。
關鍵字: OPENGL 刀具軌跡生成系統 界面開發 圖形變換
Abstract
Based on the design of the interface OpenGL application development skills.Using the OpenGL and MFC window class, using MS Windows window system, using interface with graphics rendering OpenGL. Using the OpenGL realize complex graphics transform function. Through the graphic transformation can be generated by simple and complex graphics, usable and graphics that three-dimensional form 2d graphics, including geometry transform, cuts transform, projection transformation and visual areas. Based on the tool path generation system OPENGL interface design and development. Using the above principle and technology, realizing the tool path generation system interface design and development.
Graphics transform with the graphic display is based, animation design and animation display is inseparable from the graph, graphics in mathematics transform is rectangular multiplication, transform generally include translation, rotation and scaling. According to the graphics display properties to points: perspective transformation, model transformation, projection transformation, clipping transformation and depending on the mouth transformation, etc. OPENGL provides a powerful functions and support various transform 3-d graphics, including geometry model transformation, such as mobile space objects, including views transform to make space objects can correctly displayed on the screen.
Keywords:OpenGL Tool path generation system Interface development
Graphics transformation