Hello,
I am looking to display arrows along lines.
At the moment, it does not seem to be supported in Cesium.
Here is my analysis of current state and what could be done (including ugly hacks):
-
Billboard
=> unusable since it is turning when the camera move -
PolylineArrowMaterial (single head, no drapping on terrain)
https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=development/Polyline%20Material.html
=> could cut the multiline into a list of segments, each segment would have its head
=> question: would it be possible to repeat the head pattern along the line? Some modulo to add to the shader? -
CylinderGeometry
in meters so would need duplication to appear at a reasonable width when the distance changes
the display condition could be used to avoid collision: https://cesiumjs.org/Cesium/Build/Documentation/DistanceDisplayConditionGeometryInstanceAttribute.html -
Model
in meters
use minimum pixel size to avoid duplicating the model
Looks similar to: http://cesiumjs.org/forum.html#!topic/cesium-dev/2s-gA8_rYGk/discussion
Has someone tried addressing this issue already or has some guidances?
Thanks,
Guillaume