摘要: 1、将osg::Image转换成osg::HeightFieldsrc\osgEarth\ImageToHeighFieldConvter例子:ImageToHeighFieldConvter conv;osg::Image* image = osgDB::readImageFile("img.tif");osg::HeightField* hf = conv.convert( image );2、下面这个函数是夹在一张高程图片,再贴上纹理osg::Node* createHeightField(std::string heightFile, std::string tex 阅读全文
posted @ 2013-06-09 11:48 酷熊 阅读(1277) 评论(0) 推荐(0) 编辑
摘要: 直接安装在win7下安装oracle 10g ,提示程序异常终止,发生未知错误。解决办法:在setup上右键,属性->兼容性->以兼容模式运行这个程序 windows xp( service pack 3),然后右键选择“以管理员身份运行”。 阅读全文
posted @ 2013-06-09 10:34 酷熊 阅读(136) 评论(0) 推荐(0) 编辑