全部博文(51)
发布时间:2015-12-04 15:15:21
sphereShape = new osg::Sphere(center, radius);//textureosg::ref_ptr<osg::Image> image = osgDB::readImageFile(filePath);if (!image.get()){std::cout<<"open file is failed!"<<std::endl;return NULL;}osg::ref_ptr<osg::Texture2D> texture = new osg::Texture2D;texture->setDataVariance(osg::Object:.........【阅读全文】