上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 40 下一页
摘要: #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef _DEBUG #pragma comment(lib,"osgd.lib") #pragma comment(li... 阅读全文
posted @ 2017-10-13 19:39 酷熊 阅读(2790) 评论(0) 推荐(0) 编辑
摘要: CMake自带的FindZLIB.cmake只有ZLIB_LIBRARY,而没有ZLIB_LIBRARY_DEBUG 将下面的代码保存成FindZLIB.cmake,替换掉D:\Program Files (x86)\CMake\share\cmake-3.3\Modules\FindZLIB.cm 阅读全文
posted @ 2017-09-24 16:55 酷熊 阅读(1309) 评论(0) 推荐(0) 编辑
摘要: 1、新建一个Unity5.6.2f1工程,导入正版Bluetooth LE for iOS tvOS and Android.unitypackage2、用JD-GUI反编译工具查看unityandroidbluetoothlelib.jar3、将反编译的代码拷贝出来,建立对应的文件目录,4、在Ec 阅读全文
posted @ 2017-09-19 14:53 酷熊 阅读(5957) 评论(1) 推荐(0) 编辑
摘要: void OnGUI() { if (Event.current != null && Event.current.type == EventType.mouseDown) { if (Input.GetMouseButton(0)) { Ray ray = Camera.ma... 阅读全文
posted @ 2017-09-13 12:24 酷熊 阅读(1677) 评论(0) 推荐(0) 编辑
摘要: osg::Node* createPyramidModel() { // create the root node which will hold the model. osg::Group* root = new osg::Group(); // turn off lighting root->getOrCreateStateSet()->setMode(GL... 阅读全文
posted @ 2017-09-07 15:58 酷熊 阅读(1361) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-08-28 15:02 酷熊 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-08-24 12:13 酷熊 阅读(323) 评论(0) 推荐(0) 编辑
摘要: _manip->getSettings()->setTetherMode(osgEarth::Util::EarthManipulator:: TETHER_CENTER ); //设置_manip的绑定节点 _manip->setTetherNode( _manip->getTetherNode() ? 0L : _xform.g... 阅读全文
posted @ 2017-08-23 10:40 酷熊 阅读(1755) 评论(0) 推荐(0) 编辑
摘要: 解压源码,运行bootstrap.bat 新增加b2.exe 打开VS2015命令行 b2 toolset=msvc-14.0 link=static variant=debug,release threading=multi runtime-link=shared --without-python 阅读全文
posted @ 2017-08-21 17:06 酷熊 阅读(134) 评论(0) 推荐(0) 编辑
摘要: ../data/world.tif ../data/world.shp true ... 阅读全文
posted @ 2017-08-16 15:55 酷熊 阅读(839) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 40 下一页