版權(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)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2026年滁州城市職業(yè)學(xué)院?jiǎn)握芯C合素質(zhì)考試題庫(kù)附答案
- 2026年平頂山工業(yè)職業(yè)技術(shù)學(xué)院?jiǎn)握新殬I(yè)傾向性考試題庫(kù)附答案
- 2026安徽馬鞍山市疾病預(yù)防控制中心(馬鞍山市衛(wèi)生監(jiān)督所)招聘博士研究生1人筆試參考題庫(kù)及答案解析
- 2026重慶望江中學(xué)校近期招聘教師6人筆試備考試題及答案解析
- 2026班瑪縣教育局面向社會(huì)招聘工作人員招聘40人筆試備考題庫(kù)及答案解析
- 2025年下半年大慶市紅崗區(qū)機(jī)關(guān)事業(yè)單位人才引進(jìn)10人備考題庫(kù)附答案
- 2026西藏那曲市申扎縣消防救援大隊(duì)面向社會(huì)招錄政府專職消防員3人筆試模擬試題及答案解析
- 2025廣東佛山市南海區(qū)委黨校選調(diào)5名事業(yè)編制人員備考題庫(kù)附答案
- 2026山東濟(jì)寧市東方圣地人力資源開發(fā)有限公司招聘勞務(wù)派遣工作人員1人筆試參考題庫(kù)及答案解析
- 2025年11月四川省西南醫(yī)科大學(xué)招聘專職輔導(dǎo)員15人(公共基礎(chǔ)知識(shí))綜合能力測(cè)試題附答案
- 《糖尿病合并高血壓患者管理指南(2025版)》解讀
- 職業(yè)暴露考試試題及答案
- DB61-T 1843-2024 酸棗種植技術(shù)規(guī)范
- 機(jī)械密封安裝及維護(hù)培訓(xùn)
- 古建筑修繕加固施工方案
- DG-TJ08-19-2023園林綠化養(yǎng)護(hù)標(biāo)準(zhǔn)
- 上海市2024-2025學(xué)年高二上學(xué)期期末考試英語(yǔ)試題(含答案無聽力原文及音頻)
- 實(shí)驗(yàn)室評(píng)審不符合項(xiàng)原因及整改機(jī)制分析
- 農(nóng)貿(mào)市場(chǎng)攤位布局措施
- 一列腸ESD個(gè)案護(hù)理
- 污水泵站自動(dòng)化控制方案
評(píng)論
0/150
提交評(píng)論