顯示具有 maya 標籤的文章。 顯示所有文章
顯示具有 maya 標籤的文章。 顯示所有文章

2010年12月15日 星期三

mix8 layer blend mode

blend mode numbers and their functions

-ei 0 ") alpha"
-ei 1 ") normal.mix"
-ei 2 ") add"
-ei 3 ") multiply"
-ei 4 ") substract"
-ei 5 ") screen"
-ei 6 ") darker"
-ei 7 ") lighter"
-ei 8 ") difference"
-ei 9 ") average"
-ei 10 ") negation"
-ei 11 ") exclusion"
-ei 12 ") overlay"
-ei 13 ") hard.light"
-ei 14 ") soft.light"
-ei 15 ") color.dodge"
-ei 16 ") color.burn"
-ei 17 ") reflect"
-ei 18 ") glow"
-ei 19 ") stamp"
-ei 20 ") freeze"
-ei 21 ") heat"

2010年5月11日 星期二

Old Maya Render Presets

There is no preset option to create a layer override in Maya 2009 as it was in 2008

However you can still create these overrides by using the following Mel
Where layer1 is the name of the Layer you like to override.

Ambient Occlusion

renderLayerBuiltinPreset occlusion layer1;

Luminance Depth

renderLayerBuiltinPreset linearDepth layer1;

Normal Map

renderLayerBuiltinPreset normal layer1;

Geometry Matt

renderLayerBuiltinPreset matte layer1;

Diffuse

renderLayerBuiltinPreset diffuse layer1;

Specular

renderLayerBuiltinPreset specular layer1;

Shadow

renderLayerBuiltinPreset shadow layer1;

From http://mayastation.typepad.com/

2009年11月25日 星期三

slim command under melscript

針對不同場景,shader參數常常需要有一組特定的參數,通常整組參數可用melscript記下來並且需要時來執行,避免每個場景都需要準備不同組palette.
slim command可以在melscript下執行,例如在slim cmd下輸入
slim GetAppearances -selected 1
melscript 前面必須再加一個指令slimcmd來執行
slimcmd GetAppearances -selected 1

2008年11月11日 星期二

bakeable shader in Renderman

Renderman 有提供shader bakeable 的功能.如果model的uv拆的很漂亮的話,可利用bakeable node把renderman shader轉成texture,例如 point cloud occlusion可以直接用貼圖來取代, 好處是在final render前就可以快速的看出occlusion的效果,並且可以像texture般調整顏色或加filter(ie. blur etc).

只要把bakeable加入shader tree 裏面就行了,bakeable需要配合bake

ls -sl 加強版

在Maya script editor 打 ls -sl 就可以顯示現在所有選取物件的名稱,但是因為maya script 能顯示的空間有限,所以當選取的物件很多的話可以用print的方式強制顯示所有選取的物件

print (`ls -sl`);