osg::ref_ptr<osg::Geode> m_viewPointShape; // 视点球节点
osg::ref_ptr<osg::ShapeDrawable> m_pDrawable;
float radius = 10.8f; // 半径
float height = 1.6f; // 高度
osg::TessellationHints* hints1 = new osg::TessellationHints(); // 精细度
hints1->setDetailRatio(1.1f);
osg::ref_ptr<osg::Sphere> m_pSphere; // osg几何体球
m_pSphere = new osg::Sphere(osg::Vec3(0.0f,0.0f,h),radius);
m_pDrawable = new osg::ShapeDrawable(m_pSphere.get(), hints1);
m_viewPointShape->addDrawable(m_pDrawable.get());
m_pSphere->setCenter(osg::Vec3d(0,0,0)); // 设置位置
m_pDrawable->setColor(osg::Vec4(0,0,0,0));
m_viewPointShape->removeChild(m_pDrawable);
m_viewPointShape->removeChildren(0, m_viewPointShape->getNumChildren());
osg::ref_ptr<osg::Group> m_pRoot; // 根节点
m_pRoot->getOrCreateStateSet()->setMode(GL_LIGHTING,osg::StateAttribute::OFF);