3D Polygon in czml

217 views
Skip to first unread message

stepien...@gmail.com

unread,
Feb 7, 2014, 6:00:26 AM2/7/14
to cesiu...@googlegroups.com
Hello,

Lets say I have given object(for example 3d building) in czml:
{
"id":"somename",
"availability":"2008-01-01T23:00:00Z/2008-01-02T23:00:00Z",
"vertexPositions":{
"cartographicDegrees":[
...positions(with nonzero-z)
]
},
"polyline":{
"color":{
"rgba":[
255,0,0,255
]
},
"outlineWidth":0.0,
"width":1.0,
"show":true
},
"polygon":{
"show":true,
"material":{
"solidColor":{
"color":{
"rgba":[
255,255,0,255
]
}
}
}
}
}

But the effect I get is that only polylines get proper height, polygon seems to be glued to the surface, its totally flat. Is there a way to write in czml 3d object?

Best regards.

Matthew Amato

unread,
Feb 13, 2014, 9:16:15 AM2/13/14
to cesiu...@googlegroups.com
This feature should be in the next release; which is currently scheduled for March 3rd.



--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Message has been deleted

Matthew Amato

unread,
Mar 6, 2014, 9:27:34 AM3/6/14
to cesiu...@googlegroups.com
The feature is in b26, you need to update your CZML to take advantage of it.  See https://github.com/AnalyticalGraphicsInc/cesium/wiki/CZML-Content#wiki-polygon


On Tue, Mar 4, 2014 at 3:44 AM, <stepien...@gmail.com> wrote:
Hello,
This feature was supposed to be out with b26, was it dropped, or should I make some changes in czml?
Reply all
Reply to author
Forward
0 new messages