Changeset 164
- Timestamp:
- Nov 24, 2010, 9:46:41 PM (14 years ago)
- Location:
- experimental/TerrainTest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/TerrainTest/myTerrainTechnique.h
r163 r164 11 11 12 12 /** Copy constructor using CopyOp to manage deep vs shallow copy.*/ 13 myTerrainTechnique(const TerrainTechnique&,const osg::CopyOp& copyop=osg::CopyOp:: DEEP_COPY_ALL);13 myTerrainTechnique(const TerrainTechnique&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY); 14 14 15 15 META_Object(osgTerrain, myTerrainTechnique); -
experimental/TerrainTest/osgterrain.cpp
r163 r164 217 217 218 218 // Manually set the terrain technque for a tile ( his example, the first found tile) works, but then the whole database has to be processed 219 /*osgTerrain::TerrainTile* tile = findTopMostNodeOfType<osgTerrain::TerrainTile>(rootnode);219 osgTerrain::TerrainTile* tile = findTopMostNodeOfType<osgTerrain::TerrainTile>(rootnode); 220 220 if(tile) 221 221 { 222 222 tile->setTerrainTechnique( myT ); 223 } */223 } 224 224 225 225 // register our custom handler for adjust Terrain settings
Note: See TracChangeset
for help on using the changeset viewer.