




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
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等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- DB6109-T 315-2025 蛋白雜交桑栽培技術(shù)規(guī)程
- 辦公樓室內(nèi)裝飾裝修工程質(zhì)量、環(huán)境保護管理體系及保證措施
- (高清版)DB34∕T 5201-2025 家庭照護員服務(wù)規(guī)范
- 兒童遺傳病的診斷與治療
- 兒童營養(yǎng)不良的識別和治療措施
- 小車設(shè)計活動方案
- 峰會抽獎活動方案
- 小班土豆教學(xué)活動方案
- 工會慰問產(chǎn)婦活動方案
- 小小探頭活動方案
- 國家開放大學(xué)2025年《機電控制工程基礎(chǔ)》形考任務(wù)1-4答案
- 區(qū)塊鏈與慈善公益商業(yè)模式的創(chuàng)新與探索
- 2025年湖南中考英命題分析及復(fù)習(xí)備考策略指導(dǎo)課件
- 近岸海域生態(tài)環(huán)境問題分析
- 2025重慶水務(wù)環(huán)境集團招聘8人筆試參考題庫附帶答案詳解
- 2025至2030中國大型啤酒廠產(chǎn)業(yè)運行態(tài)勢與競爭格局研究報告
- 陜投(贛州)信豐能源發(fā)展集團有限公司招聘筆試題庫2025
- 頸部淋巴結(jié)清掃術(shù)后護理
- 河南大學(xué)語文試題及答案
- 雷達(dá)原理與系統(tǒng)教學(xué)省公開課一等獎全國示范課微課金獎?wù)n件
- 毛石混凝土換填施工方案
評論
0/150
提交評論