摘要: /***********************************************************Write by FlySky*zzuxp@163.com http://www.OsgChina.org***********************************... 阅读全文
posted @ 2017-06-28 20:43 huahai 阅读(801) 评论(0) 推荐(0)
摘要: #include#include#include#include#include#include#include#includeint main(){ //创建Viewer对象,场景浏览器 osg::ref_ptr viewer = new osgViewer::Viewer(); //创建场景组节... 阅读全文
posted @ 2017-06-28 19:30 huahai 阅读(443) 评论(0) 推荐(0)
摘要: osg::PositionAttitudeTransform节点。#include #include #include #include #include #include #include #include int main(){ //创建Viewer对象,场景浏览器 osg::ref_ptr ... 阅读全文
posted @ 2017-06-28 10:18 huahai 阅读(1053) 评论(0) 推荐(0)
摘要: 需要添加lib或者dll库。项目-属性-配置属性-链接器-输入-附件依赖项,添加需要的lib。例如我在运行OSG程序的时候,忘记添加了附件依赖项就会报这个错。解决方案如图。 阅读全文
posted @ 2017-06-28 10:10 huahai 阅读(532) 评论(0) 推荐(0)