5cd4faf05b
The attached changes are against OpenSceneGraph 2.8.2. //Sample program. Run against an osgEarth or VPB database based on osgTerrain. #include <osgDB/ReadFile> #include <osgViewer/Viewer> int main(int argc, char** argv) { osg::ArgumentParser arguments(&argc,argv); osgViewer::Viewer* viewer = new osgViewer::Viewer(); viewer->setUpViewInWindow(100, 100,500,500); osg::ref_ptr<osg::Node> loadedModel = osgDB::readNodeFiles(arguments); viewer->setSceneData( loadedModel.get() ); viewer->run(); delete viewer; viewer = new osgViewer::Viewer(); viewer->setUpViewInWindow(100,100,500,500); loadedModel = osgDB::readNodeFiles(arguments); viewer->setSceneData( loadedModel.get() ); viewer->run(); delete viewer; }" |
||
---|---|---|
.. | ||
Export | ||
GeometryTechnique | ||
Layer | ||
Locator | ||
Terrain | ||
TerrainTechnique | ||
TerrainTile | ||
ValidDataOperator | ||
Version |