-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.mel
20 lines (19 loc) · 1 KB
/
test.mel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
polySphere -r 1 -sx 20 -sy 20 -ax 0 1 0 -cuv 2 -ch 1;
polyPlane -w 50 -h 50 -sx 10 -sy 10 -ax 0 0 1 -cuv 2 -ch 1;
setAttr "pPlane1.translateZ" -3;
shadingNode -asShader aiLambertNode;
shadingNode -asShader aiMetalNode;
shadingNode -asShader aiLayerMatNode;
shadingNode -asShader aiLayerMatNode;
shadingNode -asShader aiDielectricNode;
sets -renderable true -noSurfaceShader true -empty -name aiLayerMatNode1SG;
defaultNavigation -source aiLayerMatNode1SG -destination |pSphere1|pSphereShape1.instObjGroups[0] -connectToExisting;
connectAttr -f aiDielectricNode1.outColor aiLayerMatNode1.top_node;
connectAttr -f aiMetalNode1.outColor aiLayerMatNode1.bottom_node;
connectAttr -f aiLayerMatNode1.outColor aiLayerMatNode1SG.surfaceShader;
connectAttr -f aiDielectricNode1.outColor aiLayerMatNode1SG.surfaceShader;
connectAttr -f aiLambertNode1.outColor initialShadingGroup.surfaceShader;
shadingNode -asLight aiAreaLight;
setAttr "transform1.translateZ" 3;
setAttr "aiAreaLight1.intensity" 10;
setAttr "aiAreaLight1.exposure" 2;