摘要:
From韶华百世的新浪博客注意,在earthManip->setViewpoint()之前,要先v->setCameraManipulator(earthManip);在使用osgEarth中的EarthManipulator,通过setViewpoint设置视点:1.osg::ref_ptr<osgEarth::Util::EarthManipulator> manip = new osgEarth::Util::EarthManipulator;2.manip->setViewpoint( osgEarth::Util::Viewpoint( 108.0f, 阅读全文