Changeset 166


Ignore:
Timestamp:
Nov 25, 2010, 9:37:04 PM (14 years ago)
Author:
Torben Dannhauer
Message:
 
Location:
experimental/TerrainTest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • experimental/TerrainTest/myTerrainTechnique.h

    r165 r166  
    1717        ~myTerrainTechnique(void);
    1818
     19        /** Traverse the terain subgraph.*/
     20    //virtual void traverse(osg::NodeVisitor& nv);
     21
    1922        virtual void update(osgUtil::UpdateVisitor* nv);
    2023};
  • experimental/TerrainTest/myTileLoadedCallback.cpp

    r165 r166  
    2323void myTileLoadedCallback::loaded(osgTerrain::TerrainTile* tile, const osgDB::ReaderWriter::Options* options) const
    2424{
    25         OSG_ALWAYS << "Executing myTileLoadedCallback!" << std::endl;
     25        //OSG_ALWAYS << "Executing myTileLoadedCallback!" << std::endl;
    2626        tile->setTerrainTechnique( new osgTerrain::myTerrainTechnique() );
     27        _terrain->updateTerrainTileOnNextFrame(tile);
    2728}
    2829   
Note: See TracChangeset for help on using the changeset viewer.