




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、Radisoity,Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts Director, Arts Technology Center University of New Mexico,2,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Introduction,Ray tracing is best with many highly specular sufaces Not charact
2、eristic of real scenes Rendering equation describes general shading problem Radiosity solves rendering equation for perfectly diffuse surfaces,3,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Terminology,Energy light (incident, transmitted) Must be conserved Energy flux = luminous flux
3、= power = energy/unit time Measured in lumens Depends on wavelength so we can integrate over spectrum using luminous efficiency curve of sensor Energy density () = energy flux/unit area,4,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Terminology,Intensity brightness Brightness is perce
4、ptual = flux/area-solid angle = power/unit projected area per solid angle Measured in candela = I dA d,5,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Rendering Eqn (Kajiya),Consider a point on a surface,N,Iout(out),Iin(in),6,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,
5、Rendering Equation,Outgoing light is from two sources Emission Reflection of incoming light Must integrate over all incoming light Integrate over hemisphere Must account for foreshortening of incoming light,7,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Rendering Equation,Iout(out) =
6、E(out) + 2Rbd(out, in )Iin(in) cos d,bidirectional reflection coefficient,angle between normal and in,emission,Note that angle is really two angles in 3D and wavelength is fixed,8,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Rendering Equation,Rendering equation is an energy balance E
7、nergy in = energy out Integrate over hemisphere Fredholm integral equation Cannot be solved analytically in general Various approximations of Rbd give standard rendering models Should also add an occlusion term in front of right side to account for other objects blocking light from reaching surface,
8、9,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Another version,Consider light at a point p arriving from p,i(p, p) = (p, p)(p,p)+ (p, p, p)i(p, p)dp,occlusion = 0 or 1/d2,emission from p to p,light reflected at p from all points p towards p,10,Angel: Interactive Computer Graphics 4E A
9、ddison-Wesley 2005,Radiosity,Consider objects to be broken up into flat patches (which may correspond to the polygons in the model) Assume that patches are perfectly diffuse reflectors Radiosity = flux = energy/unit area/ unit time leaving patch,11,Angel: Interactive Computer Graphics 4E Addison-Wes
10、ley 2005,Notation,n patches numbered 1 to n bi = radiosity of patch I ai = area patch I total intensity leaving patch i = bi ai ei ai = emitted intensity from patch I i = reflectivity of patch I fij = form factor = fraction of energy leaving patch j that reaches patch i,12,Angel: Interactive Compute
11、r Graphics 4E Addison-Wesley 2005,Radiosity Equation,energy balance,biai = eiai + i fjibjaj,reciprocity,fijai = fjiaj,radiosity equation,bi = ei + i fijbj,13,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Matrix Form,b = bi,e = ei,R = rij,rij = i if i j,rii = 0,F = fij,14,Angel: Interac
12、tive Computer Graphics 4E Addison-Wesley 2005,Matrix Form,b = e - RFb,formal solution,b = I-RF-1e,Not useful since n is usually very large Alternative: use observation that F is sparse We will consider determination of form factors later,15,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005
13、,Solving the Radiosity Equation,For sparse matrices, iterative methods usually require only O(n) operations per iteration Jacobis method,bk+1 = e - RFbk,Gauss-Seidel: use immediate updates,16,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Series Approximation,1/(1-x) = 1 + x + x2+ ,b =
14、I-RF-1e = e + RFe + (RF)2e +,I-RF-1 = I + RF +(RF)2+,17,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Rendered Image,18,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Patches,19,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Computing Form Factors,Consider two
15、 flat patches,20,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Using Differential Patches,foreshortening,21,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Form Factor Integral,fij = (1/ai) ai ai (oij cos i cos j / r2 )dai daj,occlusion,foreshortening of patch i,foreshorten
16、ing of patch j,22,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Solving the Intergral,There are very few cases where the integral has a (simple) closed form solution Occlusion further complicates solution Alternative is to use numerical methods Two step process similar to texture mappi
17、ng Hemisphere Hemicube,23,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Form Factor Examples 1,24,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Form Factor Examples 2,25,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Form Factor Examples 3,26,Angel: Interacti
18、ve Computer Graphics 4E Addison-Wesley 2005,Hemisphere,Use illuminating hemisphere Center hemisphere on patch with normal pointing up Must shift hemisphere for each point on patch,27,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Hemisphere,28,Angel: Interactive Computer Graphics 4E Addison-Wesley 2005,Hemicube,Easier to use a hemicube instead of a hemisphere Rule ea
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(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ǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 國際金融理財(cái)師復(fù)習(xí)工具與應(yīng)用試題及答案
- 2024年小語種考試試題及答案密卷發(fā)布
- 動(dòng)物源性食品的安全問題試題及答案
- 網(wǎng)絡(luò)編輯師2024年考試常見錯(cuò)題試題及答案
- 銀行客戶忠誠度管理的理論與實(shí)踐探索試題及答案
- 2025年國際金融理財(cái)師考試行業(yè)現(xiàn)狀試題及答案
- 2024年小語種證書考試階段性試題及答案
- 綜合分析2024年小語種考試試題及答案
- 2025年特許金融分析師考試行業(yè)分析試題及答案
- 2024年網(wǎng)絡(luò)編輯師考試復(fù)習(xí)指南及試題答案
- GB/T 10628-2008氣體分析校準(zhǔn)混合氣組成的測(cè)定和校驗(yàn)比較法
- 三維激光掃描在影視業(yè)中的應(yīng)用
- 2022年赤峰龍韻城市建設(shè)有限公司招聘筆試試題及答案解析
- 渣土清運(yùn)協(xié)議
- 《平行四邊形的面積》 教學(xué)課件
- 招投標(biāo)評(píng)分索引表模板
- 運(yùn)輸風(fēng)險(xiǎn)防控記錄表
- 紅星美凱龍商場(chǎng)管理制度全套
- Q∕GDW 12151-2021 采用對(duì)接裝置的輸電線路流動(dòng)式起重機(jī)組塔施工工藝導(dǎo)則
- 《敘事式心理治療》精品PPT
- 高速鐵路知識(shí)PPT通用PPT課件
評(píng)論
0/150
提交評(píng)論