ubuntu18.04上创建box模型节点
osg::ref_ptr<osg::Geode> createBox()
{
osg::ref_ptr<osg::Geode> geode = new osg::Geode;
osg::ref_ptr<osg::TessellationHints> hints = new osg::TessellationHints;
osg::ref_ptr<osg::ShapeDrawable> shape= new osg::ShapeDrawable(new osg::Box(osg::Vec3(0.0,0.0,0.0),1.0,2.0,3.0),hints.get(