You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Slightly bizarre left field question this. But I'm trying to add a "wind layer" to my map. At the moment I've implemented this rather crudely by adding a canvas on top of my map. Whilst this "works", it's far from efficient. It also makes interaction with the map very difficult, as panning/zooming/etc would just be a nightmare.
Furthermore, the idea of using particles to show the wind practically begs for a webGL implementation. So I've been looking at the shaders and the various drawXXX painters. This would obviously be a very custom fork of that code, but I was wondering if you think this is the right place to look for adding this?
Ie does it make sense to add a new drawer that (if possible??) uses the accumulation buffer to achieve nice particle trails?
Here's an example of my current canvas based solution:
Slightly bizarre left field question this. But I'm trying to add a "wind layer" to my map. At the moment I've implemented this rather crudely by adding a canvas on top of my map. Whilst this "works", it's far from efficient. It also makes interaction with the map very difficult, as panning/zooming/etc would just be a nightmare.
Furthermore, the idea of using particles to show the wind practically begs for a webGL implementation. So I've been looking at the shaders and the various drawXXX painters. This would obviously be a very custom fork of that code, but I was wondering if you think this is the right place to look for adding this?
Ie does it make sense to add a new drawer that (if possible??) uses the accumulation buffer to achieve nice particle trails?
Here's an example of my current canvas based solution:
http://savvy-navvy.com/s/images/wind.mp4
The text was updated successfully, but these errors were encountered: