Ignore:
Timestamp:
Mar 20, 2011, 1:14:16 PM (13 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/TerrainTest/osgterrain.cpp

    r171 r275  
    232232        //terrain->setTerrainTechniquePrototype( myT );
    233233
    234         //// Manually set the terrain technque for a tile ( his example, the first found tile) works, but then the whole database has to be processed
    235         //osgTerrain::TerrainTile* tile = findTopMostNodeOfType<osgTerrain::TerrainTile>(rootnode);
    236         //if(tile)
    237         //{
    238         //      tile->setTerrainTechnique( myT );
    239         //}
    240234
    241235        // Use Tile load Callback
    242         osg::ref_ptr<osgTerrain::myTileLoadedCallback> tlcb = new osgTerrain::myTileLoadedCallback( terrain);
     236        osg::ref_ptr<osgTerrain::myTileLoadedCallback> tlcb = new osgTerrain::myTileLoadedCallback();
    243237        osgTerrain::TerrainTile::setTileLoadedCallback(tlcb);
    244238
Note: See TracChangeset for help on using the changeset viewer.