加载中...
avatar

Houdini

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 创建一个面片
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");
1
pluginInfo -q -ex "fbxmaya";