Changeset 349 for experimental/distortionNG/extViewer.cpp
- Timestamp:
- Apr 21, 2012, 1:33:14 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/extViewer.cpp
r346 r349 347 347 camera->setCullingMode( mode & (~osg::CullSettings::SMALL_FEATURE_CULLING) ); 348 348 349 // Create DistortionSet 350 _distortionSet = new osgViewer::DistortionSet(); 351 _distortionSet->setIntensityMap( intensityMap ); 352 353 349 354 // Add the distortionHandler 350 addEventHandler(new osgViewer::DistortionManipulator); 355 osgViewer::DistortionManipulator* distManip = new osgViewer::DistortionManipulator(); 356 distManip->setDistortionSet(_distortionSet); 357 addEventHandler(distManip); 351 358 352 359
Note: See TracChangeset
for help on using the changeset viewer.