虛擬環(huán)境中瀑布的實(shí)時(shí)繪制方法研究
本文選題:瀑布 切入點(diǎn):粒子系統(tǒng) 出處:《山東大學(xué)》2007年碩士論文 論文類(lèi)型:學(xué)位論文
【摘要】: 自然景物的模擬一直是計(jì)算機(jī)圖形學(xué)中的熱門(mén)研究課題,其應(yīng)用范圍很廣,包括影視廣告、實(shí)時(shí)繪制、3D游戲、裝潢設(shè)計(jì)、虛擬場(chǎng)景等各種領(lǐng)域,以其獨(dú)特的魅力在信息化社會(huì)中占據(jù)著重要的位置。然而,大多數(shù)自然景物的外形是隨機(jī)變化的,如:火焰、浪花、河流、瀑布、雨雪、煙霧等,很難用常規(guī)的建模方法及模擬技術(shù)來(lái)描述,因此自然景物的模擬也是具有挑戰(zhàn)性的課題。 本課題以瀑布場(chǎng)景作為模擬的對(duì)象,以粒子系統(tǒng)作為基本建模方法來(lái)表現(xiàn)其運(yùn)動(dòng)的隨機(jī)性和動(dòng)態(tài)性特點(diǎn),并且模擬了粒子與障礙物的碰撞效果。首先,本文對(duì)目前國(guó)內(nèi)外通用的流體模擬方法做了概述,對(duì)粒子系統(tǒng)和碰撞檢測(cè)技術(shù)在水流模擬上的應(yīng)用進(jìn)行了討論;通過(guò)將瀑布水流的屬性參數(shù)化,建立了一個(gè)基于粒子系統(tǒng)和動(dòng)力學(xué)原理的參數(shù)化的瀑布水流運(yùn)動(dòng)模型,并對(duì)粒子的參數(shù)特性進(jìn)行了詳細(xì)的定義;通過(guò)分析瀑布水流粒子系統(tǒng)和通用的層次包圍盒技術(shù)的特點(diǎn),提出了加速水粒子與障礙物碰撞檢測(cè)的方法,該方法基于AABB層次包圍盒技術(shù),并且根據(jù)水流運(yùn)動(dòng)的方向性,剔除了不會(huì)發(fā)生碰撞的障礙物的邊面;利用專(zhuān)業(yè)建模軟件實(shí)現(xiàn)地形及障礙物等靜態(tài)模型的建模,通過(guò)編程讀取模型并在場(chǎng)景中繪制出來(lái);使用網(wǎng)格模擬了水面,并通過(guò)實(shí)時(shí)改變網(wǎng)格頂點(diǎn)坐標(biāo)來(lái)實(shí)現(xiàn)水面的波動(dòng)效果;此外還加入了天空、光照和霧化等效果來(lái)增加場(chǎng)景的真實(shí)感。 本文基于Visual C++編程環(huán)境及OpenGL標(biāo)準(zhǔn)圖形庫(kù)設(shè)計(jì)了一個(gè)瀑布場(chǎng)景的演示系統(tǒng),實(shí)現(xiàn)了瀑布的動(dòng)態(tài)繪制,其運(yùn)動(dòng)和外觀效果真實(shí),在普通的PC機(jī)上獲得了實(shí)時(shí)的繪制速度。用戶(hù)可以在調(diào)整參數(shù)的同時(shí)觀察到瀑布水流運(yùn)動(dòng)的變化,其方法可應(yīng)用于虛擬場(chǎng)景漫游、3D實(shí)時(shí)游戲等中。
[Abstract]:The simulation of natural scenery has always been a hot research topic in computer graphics. It has a wide range of applications, including film and television advertising, real-time rendering of 3D games, decoration design, virtual scene and other fields. Because of its unique charm, it occupies an important position in the information society. However, the appearance of most natural scenery is random, such as: flame, spray, river, waterfall, rain, snow, smoke, etc. It is difficult to describe by conventional modeling methods and simulation techniques, so the simulation of natural scenery is also a challenging subject. In this paper, the waterfall scene is taken as the object of simulation, the particle system is used as the basic modeling method to express the randomness and dynamic characteristics of its motion, and the collision effect between particles and obstacles is simulated. In this paper, the general methods of fluid simulation at home and abroad are summarized, the application of particle system and collision detection technology in water flow simulation is discussed, and the property of waterfall flow is parameterized. A parameterized waterfall flow model based on particle system and dynamic principle is established, and the characteristics of particle parameters are defined in detail, and the characteristics of waterfall flow particle system and general hierarchical bounding box technology are analyzed. A method of accelerating collision detection between water particles and obstacles is proposed. The method is based on the AABB hierarchy bounding box technology. According to the directionality of the flow motion, the edge surface of the obstacle that will not collide is eliminated. Using the professional modeling software to realize the modeling of the static model such as terrain and obstacle, reading the model by programming and drawing it out in the scene, using the grid to simulate the water surface, and changing the grid vertex coordinate in real time to realize the wave effect of the water surface. In addition, the effects of sky, light and atomization are added to increase the reality of the scene. Based on Visual C programming environment and OpenGL standard graphics library, a waterfall scene demonstration system is designed in this paper, which realizes the dynamic drawing of waterfall, and its motion and appearance effect is real. The real-time rendering speed is obtained on the ordinary PC, and the user can observe the change of the waterfall flow while adjusting the parameters. The method can be used in the virtual scene roaming 3D real time game and so on.
【學(xué)位授予單位】:山東大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2007
【分類(lèi)號(hào)】:TP391.9
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 馬駿,朱衡君;基于動(dòng)態(tài)紋理和粒子系統(tǒng)的噴泉模擬[J];北京交通大學(xué)學(xué)報(bào);2005年01期
2 黎華;肖偉;黃海峰;夏斌;;三維真實(shí)感地形生成的關(guān)鍵技術(shù)研究[J];測(cè)繪科學(xué);2006年04期
3 胡新榮,李德華;三維動(dòng)態(tài)地形中瀑布的設(shè)計(jì)與實(shí)現(xiàn)[J];CT理論與應(yīng)用研究;2004年01期
4 夏曉蓉 ,任永健 ,馬駿;三維游戲中動(dòng)態(tài)水面的模擬[J];電腦編程技巧與維護(hù);2005年07期
5 章勤,黃琨,李光明;一種基于OBB的碰撞檢測(cè)算法的改進(jìn)[J];華中科技大學(xué)學(xué)報(bào)(自然科學(xué)版);2003年01期
6 陳前華,鄧建松,陳發(fā)來(lái);滴水漣漪的計(jì)算機(jī)動(dòng)畫(huà)模擬[J];計(jì)算機(jī)研究與發(fā)展;2001年05期
7 黃師化,汪繼文;基于物理模型的水波動(dòng)畫(huà)模擬[J];合肥學(xué)院學(xué)報(bào)(自然科學(xué)版);2005年01期
8 左魯梅,黃心淵;紋理映射技術(shù)在三維游戲引擎中的應(yīng)用[J];計(jì)算機(jī)仿真;2004年10期
9 林夕偉,于金輝;基于粒子和紋理繪制的火焰合成[J];計(jì)算機(jī)應(yīng)用;2004年04期
10 萬(wàn)華根,金小剛,彭群生;基于物理模型的實(shí)時(shí)噴泉水流運(yùn)動(dòng)模擬[J];計(jì)算機(jī)學(xué)報(bào);1998年09期
相關(guān)碩士學(xué)位論文 前1條
1 朱軍文;三維地形虛擬仿真的研究與實(shí)現(xiàn)[D];華東師范大學(xué);2005年
,本文編號(hào):1619017
本文鏈接:http://sikaile.net/wenyilunwen/guanggaoshejilunwen/1619017.html