Changeset 376 for experimental/distortionNG/main.cpp
- Timestamp:
- Jun 13, 2012, 9:18:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/main.cpp
r374 r376 94 94 // Add the distortion manipulator 95 95 osgViewer::DistortionManipulator* distortionManip = new osgViewer::DistortionManipulator(_distortionSet); 96 distortionManip->setDistortionSetupStrategy( new DistortionSetupStrategyProjectSyntropy() ); 96 97 DistortionSetupStrategyProjectSyntropy* psStrategy = new DistortionSetupStrategyProjectSyntropy(); 98 psStrategy->setDistortionInputFiles( "./resources/ProjectSyntropy/Vertices/warpmap_1.csv", 99 "./resources/ProjectSyntropy/blending_1.bmp", 100 "./resources/ProjectSyntropy/Vertices/frustum_1.csv", 101 DistortionSetupStrategy::VERTEXDISTORTION ); 102 distortionManip->setDistortionSetupStrategy( psStrategy ); 97 103 viewer.addEventHandler(distortionManip); 98 104
Note: See TracChangeset
for help on using the changeset viewer.