2007年11月1日 星期四

What the hack is light diffusion??

diffusion : 【物】漫射;擴散
When light is reflected from a mirror, the angle of reflection equals the angle of incidence. When light is reflected from a piece of plain white paper; however, the reflected beam is scattered, or diffused. Because the surface of the paper is not smooth, the reflected light is broken up into many light beams that are reflected in all directions.

當光線從鏡子表面反射時,
光線反射角度是等於光線入射角度. 當光線是反射來自一張白紙時, 反射光束是以散亂不規則方向(漫射/擴散)反射, 原因是白紙表面並不光滑平整表面, 所以反射光束以各種角度進行反射(參考右圖). 簡單的國中物理...XD

Reference link 01

Reference link 02

Shake中的EdgeDetect可以使CG render pass 模擬部份光線打在CG surface的 light diffusion效果, 並減少CG render的過度銳利情形.

補充: 在After Effects裡的Find Edge plugin 也具備類似功能.

同時回應Drake:


原CG render


EdgeDetect 結果


在EdgeDetect中啟動 rgbEdge 與 addEdgeToImage 功能啟動.
以合成手段去模擬自然界光線落在物體上的光線漫射效果, 特別是在物體邊緣亮度有亮面暗面相差大的區域. 由於CG render透過EdgeDetect的模擬light diffusion幫忙把CG render的過度銳利情形中和許多.
個人淺見並歡迎提出不同看法與或其他更好解決辦法...thanks

3 則留言:

Drake 提到...

Shake中的EdgeDetect可以使CG render pass 模擬部份光線打在CG surface的 light diffusion效果, 並減少CG render的過度銳利情形.
這段話我不是很懂,願聞期詳 :)

SEADOG海犬 提到...

意思是用Edge detect將邊緣部份blur掉 在multiply回去嗎~~??

VFXJimmy 提到...

hi seadog:
不單是邊緣而已,CG影像每一pixel會因contrast/color讓edge detect找到..
Yes!是會blur一點,我會說用screen或add回去...