燈光透穿物體的問題

有關 Lighting 及 Rendering 技巧討論

版主: h2o

燈光透穿物體的問題

文章flyws » 7日 10月 2007年, 00:59

今日我嘗試做戲院燈泡發光字的效果,但又有問題呀!
?燈光在倒影上滲出,個影又有問題,請問在那裡錯誤了!
請多多指教。 :oops:
附加檔案
image-1B.png
呢一張系我想要的效果。
image-1B.png (70.41 KiB) 被瀏覽 15709 次
image-1A.png
Render的效果。
image-1A.png (78.26 KiB) 被瀏覽 15709 次
image-2A.png
點解燈光會在物件外?
image-2A.png (92.29 KiB) 被瀏覽 15709 次
image-3A.png
同真實的光效有分別!
image-3A.png (77.99 KiB) 被瀏覽 15709 次
image-4A.png
錯誤的render效果!
image-4A.png (99.67 KiB) 被瀏覽 15709 次
image-4B.png
想像的效果,自己在Photoshop作修正。
image-4B.png (81.79 KiB) 被瀏覽 15709 次
image-5.png
Render Setting
image-5.png (25.23 KiB) 被瀏覽 15709 次
flyws
討論區新秀
討論區新秀
 
文章: 78
註冊時間: 25日 11月 2005年, 10:55
來自: Hong Kong

Share On:

Share on Facebook Facebook Share on Twitter Twitter

文章h2o » 7日 10月 2007年, 01:51

我建議你 build model 一定要有厚度 :wink:
FB
My Lab
CG guy + Researcher + Educator
頭像
h2o
討論區主持
討論區主持
 
文章: 4945
註冊時間: 7日 4月 2002年, 08:00
來自: Dark Side
外號: 水水

文章flyws » 7日 10月 2007年, 13:35

已嘗試加上物體厚度,但結果一樣! :-| *
flyws
討論區新秀
討論區新秀
 
文章: 78
註冊時間: 25日 11月 2005年, 10:55
來自: Hong Kong

文章stantang » 7日 10月 2007年, 19:18

what's your raytrace setting for render global and lights? And are you using spot lights?
dig deep, think deeper
頭像
stantang
討論區主持
討論區主持
 
文章: 1566
註冊時間: 8日 11月 2001年, 08:00
來自: Groom Lake

文章flyws » 7日 10月 2007年, 20:11

Yes, I use spot light on the centre of the bulb.
flyws
討論區新秀
討論區新秀
 
文章: 78
註冊時間: 25日 11月 2005年, 10:55
來自: Hong Kong

文章stantang » 8日 10月 2007年, 19:20

Seems like your "box" is not casting any shadow, make sure its "cast shadow" option is checked. Again, what's your raytrace setting for render global and lights?
dig deep, think deeper
頭像
stantang
討論區主持
討論區主持
 
文章: 1566
註冊時間: 8日 11月 2001年, 08:00
來自: Groom Lake

文章h2o » 9日 10月 2007年, 03:37

same thing....

check object 既 render stat
check 埋 object 既 normal

spot light 用左邊種 cast shadow??


p.s. 放個 scene 上黎系最快既方法
FB
My Lab
CG guy + Researcher + Educator
頭像
h2o
討論區主持
討論區主持
 
文章: 4945
註冊時間: 7日 4月 2002年, 08:00
來自: Dark Side
外號: 水水

文章flyws » 10日 10月 2007年, 01:28

多謝各位的幫忙,反覆嘗試後,應該是Light Radius and Shadow Ray的問題。仲有如果用dgs_material做reflection就有問題!
加?Light Radius and Shadow Ray後,燈光變得粗糙,請問水哥應該俾什麼數值會好的!謝謝!

P.S. 如果燈光唔用RayTrace Shadow,是否光線就會透穿物體?
附加檔案
box_image-3.png
把point light放在box中間。
box_image-3.png (18.7 KiB) 被瀏覽 15559 次
box_image-1.png
冇用Raytrace時,燈光透過box外。
box_image-1.png (91.68 KiB) 被瀏覽 15559 次
box_image-2.png
用Raytrace後,燈光不再透穿。
box_image-2.png (21.18 KiB) 被瀏覽 15559 次
box_image-compare.png
dgs_material好像有問題!
box_image-compare.png (85.2 KiB) 被瀏覽 15559 次
flyws
討論區新秀
討論區新秀
 
文章: 78
註冊時間: 25日 11月 2005年, 10:55
來自: Hong Kong

文章h2o » 10日 10月 2007年, 01:42

1. "冇用Raytrace時,燈光透過box外。"

你指冇用 raytrace... 系指用左 raytrace shadow, render setting off 左 raytrace 定系 off 左 raytrace shadow, switch to depth map shadow??


2. 想 shadow 唔起沙, 就要打大 shadow rays 個數. 我自己習慣系分 layer ren shadow, 所以 shadow rays 用 12-16 都夠, 如果一次過 render 出黎, 又要好 smooth, 個數一定大過 20


3. dgs_material 你想用黎做邊種 material?? 基本上 blinn, phong, phongE 已經都夠用
FB
My Lab
CG guy + Researcher + Educator
頭像
h2o
討論區主持
討論區主持
 
文章: 4945
註冊時間: 7日 4月 2002年, 08:00
來自: Dark Side
外號: 水水

文章flyws » 10日 10月 2007年, 10:12

我系話render setting off 左 raytrace or off 左 raytrace shadow,燈光透過box外,這是否正常的效果? :(
switch to depth map shadow效果系點我未試過,都唔知點做。 :oops:
用dgs_material唧原因系因為未試過就試囉!新shader嗎。 :wink:
謝謝! :D
flyws
討論區新秀
討論區新秀
 
文章: 78
註冊時間: 25日 11月 2005年, 10:55
來自: Hong Kong

文章瘦肉金 » 10日 10月 2007年, 15:29

天天學習水哥的精神!
我的最愛cg-forum.com
瘦肉金
討論區新秀
討論區新秀
 
文章: 36
註冊時間: 8日 8月 2006年, 10:44


回到 ■ Lighting & Rendering

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 3 位訪客