
I can set color and transparency to each point ,
but how to set color to each face ?
The cubic's Geometry-JSON is
[
[
{
"id" : "1",
"Center" : [7.438637,46.951081,3400],
"VertexSemantic" : "pc",
"Vertices" : [-100,-100,-100,55,0,0,0.5,
-100,-100, 100,0,0,0,1,
100,-100,-100,0,0,0,1,
100,-100, 100,0,0,0,1,
100, 100,-100,0,0,0,1,
100, 100, 100,0,0,0,1,
-100, 100,-100,0,0,0,1,
-100, 100, 100,0,0,0,1,
],
"IndexSemantic" : "TRIANGLES",
"Indices" : [3,1,0,
5,3,2,
7,5,4,
1,7,6,
5,7,1,
2,0,6,
2,3,0,
4,5,2,
6,7,4,
0,1,6,
3,5,1,
4,2,6]
]