【正文】
題目: 三維畫面鋸齒處理 I 三維畫面鋸齒處理 摘要 隨著計(jì)算機(jī)多媒體技術(shù)、可視化技術(shù)及圖形學(xué)技術(shù)的發(fā)展,我們可以使用計(jì)算機(jī)來精確地再現(xiàn)現(xiàn)實(shí)世界中絢麗多彩的三維物體,并充分發(fā)揮自身的創(chuàng)造性思維,通過人機(jī)交互來模擬、改造現(xiàn)實(shí)世界,這就是目前最為流行的虛擬現(xiàn)實(shí)技術(shù)。 通過這種技術(shù),建筑工程師可以直接設(shè)計(jì)出美觀的樓房模型;軍事指揮員可以模擬戰(zhàn)場(chǎng)進(jìn)行軍事推演,網(wǎng)民可以足不出戶游覽故宮博物館等名勝古跡等。而虛擬現(xiàn)實(shí)技術(shù)最重要的一部分內(nèi)容就是三維圖形編程。它已經(jīng)成為一個(gè)工業(yè)標(biāo)準(zhǔn)的計(jì)算機(jī)三維圖形 軟件開發(fā)接口,并廣泛應(yīng)用于游戲開發(fā)、建筑、產(chǎn)品設(shè)計(jì)、醫(yī)學(xué)、地球科學(xué)、流體力學(xué)等領(lǐng)域。值得一提的是,雖然微軟有自己的三維編程開發(fā)工具 DirectX,但它也提供 OpenGL 圖形標(biāo)準(zhǔn),因此, OpenGL 可以在計(jì)算機(jī)中廣泛應(yīng)用。 虛擬現(xiàn)實(shí)技術(shù)是計(jì)算機(jī)圖形學(xué)的一個(gè)分 支 。 OpenGL 是功能強(qiáng)大的開放式圖形庫。論文運(yùn)用 OpenGL 工具 在 MFC 單文檔平臺(tái)下 創(chuàng)建了一個(gè) 虛擬三維環(huán)境 ,繪制一些常見的 三維圖形 , 并實(shí)現(xiàn)消鋸齒處理以 增加物體的真實(shí)感。 關(guān)鍵詞 : 系統(tǒng)設(shè)計(jì) OpenGL 技術(shù) 三維圖形設(shè)計(jì) 消鋸齒 虛擬現(xiàn)實(shí) 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. 目 錄 摘 要 ............................................................................ 錯(cuò)誤 !未定義書簽。 ABSTRACT................................................................. 錯(cuò)誤 !未定義書簽。 緒 論 ............................................................................ 錯(cuò)誤 !未定義書簽。 1 系統(tǒng)概述 ............................................................................................. 2 課題研究的背景及意義 .............................................. 2 目前國(guó)內(nèi)外相關(guān)研究和發(fā)展趨向 ...................................... 3 可視化是計(jì)算機(jī)程序設(shè)計(jì)的發(fā)展趨勢(shì) ............................ 3 OpenGL 提供直觀的三維圖形開發(fā)環(huán)境 .......... 錯(cuò)誤 !未定義書簽。 OpenGL 成為目前三維圖形開發(fā)標(biāo)準(zhǔn) ............ 錯(cuò)誤 !未定義書簽。 課題研究的內(nèi)容及技能要求 .......................................... 5 課題開發(fā)環(huán)境介紹 ..................................................................................................... 6 環(huán)境需求 .................................................... 6 C++語言及其特點(diǎn) ............................................. 6 OpenGL 及其特點(diǎn) ............................................. 7 軟硬件要求 .................................................. 9 2 OPENGL 實(shí)現(xiàn)三維圖像顯示的基本理論 ............................................. 10 概要設(shè)計(jì) ......................................................... 10 基本設(shè)計(jì)概念和流程 ............................................... 11 創(chuàng)意說明 ................................................... 11 系統(tǒng)初始化 ................................................. 11 對(duì)象模型的建立 ............................................. 12 3 三維圖像顯示鋸齒處理技術(shù) .................................. 錯(cuò)誤 !未定義書簽。 圖像顯示產(chǎn)生鋸齒原因 ............................................................. 錯(cuò)誤 !未定義書簽。 相關(guān)的反走樣技術(shù) ..................................................................... 錯(cuò)誤 !未定義書簽。 過取樣技術(shù) .................................................................... 錯(cuò)誤 !未定義書簽。 區(qū)域取樣 ...................................................................................................... 17 WU 像素反走樣 ............................................................. 錯(cuò)誤 !未定義書簽。 4 反走樣算法改進(jìn) ................................................................................ 23 多段直線反走樣算法 ............................................................................................... 23 概述 .............................................................................................................. 23 算法的設(shè)計(jì)思想 ............................................................ 錯(cuò)誤 !未定義書簽。 計(jì)算效率分析 .................................................................. 錯(cuò)誤 !未定義書簽。 圓反走樣算法 ........................................................................................................... 24 算法思想 ...................................................................................................... 24 算法 .............................................................................................................. 25 本課題采用的反走樣算法 —— 累積緩沖區(qū)實(shí)現(xiàn)反走樣 ....................................... 25 概述 .............................................................................................................. 25 實(shí)現(xiàn)效果 .......................................................................... 錯(cuò)誤 !未定義書簽。 結(jié) 論 ....................................................................................................... 28 參考文獻(xiàn) .................................................................... 錯(cuò)誤 !未定義書簽。 9 致 謝 ............................................................................ 錯(cuò)誤 !未定義書簽。 畢業(yè)設(shè)計(jì)(論文)知識(shí)產(chǎn)權(quán)聲明 ................................. 錯(cuò)誤 !未定義書簽。 畢業(yè)設(shè)計(jì)(論文)獨(dú)創(chuàng)性聲明 .................................... 錯(cuò)誤 !未定義書簽。 附錄 ....................................................