【正文】
題目: 三維畫面鋸齒處理 I 三維畫面鋸齒處理 摘要 隨著計算機多媒體技術、可視化技術及圖形學技術的發(fā)展,我們可以使用計算機來精確地再現(xiàn)現(xiàn)實世界中絢麗多彩的三維物體,并充分發(fā)揮自身的創(chuàng)造性思維,通過人機交互來模擬、改造現(xiàn)實世界,這就是目前最為流行的虛擬現(xiàn)實技術。 通過這種技術,建筑工程師可以直接設計出美觀的樓房模型;軍事指揮員可以模擬戰(zhàn)場進行軍事推演,網(wǎng)民可以足不出戶游覽故宮博物館等名勝古跡等。而虛擬現(xiàn)實技術最重要的一部分內(nèi)容就是三維圖形編程。它已經(jīng)成為一個工業(yè)標準的計算機三維圖形 軟件開發(fā)接口,并廣泛應用于游戲開發(fā)、建筑、產(chǎn)品設計、醫(yī)學、地球科學、流體力學等領域。值得一提的是,雖然微軟有自己的三維編程開發(fā)工具 DirectX,但它也提供 OpenGL 圖形標準,因此, OpenGL 可以在計算機中廣泛應用。 虛擬現(xiàn)實技術是計算機圖形學的一個分 支 。 OpenGL 是功能強大的開放式圖形庫。論文運用 OpenGL 工具 在 MFC 單文檔平臺下 創(chuàng)建了一個 虛擬三維環(huán)境 ,繪制一些常見的 三維圖形 , 并實現(xiàn)消鋸齒處理以 增加物體的真實感。 關鍵詞 : 系統(tǒng)設計 OpenGL 技術 三維圖形設計 消鋸齒 虛擬現(xiàn)實 II The ThreeDimensional graphics Antialiasing Abstract With the development of the Inter and the multimedia technology, visualization technology, Graphics technology, We can accurately emersion the 3D object in the reality world that use puter, and pletely exert the creationary thinking of ourselves. Through manmachine conversation to simulate or transform the real world, that’s the most fashionably technology of the Virtual Reality. Through this technology, the architect could design the beauty model of building directly。 The military mander could imitate battlefield for a sham battle, the web cam could excurse museum,scenic spot and historic resort being confined at home. And the most important of the Virtual Reality technology is 3D photograph ’s bee a soft development connection of Industrial standard for puters 3D photograph,and widely utilizes in game design, architecture, porduct design, medicine, geoscience, hydromechanics domain. What is worth mentioning is, although the Microsoft have his own 3D programmer development kit,Directx, he also offer OpenGL photograph standard, so, OpenGL could use in puter widely. Virtual reality technology is a puter graphics branching. OpenGL is the function formidable open style graph storehouse. This design implements a virtual threedimensional environment with OpenGL on MFC single document platform, and draws up some mon hypothesized objects, achieve Antialiasing processing to increase the realism of the object. Key Word: System design。 OpenGL technology。 3D photograph design。 Antialiasing。 Virtual Reality. 目 錄 摘 要 ............................................................................ 錯誤 !未定義書簽。 ABSTRACT................................................................. 錯誤 !未定義書簽。 緒 論 ............................................................................ 錯誤 !未定義書簽。 1 系統(tǒng)概述 ............................................................................................. 2 課題研究的背景及意義 .............................................. 2 目前國內(nèi)外相關研究和發(fā)展趨向 ...................................... 3 可視化是計算機程序設計的發(fā)展趨勢 ............................ 3 OpenGL 提供直觀的三維圖形開發(fā)環(huán)境 .......... 錯誤 !未定義書簽。 OpenGL 成為目前三維圖形開發(fā)標準 ............ 錯誤 !未定義書簽。 課題研究的內(nèi)容及技能要求 .......................................... 5 課題開發(fā)環(huán)境介紹 ..................................................................................................... 6 環(huán)境需求 .................................................... 6 C++語言及其特點 ............................................. 6 OpenGL 及其特點 ............................................. 7 軟硬件要求 .................................................. 9 2 OPENGL 實現(xiàn)三維圖像顯示的基本理論 ............................................. 10 概要設計 ......................................................... 10 基本設計概念和流程 ............................................... 11 創(chuàng)意說明 ................................................... 11 系統(tǒng)初始化 ................................................. 11 對象模型的建立 ............................................. 12 3 三維圖像顯示鋸齒處理技術 .................................. 錯誤 !未定義書簽。 圖像顯示產(chǎn)生鋸齒原因 ............................................................. 錯誤 !未定義書簽。 相關的反走樣技術 ..................................................................... 錯誤 !未定義書簽。 過取樣技術 .................................................................... 錯誤 !未定義書簽。 區(qū)域取樣 ...................................................................................................... 17 WU 像素反走樣 ............................................................. 錯誤 !未定義書簽。 4 反走樣算法改進 ................................................................................ 23 多段直線反走樣算法 ............................................................................................... 23 概述 .............................................................................................................. 23 算法的設計思想 ............................................................ 錯誤 !未定義書簽。 計算效率分析 .................................................................. 錯誤 !未定義書簽。 圓反走樣算法 ........................................................................................................... 24 算法思想 ...................................................................................................... 24 算法 .............................................................................................................. 25 本課題采用的反走樣算法 —— 累積緩沖區(qū)實現(xiàn)反走樣 ....................................... 25 概述 .............................................................................................................. 25 實現(xiàn)效果 .......................................................................... 錯誤 !未定義書簽。 結 論 ....................................................................................................... 28 參考文獻 .................................................................... 錯誤 !未定義書簽。 9 致 謝 ............................................................................ 錯誤 !未定義書簽。 畢業(yè)設計(論文)知識產(chǎn)權聲明 ................................. 錯誤 !未定義書簽。 畢業(yè)設計(論文)獨創(chuàng)性聲明 .................................... 錯誤 !未定義書簽。 附錄 ....................................................