Changeset 403 for experimental/distortionNG
- Timestamp:
- Jul 22, 2012, 6:11:10 PM (12 years ago)
- Location:
- experimental/distortionNG
- Files:
-
- 8 added
- 3 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/DistortionManipulator.cpp
r401 r403 84 84 bool DistortionManipulator::handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa, osg::Object* obj, osg::NodeVisitor* nv) 85 85 { 86 87 88 86 switch(ea.getEventType()) 89 87 { -
experimental/distortionNG/distortionNG.vcproj
r392 r403 357 357 > 358 358 </File> 359 <File 360 RelativePath=".\PlaceboManipulator.cpp" 361 > 362 </File> 359 363 </Filter> 360 364 <Filter … … 383 387 > 384 388 </File> 389 <File 390 RelativePath=".\PlaceboManipulator.h" 391 > 392 </File> 385 393 </Filter> 386 394 <Filter -
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.