[osg-users] questions about developing drivers for osg/osgEarth

Chris Hanson xenon at alphapixel.com
Thu Sep 19 08:28:34 PDT 2019


Ok. That helps a lot. Thanks.

So, I theorize that you are loading a 2d vector field as a data layer, that
represents the 2D wind velocity vector at every data grid point covering
the area, and then you use some kind of shader to display that as a
colorfield and displays the moving flow lines? And then you update the 2d
vector map periodically to represent the current data?

If that's the case, it sounds like you're just needing to load a
conventional two-channel 2D image and do all the display work in shaders.
That doesn't sound like how you're doing it though?


There's nothing at all that is file-specific about osgEarth, its drivers or
its data sources. Many of the drivers talk to network-based data sources
without accessing local files, so those shouldn't be an issue.

Glenn can probably comment better on how to best make a driver that updates
itself periodically or on cue, but you ought to be able to just poll every
30 seconds or so and see if a data is available and refresh it somehow.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190919/9685f6cb/attachment.html>


More information about the osg-users mailing list