- Timestamp:
- 04/11/08 16:14:28 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgsimulation/osgsimulation.cpp
r7960 r8087 293 293 while (arguments.read("--persp") || arguments.read("--perspective")) technique = osgSim::OverlayNode::VIEW_DEPENDENT_WITH_PERSPECTIVE_OVERLAY; 294 294 295 unsigned int overlayTextureUnit = 1; 296 while (arguments.read("--unit", overlayTextureUnit)) {} 297 295 298 std::string pathfile; 296 299 while (arguments.read("-p",pathfile)) {} … … 343 346 overlayNode->setOverlaySubgraph(shapefile.get()); 344 347 overlayNode->setOverlayTextureSizeHint(1024); 348 overlayNode->setOverlayTextureUnit(overlayTextureUnit); 345 349 346 350 // insert the OverlayNode between the coordinate system node and its children.
