回顾一下,经过各种初始化,gdal, curl客户端,shader,state,是否用memCache,通过各种osgDB::Options的过滤,网络还是本地文件,等等。终于读取了.earth文件,开始向readNode进行。
接下来用tinyxml加载,这里用osgEarth包装了一层。
剩下的都是tinyxml的相关内容了,没必要在这里面花时间了。直奔主题。
终于到osg::Node节点了
然后反序列化成osg::Node*
扩展dll在这里都是空的,继续向下
回顾一下,经过各种初始化,gdal, curl客户端,shader,state,是否用memCache,通过各种osgDB::Options的过滤,网络还是本地文件,等等。终于读取了.earth文件,开始向readNode进行。
接下来用tinyxml加载,这里用osgEarth包装了一层。
剩下的都是tinyxml的相关内容了,没必要在这里面花时间了。直奔主题。
终于到osg::Node节点了
然后反序列化成osg::Node*
扩展dll在这里都是空的,继续向下