Ignore:
Timestamp:
Jun 13, 2012, 9:18:04 PM (12 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/main.cpp

    r374 r376  
    9494        // Add the distortion manipulator
    9595        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 );
    97103        viewer.addEventHandler(distortionManip);
    98104
Note: See TracChangeset for help on using the changeset viewer.