1234567891011121314151617
// 创建一个面片vector pos1 = set(0,0,0);vector pos2 = set(1,0,0);vector pos3 = set(1,1,0);int p1 = addpoint(0, pos1);int p2 = addpoint(0, pos2);int p3 = addpoint(0, pos3);int prim1 = addprim(0, "poly");// 注意添加顺序addvertex(0, prim1, p1);addvertex(0, prim1, p3);addvertex(0, prim1, p2);
1
int prim1 = addprim(0, "poly");
pluginInfo -q -ex "fbxmaya";