摘 要
本設(shè)計基于OPENGL的界面應(yīng)用開發(fā)技術(shù)。利用OPENGL和MFC窗口類的對接,使用MS windows 窗口系統(tǒng)處理界面工作,使用OpenGL 處理圖形渲染工作。利用OPENGL實現(xiàn)復雜的圖形變換功能。通過圖形變換,可由簡單圖形生成復雜圖形,可用二維圖形表示三維形體,主要包括幾何變換、裁減變換、投影變換和視區(qū)變換;贠PENGL的刀具軌跡生成系統(tǒng)界面設(shè)計與開發(fā)。利用以上原理和技術(shù),實現(xiàn)刀具軌跡生成系統(tǒng)的界面設(shè)計和開發(fā)。
圖形變換是圖形顯示與制作的基礎(chǔ),動畫設(shè)計和動畫顯示都離不開圖形的變換,圖形變換在數(shù)學上是由矩形的乘法來實現(xiàn)的,變換一般包括平移、旋轉(zhuǎn)和縮放。按圖形的顯示性質(zhì)來分:視點變換、模型變換、投影變換、剪裁變換和視口變換等。 OPENGL提供了強大的功能以及支持三維圖形的各種變換,既包括幾何模型變換,如移動空間物體,也包括視圖變換,以使空間物體能夠正確地顯示在屏幕上。
關(guān)鍵字: OPENGL 刀具軌跡生成系統(tǒng) 界面開發(fā) 圖形變換
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