版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、a navigation mesh for dynamic environmentswouter g. van toll, atlas f. cook iv, roland geraertscasa 2012problem solved?2 / 163 / 16 path planning in games and simulations send virtual characters from start to goal increasing desire for efficiency and realism characters: smooth movement, collision av
2、oidance, environments: complex (2.5d), dynamic, foundation: a navigation mesh subdivision of the walkable space into 2d polygons allows smooth, flexible movement our framework: corridors based on the 2d medial axis contribution: dynamic updatesmotivation4 / 16preliminaries: 2d medial axis medial axi
3、s: pruned version ofthe voronoi diagram subdivision into cellswith 1 closest obstacle a useful roadmap maximum clearance to obstacles preserves connectivity the set of all points with at least two closest obstacle points5 / 16preliminaries: explicit corridor map ecm: annotated medial axis (geraerts,
4、 2010) bisector vertices storea closest obstacle pointon both sides exact subdivision of the walkable spacean efficient nav. mesh o(n) storage o(n log n) build time6 / 16preliminaries: explicit corridor map some features of the ecm clearance information supports all character sizes global planning o
5、n the ma result: path + corridor following indicative routes short paths with clearance local forces can be added collision avoidance group coherence multi-layered environments dynamic updates7 / 16contribution: local updates dynamic environments can change locally e.g. collapsing bridges, newly bui
6、lt roads, complete navmesh reconstruction is expensive! local operations: adding/removing obstacles update the mesh only where it is necessary recall: the ecm is an annotated medial axis we use voronoi algorithms; skip the annotations today1. inserting a point among points2. inserting a point among
7、polygons3. inserting a polygon among polygons4. deleting an obstacle8 / 161. inserting a point among points insertion = 1 step of incremental construction let cj be the voronoi cell of point pj let p be the point to add algorithm (green and sibson, 1978) find the cell ci in which p lies compute the
8、bisector of p and pi find the intersections of bisector and ci compute new neighbor + bisector iterate until the new cell is finished remove the old edges complexity: o(log n + k) n = number of points k = complexity of the new cell9 / 162. inserting a point among polygons what if the other obstacles
9、 are polygons? bisector edges are chains of line/parabola segments a bisector vertex (bv) marks a switch bv occurs when the edge intersects a surface normal adapted insertion algorithm in each iteration, choose the 1st of 2 intersections10 / 163. inserting polygon among polygons what if the inserted
10、 obstacle p is a line or polygon? p can also induce bisector vertices adapted insertion algorithm in each iteration, choose the 1st of 3 intersections with the voronoi cell with the neighbours normal vector with ps normal vector11 / 164. deleting an obstacle deleting p: the cell cp needs to be remov
11、ed its interior must be filled in with new edges these can only come from ps neighbors! deletion algorithm compute np, set of ps neighbors build the medial axis for np connect the old/new medial axes delete the boundary of cp complexity: o(m log m) m = number of neighbors for p12 / 16experimental re
12、sults 1. inserting random points into an empty scene incremental insertion local updates vs. global reconstruction local: always fast ( 1 ms) global: slower, depends on #points so far13 / 16experimental results (2) 2. inserting polygons into various scenes running times: 1.3ms to 2.5ms efficiency de
13、pends on the new cells complexity in practice, most updates will be very local fast enough for real-time updates!14 / 16experimental results (3) 3. deleting polygons from various scenes same polygons/scenes as before running times: 1.2ms to 5.4ms efficiency depends on the old cells complexity 4. mov
14、ing a polygon through various scenes re-insert the polygon into a static version running times below 1.5ms we can handle multiple moving obstacles in real-time15 / 16conclusions algorithms for updating a navigation mesh based on voronoi diagram techniques insertions of points and polygons deletions based on insertions implementation and experiments insertions: real-time performance deletions: slower, but still applicable movement: real-time insertions into a stat
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 班干部的培養(yǎng)與管理計(jì)劃
- 病歷室護(hù)士細(xì)致記錄病史
- 物流運(yùn)輸行業(yè)美工工作經(jīng)驗(yàn)分享
- 《慢性病危險(xiǎn)因素》課件
- 家政公司前臺(tái)服務(wù)總結(jié)
- 《康復(fù)治療學(xué)總論》課件
- 2024年全球及中國混合云行業(yè)概述及特征調(diào)研報(bào)告
- 2021年廣東省惠州市公開招聘警務(wù)輔助人員輔警筆試自考題1卷含答案
- 2024年河南省鄭州市公開招聘警務(wù)輔助人員輔警筆試自考題1卷含答案
- 2023年安徽省銅陵市公開招聘警務(wù)輔助人員輔警筆試自考題1卷含答案
- 2025年中國煙草總公司湖北省公司校園招聘227人高頻重點(diǎn)提升(共500題)附帶答案詳解
- 2024版帶貨主播電商平臺(tái)合作服務(wù)合同范本3篇
- 2025公司資產(chǎn)劃轉(zhuǎn)合同
- 2024-2030年中國鋁汽車緊固件行業(yè)銷售規(guī)模與盈利前景預(yù)測報(bào)告
- 廣東省清遠(yuǎn)市2023-2024學(xué)年高一上學(xué)期期末質(zhì)量檢測物理試題(解析版)
- 2024-2025學(xué)年人教版數(shù)學(xué)五年級(jí)上冊期末檢測試卷(含答案)
- 《外盤期貨常識(shí)》課件
- 【MOOC】土力學(xué)-西安交通大學(xué) 中國大學(xué)慕課MOOC答案
- 醫(yī)院醫(yī)??乒ぷ骺偨Y(jié)
- 2024-2025學(xué)年譯林版八年級(jí)英語上學(xué)期重點(diǎn)詞匯短語句子歸納【考點(diǎn)清單】
- 廣東省六校聯(lián)考2024-2025學(xué)年高二上學(xué)期12月月考英語試題
評(píng)論
0/150
提交評(píng)論