Skip to content

Dose OpenWebGlobe's Geometry-JSON only support Point-Color , not support Face-Color ? #36

@wei1224hf

Description

@wei1224hf

qq20131030090814

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]

    }
  ]

]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions