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"); pageLdc1->setRange(0, 0, 2000); viewer1->setSceneData(pageLdc1); viewer1->setUpViewInWindow(200, 200, 800, 600, 0); return viewer1->run(); }
标签:ref,PagedLOD,pageLdc1,ptr,new,viewer1,example,osg 来源: https://www.cnblogs.com/herd/p/11103418.html