osgearth-2.10 demo:
说明:
1、运行环境win7 x64 旗舰版,CPU i5-6400 8核,8G内存;
2、括号内是对应demo的测试参数(.earth);
3、配置OSG_FILE_PATH;
4、参数命令行可以查看各个demo需要的输入参数;
5、前缀说明:gui界面程序、cmd控制台程序、non功能未知;
6、程序后括号里的non表示不需要通过命令行输入参数;
示例:
1、gui:osgearth_3pv(simple.earth):相机与地球的投影关系,Range表示相机到鼠标在地球上投影点的距离;
2、gui:osgearth_annotation(annotation.earth):演示各类标注(点、线、面、模型、椭圆、文本、图片等);
3、cmd:osgearth_atlas(--build data\resources\textures_us\catalog.xml):创建地图册,在当前目录下生成catalog_atlas.osgb和catalog_atlas.osgb.xml文件,catalog_atlas.osgb在osgviewer工具加载失败;
4、cmd:osgearth_boundarygen(cow.osg):边界生成,在当前目录生成boundary.txt的边界文件(可通过--out指定输出的路径的文件名);
5、non:osgeaurth_cache():解析带cache的earth文件中的cache list,通过参数--list *.earth文件(未找到带有cache的earth文件);
6、non:osgearth_city(boston.earth):加载显示一个城市三维模型,demo源码中让输入boston.earth文件,但没有加载出来;
7、gui:osgearth_cluster(simple.earth):演示创建集群对象的功能;
8、gui:osgearth_colorfilter(simple.earth --rgb):演示颜色过滤功能;
9、non:osgearth_computerangecallback(simple.ea

最低0.47元/天 解锁文章
1429

被折叠的 条评论
为什么被折叠?



