How to built WebGL wind map into cesium?

How to built WebGL wind map into cesium like

There’s a lot of ways to go about doing this, depending on what your data looks like. There’s nothing built in to Cesium to do this so there’s no quick solution, but if you just wanted to implement something similar to that blog post you could render that in a separate WebGL canvas, and then use that as a source for a material that you then use for polygons draped on the surface of the globe. You could try writing the shaders yourself in Cesium. This would be a good start to more advanced usage of the Cesium API.

在 2018年7月19日星期四 UTC+8上午1:56:44,Omar Shehata写道:

There's a lot of ways to go about doing this, depending on what your data looks like. There's nothing built in to Cesium to do this so there's no quick solution, but if you just wanted to implement something similar to that blog post you could render that in a separate WebGL canvas, and then use that as a source for a material that you then use for polygons draped on the surface of the globe. You could try writing the shaders yourself in Cesium. This would be a good start to more advanced usage of the Cesium API.

On Wednesday, July 18, 2018 at 5:46:03 AM UTC-4, xyjwy...@gmail.com wrote:How to built WebGL wind map into cesium like
How I built a wind map with WebGL | by Vladimir Agafonkin | maps for developers

I set the canvas element as Material unifrom,but there was no animation on globe!

Looks like there’s already an issue for this: https://github.com/AnalyticalGraphicsInc/cesium/issues/5080

By design, Cesium will only get the data from the canvas once. For now, a workaround is to swap between two canvases, like here:

https://groups.google.com/forum/?hl=en#!topic/cesium-dev/7Bda_BkaJMU