|
楼主 |
发表于 2010-12-10 13:17:28
|
显示全部楼层
在options里面不要有OPTIMIZE_TEXTURE_SETTINGS
意思是去掉源代码中的- if (options & OPTIMIZE_TEXTURE_SETTINGS)
- {
- osg::notify(osg::INFO)<<"Optimizer::optimize() doing OPTIMIZE_TEXTURE_SETTINGS"<<std::endl;
- TextureVisitor tv(true,true, // unref image
- false,false, // client storage
- false,1.0, // anisotropic filtering
- this );
- node->accept(tv);
- }
复制代码 ,是这样的吗,这个要怎么设置? |
|