How to retrieve lights from the selected nodes?

The quick answer is as below: from pymel import * filter( lambda n: 'light' in n.classification(), ls(sl=True, dag=True, leaf=True)) In pymel’s google group, there are 2 people giving different opinions for this and the following are from their post: take out the ‘sl=True’ by using pymel’s “selected()” function by Ofer Koren from pymel import * filter( lambda n: 'light' in n.classification(), selected(dag=True, leaf=True)) Doing it through the API requires more code but is considerably faster by Dean Edmonds ...

June 26, 2008 · 3 分鐘 · Drake Guan

NPR shaders by Algorithmic Arts

Check out this cool gallery of NPR shaders by Algorithmic Arts . There are also several demonstrating videos . A fabulous website and demo :)

June 21, 2008 · 1 分鐘 · Drake Guan

RenderMan community of Japan

Bernard Edlington 在他的 blog 上發起了一個 RenderMan community of Japan 的活動,主要就 RenderMan 技術上的討論,目的在日本推廣 RenderMan 這個東西,同時匯集身在日本,使用 RenderMan 的人。同時,他還預計在今年的 SIGGRAPH 2008 期間,在 LA 進行第二階段的活動,讓旅外的日本人也有機會參與到。 ...

June 20, 2008 · 1 分鐘 · Drake Guan

小董的「我的媽呀」blog

小董的「我的媽呀 」上頭收集了非常多,有關 3D/CG 的網站。特別是中文網站,讓人相當的感動,原來有這麼多呀~

April 9, 2008 · 1 分鐘 · Drake Guan

Web Programmers VS. Technical Directors

OSDC Taiwan 2008(Open Source Developers’ Conference in Taiwan)來了,就在今年(2008)的 4/12 與 4/13 兩天,議程 排得滿滿地,活動內容涉及廣泛……非常的廣泛……有 Ruby 、Python 、SVK 、Perl 、Google Gears ……我頭都暈了,上網報完名後,又發懶不想去聽,所以決定不匯款等著被取消。 ...

March 19, 2008 · 3 分鐘 · Drake Guan

Freestyle:NPR 下的 line drawing project

1994 年,University of Washington 的 David Salesin 與 Georges Winkenbach 發表了一篇論文“Computer-Generated Pen-and-Ink Illustration “,Non-Photorealistic Rendering (NPR) 這個技術名詞由此而生。NPR 是個非常迷人的技術,透過它,電腦不再只能計算出很 3D 或很真實的畫面來,它還可以像畫家一般,畫出各具特色的圖來。 ...

March 13, 2008 · 2 分鐘 · Drake Guan

國寶總動員於「東京動畫影展」獲獎

更新:新增中文翻譯,感謝小川,感謝 Bill :D 捷報: (Tokyo International Anime Festival 2008)的來信,告知 2006 年底完成的國寶總動員(Adventures in the NPM),獲得 グランプリ (Grand prix,指首獎的意思吧? 我猜)。 ...

March 13, 2008 · 4 分鐘 · Drake Guan

Peach:Elephants Dream 之後的下一個 Open Movie

2006 年,Blender 的名字稍稍地在 Computer Graphics 學界與 CG Animation 動畫界掀起了一個不算小的漣漪:一個號稱 Open Movie 的計畫(Orange),完成了一部叫大象之夢(Elephants Dream) 的動畫,正式地對外公佈與發行了。這個沒有使用任何商業軟體(Maya, Photoshop, Pixar’s RenderMan, Shake, ……),完全由 open source 的軟體完成,正式在 SIGGRAPH 2006 大放異彩,讓好些人在 Blender 的攤位前駐足良久,同時也吸引了一些人參與了 Blender 的 birds of a feather,那時,我是這一群人中的其中一位…… ...

February 4, 2008 · 4 分鐘 · Drake Guan