2010/08/05

UDK新增功能:單一點光源就能產生整個場景的陰影

八月版的UE3及將會有單一點光源產生整個場景的陰影的功能。詳情如下:
  • 以上燈光是一盞PointLightMovable,能夠產生正確的陰影。
  • 任何點光源,帶有預先計算的陰影(可開關的或是一般點光源),而這樣的照明並不需要計算light map
整個場景會用6 90的投影算圖,因此對場景渲染來說是非常耗資源的,因此這種燈可被用來當做編輯器裡面預覽用,因為這種光源可以用來顯示燈光在被rebuild後陰影的位置。

[更多UDK功能介紹]

2010/07/26

西洋流行樂---No Doubt - Underneath It All


No double (無疑合唱團)是筆者的最愛. 這首Underneath It All也不例外, 雷鬼加上撒嬌的歌詞 難怪在2004年還獲得葛萊美獎!

從女生的角度寫的故事 這裡面已經不是性暗示了, 歌詞寫的很白了. 用的單字的話, "Underneath It All"會比較難翻譯, 可以翻作骨子裡 但是又不太搭 所以就翻作"其實". 從女生的口吻說出gorgeous sleep 是比較婉轉的用語. Bad在以下同時有兩種意義 大概只有聽原文歌詞才聽出原汁原味:

And when it's really bad
當你很壞的時候
I guess it's not that bad
其實還不賴阿

這首歌的MV也拍的很棒. 打燈 特效 節奏都在水準以上. 譯者認為是找電影團隊來拍的. 事實上, 亞當山德勒的電影---我的失憶女友50 First Dates 還拿這首歌當做主題曲!


---以下為翻譯---





No Doubt - Underneath It All

There's times where I want something more
有時會我會想要更多
Someone more like me
想要一位跟我很像的人
There's times when this dress rehearsal
有時候這彩排
Seems incomplete
好像還沒結束一樣
But, you see the colors in me like no one else
但是你看到了我那個別人都看不到的一面
And behind your dark glasses you're...
在你深色的墨鏡底下
You're something else
有著不一樣的你

You're really lovely
其實 你真的很可愛
Underneath it all
You want to love me
其實 你想要愛我
Underneath it all
I'm really lucky
其實 我真的很幸運
Underneath it all
You're really lovely
你真的很可愛

You know some real bad tricks
你會一些壞壞的技巧
And you need some discipline
我該好好管教你
But, lately you've been trying real hard
但是 最近你好認真
And giving me your best
想要給我最棒的
And, you give me the most gorgeous sleep
給了我最棒的愛愛
That I've ever had
以前從來沒有過
And when it's really bad
當你很壞的時候
I guess it's not that bad
其實還不賴阿

So many moons that we have seen
月光下 我們一起度過這麼多夜晚
Stumbling back next to me
I've seen right through and underneath
而我看到了那真實的你
And you make me better
而你讓我越來越舒服
I've seen right through and underneath
而我看到了那真實的你
And you make me better
而你讓我越來越舒服
Better... better...
舒服

You are my real Prince Charmin'
你是我真正的白馬王子
Like the heat from the fire
燃起了我熱情的火
You were always burnin'
你的心燒阿燒
And each time you're around
每次只要你在我身邊
My body keeps stalin'
我的身體就渴望你的觸摸
For your touch
Your kisses and your sweet romancin'
你的吻 你的浪漫
There's an underside to you
你有看不到的一面
That so many adore
讓人好愛
Aside from your temper
除了你的脾氣
Everything else secure
其他都很神祕
You're good for me, baby
你對我好 寶貝
Oh that, I'm sure
這點我知道
Over and over again
一次又一次
I want more
我還要

You've used up all your coupons
你把你的優惠券都用完了(譯者註:眾多前女友)
And all you've got left is me
現在你只剩我
And somehow I'm full of forgiveness
不知道為何我想要原諒你的過去
I guess it's meant to be
我想這就是命運吧

You're really lovely
你真的很可愛
Underneath it all
You want to love me
你想要愛我
Underneath it all
I'm really lovely
我真的好可愛
Underneath it all
And you're really lovely
你真的很可愛

---翻譯完---

[更多歌詞]

2010/07/22

UDK新增功能: Character indirect lighting角色間接光照參數

新的角色間接光照(indirect lighting)設定

八月版的UDK即將新增以上功能:在WorldInfo裡面多了一個能控制角色間接光照設定的參數。

這個參數會取代舊的LightEnvironmentIndirectContrastFactor,因為新的功能還比較多。這個東西可以即時套用,因此你可以在不重新rebuild光照就可以看到效果!這只影響環境光線,透過bIsCharacterLightEnvironment=true,原本是要用unreal script設定。現在SkeletalMeshCinematicActors屬性預設就是啟用的,因此你可以放在場景中做預覽用。

以上是SkeletalMeshCinematicActor放置在場景的情形,當Lightmass設定成超大的IndirectLightingScale屬性(directional light),這會造成一個問題,就是角色的背面會接受到大量的間接光照,因此角色本身會有對比過低的問題。

以上是同一個場景但是CharacterLitIndirectBrightness設定為.01,而CharacterLitIndirectContrastFactor設定為2。 (譯者認為, 應該要介於兩者之間亮度才比較好看)

[更多UDK新增功能]


UDK新增功能: Detail Lighting詳細光照顯示模式


八月版的Unreal Engine 3即將添加---詳細光照(Detail Lighting)的編輯器顯示模式

有了新的編輯器顯示模式,稱為細節光照(Detail Lighting)。這個會將diffuse color與specular color改用常數來取代,但是維持材質球裏面如normal map、 opacity mask等參數。這個模式對於要查看光照,而不要受到diffuse顏色所影響很有用!舊的lighting only模式還會保留,因為對觀察光照的缺陷還是有用的。

如上圖, 新的顯示模式的按鈕就在Lit顯示模式的旁邊。

[隨選文章]

2010/07/20

西洋流行樂---Shaggy It Wasn't Me (偷吃被抓包)


首歌很有趣, 講一位男生偷吃被女友抓包 跑去找朋友 (情聖). 情聖跟他說 "就說那不是我 不就得了" 很有故事性的歌詞, MV也拍的不錯. 黑人腔講話實在是聽不太懂 但是表情豐富啊! 翻了一下歌詞才發現已經有很多人撰文介紹啦, 參考了一下別人的翻法 以下是我的版本. 英文最麻煩的地方就是很多簡單的用法不會在空中英語教室看到, 不是那些拿的上檯面的慣用語卻是每天在講的詞 : D

caught me red-handed 現行犯的意思 當場抓包

banging on the bathroom floor 翻成幹砲或是嘿咻

scream 叫床

giggolo flex 像舞男般的扭動身體


陳老師解說完畢 XD

----以下為翻譯----

Shaggy "It Wasn't Me"

觀看MV請點這裡

(Yo', man) Yo'
又 老兄 又
(Open up, man) What do you want, man?
開門阿(慌張貌) 要幹嘛
(My girl just caught me) You let her catch you?
我被女友抓包 抓包?
(I don't know how I let this happen) With who?
我不知道怎麼會這樣 跟誰?
(The girl next door, you know) Man
隔壁的 嗯嗯(老兄你很行的口氣)
(I don't know what to do) Say it wasn't you
我不知道要怎麼辦 就說那不是你就好啦
(Alright)
好吧 就這樣辦


Honey came in and she caught me red-handed
我女友進門當場抓到我跟隔壁正妹偷吃
Creeping with the girl next door
Picture this, we were both butt naked, banging on the bathroom floor
當場的畫面是: 我跟她光著屁股在浴室幹砲

How could I forget that I had
哎呀我怎麼會忘了
Given her an extra key
我還有給她房間鑰匙
All this time she was standing there
她就直挺挺的站在那裡
She never took her eyes off me
眼睛盯著我看

(以下為情聖訓話, 口音很重聽不懂)
How you can grant the woman access to your villa
你怎麼可以允許你的女人闖入你的別野
Trespasser and a witness while you cling to your pillow
闖進來 還看到你在抱枕頭
You better watch your back before she turn into a killer
你要偷吃也要隨時注意周遭 要不然小心女友會把你殺了
Best for you and the situation not to call the beaner
保佑你還好狀況沒太糟
To be a true player you have to know how to play
想要當個真正的花心男 你就要知道怎麼玩
If she say a night, convince her say a day
如果她要一個晚上 那你就要說服她在白天
Never admit to a word when she say makes a claim
絕對不要承認一個字 當她對你興師問罪
And you tell her baby no way
你就告訴她 寶貝 不可能啦

(劈腿男解釋)
But she caught me on the counter (It wasn't me)
ㄟ 但是她在抓包我在桌上 (不是我)
Saw me bangin' on the sofa (It wasn't me)
看到我在沙發上跟別的女人幹砲 (不是我)
I even had her in the shower (It wasn't me)
我還帶女人去浴室淋浴 (不是我)
She even caught me on camera (It wasn't me)
她還用攝影機拍到我偷吃 (不是我)

She saw the marks on my shoulder (It wasn't me)
她看到我肩膀上的指痕
Heard the words that I told her (It wasn't me)
聽到我跟正妹說的情話
Heard the scream get louder (It wasn't me)
聽到正妹叫床越大聲
She stayed until it was over
她還故意在旁邊觀看到做完

Honey came in and she caught me red-handed
我女友進門當場抓到我跟隔壁女孩偷吃
Creeping with the girl next door
Picture this, we were both butt naked, banging on the bathroom floor
當場的畫面是: 我跟她光著屁股在浴室幹砲

I had tried to keep her
我想要留她
From what she was about to see
說她撞見的一切
Why should she believe me
為什麼她就是不相信呢
When I told her it wasn't me
我跟她說那位(在沙發上幹砲)不是我ㄚ

(情聖訓話)
Make sure she knows it's not you and lead her on the right prefix
你要讓她相信她看到的不是你 你要用話術導引她
Whenever you should see her make the giggolo flex
要見面的時候要學舞男扭一扭腰
As funny as it be by you, it not that complex
反正就是盡量搞笑就對了 一點都不難
Seeing is believing so you better change your specs
眼見為憑換副眼鏡
You know she not gonna be worrying bout things from the past
你得知道她不會為你的事情煩惱
Hardly recollecting and then she'll go to noontime mass
一下就忘了 然後她會去望彌撒
Wait for your answer: go over there
等你的解釋說: 閃邊啦
But if she pack a gun you know you better run fast
但是 如果她拿把槍來記得快閃


But she caught me on the counter (It wasn't me)
ㄟ 但是她在櫃檯抓包我 (不是我)
Saw me bangin' on the sofa (It wasn't me)
看到我在沙發上跟別的女人幹砲 (不是我)
I even had her in the shower (It wasn't me)
我還帶女人去浴室淋浴 (不是我)
She even caught me on camera (It wasn't me)
她還用攝影機拍到我偷吃 (不是我)

She saw the marks on my shoulder (It wasn't me)
她看到我肩膀上的指痕
Heard the words that I told her (It wasn't me)
聽到我跟正妹說的情話
Heard the scream get louder (It wasn't me)
聽到正妹叫床越大聲
She stayed until it was over
她還故意在旁邊觀看到做完

Honey came in and she caught me red-handed
我女友進門當場抓到我跟隔壁女孩偷吃
Creeping with the girl next door
Picture this, we were both butt naked, banging on the bathroom floor
當場的畫面是: 我跟她光著屁股在浴室幹砲

How could I forget that I had
哎呀我怎麼會忘了
Given her an extra key
我還有給她房間鑰匙
All this time she was standing there
她就直挺挺的站在那裡
She never took her eyes off me
眼睛盯著我看

Gonna tell her that I'm sorry
想要告訴她對不起
For the pain that I've caused
我對她造成的痛苦
I've been listening to your reasoning
我一直在聽你的藉口
It makes no sense at all
一點道理都沒有
We should tell her that I'm sorry
我們應該去跟她說對不起
For the pain that I've caused
我對她造成的痛苦
You may think that you're a player
你(情聖)可能會認為你是個花花公子
But you're completely lost
但其實是個大遜腳
That's why I sing
所以我才要唱這首阿

Honey came in and she caught me red-handed
我女友進門當場抓到我跟隔壁正妹偷吃
Creeping with the girl next door
Picture this, we were both butt naked, banging on the bathroom floor
當場的畫面是: 我跟她光著屁股在浴室幹砲

How could I forget that I had
哎呀我怎麼會忘了
Given her an extra key
我還有給她房間鑰匙
All this time she was standing there
她就直挺挺的站在那裡
She never took her eyes off me
眼睛盯著我看

[更多歌詞]