首页 > TAG信息列表 > viewer1

osg绘制圆柱体

osg绘制圆柱体   #include <iostream> #include <osgViewer/Viewer> #include <osg/Node> //#include <osgDB/ReadFile> //#include <osgDB/WriteFile> #include <osgUtil\Optimizer> #include <osg/Geode> #include <osg/Group&

osg绘制圆锥体

osg绘制圆锥体   #include <iostream> #include <osgViewer/Viewer> #include <osg/Node> //#include <osgDB/ReadFile> //#include <osgDB/WriteFile> #include <osgUtil\Optimizer> #include <osg/Geode> #include <osg/Group&

osg绘制球体

osg绘制球体 #include <iostream> #include <osgViewer/Viewer> #include <osg/Node> //#include <osgDB/ReadFile> //#include <osgDB/WriteFile> #include <osgUtil\Optimizer> #include <osg/Geode> #include <osg/Group>

osg绘制胶囊体

osg绘制胶囊体   #include <iostream> #include <osgViewer/Viewer> #include <osg/Node> //#include <osgDB/ReadFile> //#include <osgDB/WriteFile> #include <osgUtil\Optimizer> #include <osg/Geode> #include <osg/Group&

osg::Camera example

  #ifdef _WIN32#include <Windows.h>#endif // _WIN32#include<iostream>#include <osgViewer/Viewer>#include <osgViewer/ViewerEventHandlers> #include <osgViewer/CompositeViewer> #include <osgDB/ReadFile>#include <osg/Ge

osg::PagedLOD example

int main(){ osg::ref_ptr<osgViewer::Viewer> viewer1 = new osgViewer::Viewer; osg::ref_ptr<osg::PagedLOD> pageLdc1 = new osg::PagedLOD; pageLdc1->setFileName(0, "D:\\参考手册\\BIM\\osg\\library.OSGB"); pageL