可视化
kyzy_0018127
这个作者很懒,什么都没留下…
展开
-
【C++】 UV 转 RGB 生成风力图
风力图样式是这样的: 我用的海流的数据,绘制海流的流线,但我的数据是海流的U分量和V分量,做了UV转RG的转换,B为0,代码如下: void UV2RG(float fU, float fV, int &nR, int &nG) { double dPI = 3.1415926; //流向 float direction = (float)((((float)atan2(fU, fV)) * 180 / dPI)); if (direction < 0)..原创 2021-09-07 09:34:31 · 472 阅读 · 0 评论 -
OSGEarth 3.0 平面投影
在.earth文件中,增加或修改<options>节点: <options> <!-- 平面 --> <<profile>plate-carre</profile>> <!-- 缓存 --> <cache type="filesystem"> <path> ./filecache</path> ...原创 2021-05-12 16:50:10 · 689 阅读 · 0 评论 -
OSGEarth 不显示EPSG:900913影像
原因: (1)检查proj.dll这个库,是否存在; (2)检查proj.dll的版本是不是匹配,比如 x64和x86、Debug和Release。 我遇到的问题是proj.dll不存在,再debug下,我放了proj_d.dll,但是影像加载不出来,osg的debug版本依赖的proj.dll。_汗_ ...原创 2021-05-12 16:46:41 · 343 阅读 · 0 评论