I'm trying to create a simple mesh of a cube
based of the attributes given in the maya help file
these are the values for which i entered :
int numV = 8; // number of vertices
int numP = 6; // number of polygons
Varray :
[
0: [-1, -1, -1, 0],
1: [1, -1, -1, 1],
2: [1, -1, 1, 2],
3: [-1, -1, 1, 3],
4: [-1, 1, -1, 4],
5: [-1, 1, 1, 5],
6: [1, 1, 1, 6],
7: [1, 1, -1, 7]
]
PolyCount : [4, 4, 4, 4, 4, 4]
PolyConnects : [0, 1, 2, 3, 4, 5, 6, 7, 3, 2, 6, 5, 0, 3, 5, 4, 0, 4, 7, 1, 1, 7, 6, 2]
I still got the error of : (kInvalidParameter): value not in valid range
Is my parameters values wrong?
in the scene, i only got a transform1 node. ( i guess this is through the command i have in the first post which is , x. )