Req. Highlighting and flow animation features.

Hi,

I’m looking for the below features in Cesium.

  • Highlighting the Geo-points(animate).

  • Animation from one point to the another. i.e., To represent the data/information flow from one point to another.

Source: https://cybermap.kaspersky.com/

Can anyone help with the example or the reference to achieve this in Cesium.

Appreciate your support!

Regards,

Premkumar Jayaseelan

Hello,

There is nothing currently built into Cesium to support this type of visualization. You would have to write a custom material for the points and lines.

Best,

Hannah

Hi Hannah,

Thank you for the prompt response.

Can I get some sample code on customizing material for points or lines or any geometry?

Regards,

Premkumar Jayaseelan

Hi Premkumar,

Unfortunately it’s a little more complicated than just customizing some code. The first step would be to write a custom shader. You can see examples of our existing shaders here: https://github.com/AnalyticalGraphicsInc/cesium/tree/master/Source/Shaders/Materials

Then you would need to add your shader to Materials.js: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/Material.js

Then you need to make a MaterialProperty to add your material to the entity API.

Best,

Hannah