I have custom 3D geometry that is already split into indexed triangles with pre-calculated normals. What is the best way to get this data into cesium. I looked at the polygon entities but that seems like it just takes a raw set of points and does triangulation on the points.
We have a task to display radar domes along with jammers. The resulting polygons would be described as free form or irregular3D objects I guess. Basically, we would be given a list of triangles from the output of some application, and then would need to render those triangles.
Questions:
To do this in Cesium:
Would we still need to write a custom Geometry, or has something changed?
Could the triangles be defined in KML and then loaded into Cesium?
I guess we could write the triangles out into a gltf file?
If anyone has any ideas/advice on how we could render these types of objects then it would be great to hear from you!
I think defining your own geometry is still the go-to way, that way you have full control over the vertices/geometry. Although just exporting it as a KML/glTF would probably work as well!
I’m going the gltf route since that seems like the best fit. I think the KML route would mean each triangle would be an Entity which doesn’t sound like a good way to go. I’ve got most of the code written but I need to figure out the accessors and bufferViews sections, and then I should be done. Thanks for your help!