mirro187
mirro187
{ //mask ocean osgEarth::Drivers::GDALOptions layerOpt; layerOpt.url() = osgEarth::URI("E:/shareLIB/ResData/ocean_mask.tif"); ImageLayerOptions imageOpts("ocean_mask", layerOpt); // osg::ref_ptr imageLayer = new osgEarth::ImageLayer(imageOpts); imageLayer->setVisible(false); _mapNode->getMap()->addLayer(imageLayer.get()); } // { osgEarthTriton::TritonOptions tritonOptions; tritonOptions.user() = "my_user_name"; tritonOptions.licenseCode() = "my_license_code";...
1>------ Build started: Project: Ocean, Configuration: Debug Win32 ------ 1>LINK : fatal error LNK1104: cannot open file 'libbz2.dylib.lib'
osg3.6.4& Silverlining Book Edition
~~~~~~~~~~~~~~~~~~~~~~~
pOsgW = new osgQOpenGLWidget; layout = new QGridLayout(this); **layout->setContentsMargins(0,0,0,0)**; layout->addWidget(pOsgW,0,0,100,100); QObject::connect(pOsgW,&osgQOpenGLWidget::initialized,[this] [ ............ return 0; ]);