摘要: 当前位置:osgViewer/Viewer.cpp 第 643行,osgViewer:: Viewer::advance() 好的,现在我们终于正式进入仿真循环当中了,之前的 realize 函数虽然十分重要,但它实际上是循环运行前的准备工作。而从这一日开始介绍的 advance,eventTrav 阅读全文
posted @ 2019-07-02 16:03 西北逍遥 阅读(1286) 评论(0) 推荐(1) 编辑
摘要: #ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #i... 阅读全文
posted @ 2019-07-02 11:06 西北逍遥 阅读(1962) 评论(0) 推荐(0) 编辑
摘要: //获取系统分辨率 osg::GraphicsContext::WindowingSystemInterface *wsInterface = osg::GraphicsContext::getWindowingSystemInterface(); if (!wsInterface) { retur 阅读全文
posted @ 2019-07-02 10:12 西北逍遥 阅读(793) 评论(0) 推荐(0) 编辑