-
Notifications
You must be signed in to change notification settings - Fork 203
/
Copy pathInstancerDrawTest.ma
270 lines (270 loc) · 11.5 KB
/
InstancerDrawTest.ma
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
//Maya ASCII 2016 scene
//Name: InstancerDrawTest.ma
//Last modified: Tue, Sep 25, 2018 04:47:20 PM
//Codeset: UTF-8
requires maya "2016";
requires -nodeType "pxrUsdReferenceAssembly" -dataType "pxrUsdStageData" "pxrUsd" "1.0";
currentUnit -l centimeter -a degree -t film;
fileInfo "application" "maya";
fileInfo "product" "Maya 2016";
fileInfo "version" "2016";
fileInfo "cutIdentifier" "201610262200-1005964";
fileInfo "osv" "Linux 3.10.0-693.2.2.el7.x86_64 #1 SMP Sat Sep 9 03:55:24 EDT 2017 x86_64";
createNode transform -s -n "persp";
rename -uid "E6F65900-0000-0B18-5ABA-DA8F0000022A";
setAttr ".v" no;
setAttr ".t" -type "double3" -10.885467388233131 -26.707173643819754 18.183993016821368 ;
setAttr ".r" -type "double3" 58.282924915355999 0 -26.805086005253933 ;
createNode camera -s -n "perspShape" -p "persp";
rename -uid "E6F65900-0000-0B18-5ABA-DA8F0000022B";
setAttr -k off ".v" no;
setAttr ".fl" 34.999999999999993;
setAttr ".coi" 34.012909765441243;
setAttr ".imn" -type "string" "persp";
setAttr ".den" -type "string" "persp_depth";
setAttr ".man" -type "string" "persp_mask";
setAttr ".hc" -type "string" "viewSet -p %camera";
createNode transform -s -n "top";
rename -uid "E6F65900-0000-0B18-5ABA-DA8F0000022C";
setAttr ".v" no;
setAttr ".t" -type "double3" 0 0 1000.1 ;
createNode camera -s -n "topShape" -p "top";
rename -uid "E6F65900-0000-0B18-5ABA-DA8F0000022D";
setAttr -k off ".v" no;
setAttr ".rnd" no;
setAttr ".coi" 1000.1;
setAttr ".ow" 30;
setAttr ".imn" -type "string" "top";
setAttr ".den" -type "string" "top_depth";
setAttr ".man" -type "string" "top_mask";
setAttr ".hc" -type "string" "viewSet -t %camera";
setAttr ".o" yes;
createNode transform -s -n "front";
rename -uid "E6F65900-0000-0B18-5ABA-DA8F0000022E";
setAttr ".v" no;
setAttr ".t" -type "double3" 0 -1000.1 0 ;
setAttr ".r" -type "double3" 89.999999999999986 0 0 ;
createNode camera -s -n "frontShape" -p "front";
rename -uid "E6F65900-0000-0B18-5ABA-DA8F0000022F";
setAttr -k off ".v" no;
setAttr ".rnd" no;
setAttr ".coi" 1000.1;
setAttr ".ow" 30;
setAttr ".imn" -type "string" "front";
setAttr ".den" -type "string" "front_depth";
setAttr ".man" -type "string" "front_mask";
setAttr ".hc" -type "string" "viewSet -f %camera";
setAttr ".o" yes;
createNode transform -s -n "side";
rename -uid "E6F65900-0000-0B18-5ABA-DA8F00000230";
setAttr ".v" no;
setAttr ".t" -type "double3" 1000.1 0 0 ;
setAttr ".r" -type "double3" 90 1.2722218725854067e-14 89.999999999999986 ;
createNode camera -s -n "sideShape" -p "side";
rename -uid "E6F65900-0000-0B18-5ABA-DA8F00000231";
setAttr -k off ".v" no;
setAttr ".rnd" no;
setAttr ".coi" 1000.1;
setAttr ".ow" 30;
setAttr ".imn" -type "string" "side";
setAttr ".den" -type "string" "side_depth";
setAttr ".man" -type "string" "side_mask";
setAttr ".hc" -type "string" "viewSet -s %camera";
setAttr ".o" yes;
createNode pxrUsdReferenceAssembly -n "CubeModel";
rename -uid "E6F65900-0000-0B18-5ABA-DACB00000250";
setAttr ".isc" yes;
setAttr ".v" no;
setAttr ".fp" -type "string" "./CubeModel.usda";
setAttr ".pp" -type "string" "/CubeModel";
setAttr ".irp" -type "string" "";
setAttr ".rns" -type "string" "NS_CubeModel";
createNode pointEmitter -n "emitter1";
rename -uid "0BC75940-0000-42A7-5BAA-B6A8000002A0";
setAttr ".rat" 10;
setAttr ".sro" no;
setAttr -l on ".urpp";
setAttr ".spd" 10;
createNode transform -n "nParticle1";
rename -uid "0BC75940-0000-42A7-5BAA-B6A8000002A2";
createNode nParticle -n "nParticleShape1" -p "nParticle1";
rename -uid "0BC75940-0000-42A7-5BAA-B6A8000002A1";
addAttr -s false -ci true -sn "lifespanPP" -ln "lifespanPP" -dt "doubleArray";
addAttr -ci true -h true -sn "lifespanPP0" -ln "lifespanPP0" -dt "doubleArray";
addAttr -ci true -sn "lifespan" -ln "lifespan" -at "double";
addAttr -is true -ci true -sn "colorAccum" -ln "colorAccum" -min 0 -max 1 -at "bool";
addAttr -is true -ci true -sn "useLighting" -ln "useLighting" -min 0 -max 1 -at "bool";
addAttr -is true -ci true -sn "pointSize" -ln "pointSize" -dv 2 -min 1 -max 60 -at "long";
addAttr -is true -ci true -sn "normalDir" -ln "normalDir" -dv 2 -min 1 -max 3 -at "long";
setAttr -k off ".v";
setAttr ".gf" -type "Int32Array" 0 ;
setAttr ".pos0" -type "vectorArray" 0 ;
setAttr ".vel0" -type "vectorArray" 0 ;
setAttr ".acc0" -type "vectorArray" 0 ;
setAttr ".mas0" -type "doubleArray" 0 ;
setAttr ".id0" -type "doubleArray" 0 ;
setAttr ".nid" 41;
setAttr ".bt0" -type "doubleArray" 0 ;
setAttr ".ag0" -type "doubleArray" 0 ;
setAttr ".irbx" -type "string" "";
setAttr ".irax" -type "string" "";
setAttr ".icx" -type "string" "";
setAttr ".cts" 100;
setAttr ".chw" 100;
setAttr ".idt[0].iam" -type "stringArray" 6 "age" "age" "position" "worldPosition" "id" "particleId" ;
setAttr ".cofl" 1;
setAttr ".scld" no;
setAttr -s 2 ".fsc[0:1]" 0 1 1 1 0 1;
setAttr -s 2 ".pfdo[0:1]" 0 1 1 1 0 1;
setAttr ".vssc[0]" 0 1 1;
setAttr ".stns[0]" 0 1 1;
setAttr ".rdc[0]" 0 1 1;
setAttr ".mssc[0]" 0 1 1;
setAttr ".pfsc[0]" 0 1 1;
setAttr ".frsc[0]" 0 1 1;
setAttr ".stsc[0]" 0 1 1;
setAttr ".clsc[0]" 0 1 1;
setAttr ".bosc[0]" 0 1 1;
setAttr ".opc[0]" 0 1 1;
setAttr ".cl[0].clp" 0;
setAttr ".cl[0].clc" -type "float3" 1 1 1 ;
setAttr ".cl[0].cli" 1;
setAttr ".inca[0].incap" 0;
setAttr ".inca[0].incac" -type "float3" 0 0 0 ;
setAttr ".inca[0].incai" 1;
setAttr ".lifespanPP0" -type "doubleArray" 0 ;
setAttr -k on ".lifespan" 1;
setAttr -k on ".colorAccum";
setAttr -k on ".useLighting";
setAttr -k on ".pointSize";
setAttr -k on ".normalDir";
createNode nucleus -n "nucleus1";
rename -uid "0BC75940-0000-42A7-5BAA-B6A8000002A3";
setAttr ".grty" 0;
createNode transform -n "instance1";
rename -uid "0BC75940-0000-42A7-5BAA-B6DC000002B4";
createNode instancer -n "instancer1" -p "instance1";
rename -uid "0BC75940-0000-42A7-5BAA-B6BF000002AC";
createNode transform -n "instance2";
rename -uid "0BC75940-0000-42A7-5BAA-B6E1000002B9";
setAttr ".t" -type "double3" 10 0 0 ;
parent -s -nc -r -add "|instance1|instancer1" "instance2" ;
createNode lightLinker -s -n "lightLinker1";
rename -uid "730B1940-0000-73DB-5BAA-C84700000264";
setAttr -s 3 ".lnk";
setAttr -s 3 ".slnk";
createNode shapeEditorManager -n "shapeEditorManager";
rename -uid "730B1940-0000-73DB-5BAA-C84700000265";
createNode poseInterpolatorManager -n "poseInterpolatorManager";
rename -uid "730B1940-0000-73DB-5BAA-C84700000266";
createNode displayLayerManager -n "layerManager";
rename -uid "730B1940-0000-73DB-5BAA-C84700000267";
createNode displayLayer -n "defaultLayer";
rename -uid "E6F65900-0000-0B18-5ABA-DA900000024A";
createNode renderLayerManager -n "renderLayerManager";
rename -uid "730B1940-0000-73DB-5BAA-C84700000269";
createNode renderLayer -n "defaultRenderLayer";
rename -uid "E6F65900-0000-0B18-5ABA-DA900000024C";
setAttr ".g" yes;
createNode script -n "sceneConfigurationScriptNode";
rename -uid "E6F65900-0000-0B18-5ABA-DABC0000024F";
setAttr ".b" -type "string" "playbackOptions -min 1 -max 100 -ast 1 -aet 100 ";
setAttr ".st" 6;
createNode hyperLayout -n "hyperLayout1";
rename -uid "E6F65900-0000-0B18-5ABA-DACB00000251";
setAttr ".ihi" 0;
createNode shadingEngine -n "nParticlePointsSE";
rename -uid "0BC75940-0000-42A7-5BAA-B6A8000002A4";
setAttr ".ihi" 0;
setAttr ".ro" yes;
createNode materialInfo -n "materialInfo1";
rename -uid "0BC75940-0000-42A7-5BAA-B6A8000002A5";
createNode particleSamplerInfo -n "particleSamplerInfo1";
rename -uid "0BC75940-0000-42A7-5BAA-B6A8000002A6";
createNode blinn -n "npPointsBlinn";
rename -uid "0BC75940-0000-42A7-5BAA-B6A8000002A7";
createNode particleCloud -n "npPointsVolume";
rename -uid "0BC75940-0000-42A7-5BAA-B6A8000002A8";
createNode cacheFile -n "nParticlesCache1";
rename -uid "730B1940-0000-73DB-5BAA-C906000002A9";
setAttr ".cn" -type "string" "nParticles";
setAttr ".cp" -type "string" "./nCache/";
setAttr ".os" 1;
setAttr ".oe" 100;
setAttr ".ss" 1;
setAttr ".se" 100;
setAttr ".sf" 1;
select -ne :time1;
setAttr ".ihi" 0;
setAttr ".o" 100;
setAttr ".unw" 100;
select -ne :hardwareRenderingGlobals;
setAttr ".otfna" -type "stringArray" 22 "NURBS Curves" "NURBS Surfaces" "Polygons" "Subdiv Surface" "Particles" "Particle Instance" "Fluids" "Strokes" "Image Planes" "UI" "Lights" "Cameras" "Locators" "Joints" "IK Handles" "Deformers" "Motion Trails" "Components" "Hair Systems" "Follicles" "Misc. UI" "Ornaments" ;
setAttr ".otfva" -type "Int32Array" 22 0 1 1 1 1 1
1 1 1 0 0 0 0 0 0 0 0 0
0 0 0 0 ;
setAttr ".fprt" yes;
select -ne :renderPartition;
setAttr -s 3 ".st";
select -ne :renderGlobalsList1;
select -ne :defaultShaderList1;
setAttr -s 6 ".s";
select -ne :postProcessList1;
setAttr -s 2 ".p";
select -ne :defaultRenderingList1;
select -ne :initialShadingGroup;
setAttr ".ro" yes;
select -ne :initialParticleSE;
setAttr ".ro" yes;
select -ne :defaultResolution;
setAttr ".pa" 1;
select -ne :hardwareRenderGlobals;
setAttr ".ctrs" 256;
setAttr ".btrs" 512;
select -ne :ikSystem;
setAttr -s 4 ".sol";
connectAttr "hyperLayout1.msg" "CubeModel.hl";
connectAttr ":time1.o" "emitter1.ct";
connectAttr "nParticleShape1.ifl" "emitter1.full[0]";
connectAttr "nParticleShape1.tss" "emitter1.dt[0]";
connectAttr "nParticleShape1.inh" "emitter1.inh[0]";
connectAttr "nParticleShape1.stt" "emitter1.stt[0]";
connectAttr "nParticleShape1.sd[0]" "emitter1.sd[0]";
connectAttr ":time1.o" "nParticleShape1.cti";
connectAttr "nucleus1.noao[0]" "nParticleShape1.nxst";
connectAttr "nucleus1.stf" "nParticleShape1.stf";
connectAttr "emitter1.ot[0]" "nParticleShape1.npt[0]";
connectAttr "nParticlesCache1.ocd[0]" "nParticleShape1.poss";
connectAttr "nParticlesCache1.ir" "nParticleShape1.pfc";
connectAttr "nParticlesCache1.ocad" "nParticleShape1.chad";
connectAttr ":time1.o" "nucleus1.cti";
connectAttr "nParticleShape1.cust" "nucleus1.niao[0]";
connectAttr "nParticleShape1.stst" "nucleus1.nias[0]";
connectAttr "nParticleShape1.idt[0].ipd" "|instance1|instancer1.inp";
connectAttr "CubeModel.m" "|instance1|instancer1.inh[0]";
relationship "link" ":lightLinker1" ":initialShadingGroup.message" ":defaultLightSet.message";
relationship "link" ":lightLinker1" ":initialParticleSE.message" ":defaultLightSet.message";
relationship "link" ":lightLinker1" "nParticlePointsSE.message" ":defaultLightSet.message";
relationship "shadowLink" ":lightLinker1" ":initialShadingGroup.message" ":defaultLightSet.message";
relationship "shadowLink" ":lightLinker1" ":initialParticleSE.message" ":defaultLightSet.message";
relationship "shadowLink" ":lightLinker1" "nParticlePointsSE.message" ":defaultLightSet.message";
connectAttr "layerManager.dli[0]" "defaultLayer.id";
connectAttr "renderLayerManager.rlmi[0]" "defaultRenderLayer.rlid";
connectAttr "npPointsBlinn.oc" "nParticlePointsSE.ss";
connectAttr "npPointsVolume.oi" "nParticlePointsSE.vs";
connectAttr "nParticleShape1.iog" "nParticlePointsSE.dsm" -na;
connectAttr "nParticlePointsSE.msg" "materialInfo1.sg";
connectAttr "npPointsBlinn.msg" "materialInfo1.m";
connectAttr "particleSamplerInfo1.msg" "materialInfo1.t" -na;
connectAttr "particleSamplerInfo1.oc" "npPointsBlinn.c";
connectAttr "particleSamplerInfo1.ot" "npPointsBlinn.it";
connectAttr "particleSamplerInfo1.oi" "npPointsBlinn.ic";
connectAttr "particleSamplerInfo1.ot" "npPointsVolume.t";
connectAttr "particleSamplerInfo1.oc" "npPointsVolume.c";
connectAttr "particleSamplerInfo1.oi" "npPointsVolume.i";
connectAttr ":time1.o" "nParticlesCache1.tim";
connectAttr "nParticlePointsSE.pa" ":renderPartition.st" -na;
connectAttr "npPointsBlinn.msg" ":defaultShaderList1.s" -na;
connectAttr "npPointsVolume.msg" ":defaultShaderList1.s" -na;
connectAttr "defaultRenderLayer.msg" ":defaultRenderingList1.r" -na;
// End of InstancerDrawTest.ma