摘要: osg::ref_ptr OSG_Qt_::createBox() { osg::ref_ptr osg_geode = new osg::Geode; osg::ref_ptr osg_hints = new osg::TessellationHints; osg::ref_ptr osg_box = new osg::Box(osg::Vec3(0.0, 0.0, 0... 阅读全文
posted @ 2019-06-22 21:39 西北逍遥 阅读(300) 评论(0) 推荐(0) 编辑
摘要: osg::ref_ptr MyOSGLoadEarth::CreateNode() { osg::ref_ptr _root = new osg::Group; //定义并读取高程文件 //真实高程文件名称为:ASTGTM2_N34E110_dem.tif //属于特殊的tiff格式,GEOTiff //读取的时候使用osg的gdal插件进行读取,所以... 阅读全文
posted @ 2019-06-22 19:23 西北逍遥 阅读(441) 评论(0) 推荐(0) 编辑