摘要: osg控制相机移动 viewer->getCameraManipulator()->setHomePosition(_homeEye,_homeCenter,_homeUp); osg::Vec3d _homeEye; osg::Vec3d _homeCenter; osg::Vec3d _home 阅读全文
posted @ 2021-09-27 20:09 西北逍遥 阅读(633) 评论(0) 推荐(0) 编辑
摘要: osg绘制胶囊体 #include <iostream> #include <osgViewer/Viewer> #include <osg/Node> //#include <osgDB/ReadFile> //#include <osgDB/WriteFile> #include <osgUti 阅读全文
posted @ 2021-09-27 08:11 西北逍遥 阅读(105) 评论(0) 推荐(0) 编辑