Changeset 403 for experimental/distortionNG/main.cpp
- Timestamp:
- Jul 22, 2012, 6:11:10 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/main.cpp
r394 r403 38 38 #include "DistortionManipulator.h" 39 39 #include "DistortionSetupStrategyProjectSyntropy.h" 40 #include "PlaceboManipulator.h" 40 41 41 42 int main(int argc, char** argv) … … 73 74 keyswitchManipulator->addMatrixManipulator( '3', "Drive", new osgGA::DriveManipulator() ); 74 75 keyswitchManipulator->addMatrixManipulator( '4', "Terrain", new osgGA::TerrainManipulator() ); 76 keyswitchManipulator->addMatrixManipulator( '5', "Placebo", new osgGA::PlaceboManipulator() ); 75 77 76 78 std::string pathfile; 77 char keyForAnimationPath = ' 5';79 char keyForAnimationPath = '6'; 78 80 while (arguments.read("-p",pathfile)) 79 81 { … … 95 97 96 98 DistortionSetupStrategyProjectSyntropy* psStrategy = new DistortionSetupStrategyProjectSyntropy(); 97 psStrategy->setDistortionInputFiles( "./resources/ProjectSyntropy/Vertices/warpmap_1.csv", 98 //"./resources/ProjectSyntropy/TexCoords/warpmap_1.csv", 99 "./resources/ProjectSyntropy/blending_1.bmp", 100 "./resources/ProjectSyntropy/Vertices/frustum_1.csv" ); 99 psStrategy->setDistortionInputFiles( "./resources/ProjectSyntropy/example2/warpmap_1.csv", 100 "./resources/ProjectSyntropy/example2/blending_1.bmp", 101 "./resources/ProjectSyntropy/example2/frustum_1.csv" ); 101 102 distortionManip->setDistortionSetupStrategy( psStrategy ); 102 103 viewer.addEventHandler(distortionManip);
Note: See TracChangeset
for help on using the changeset viewer.