Ignore:
Timestamp:
Jun 30, 2012, 8:56:16 PM (12 years ago)
Author:
Torben Dannhauer
Message:

vertex- and texcoord warping works now :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/DistortionSetupStrategyProjectSyntropy.h

    r383 r394  
    3535        ~DistortionSetupStrategyProjectSyntropy();
    3636        void delegateDistortionSetup(osgViewer::DistortionSet* distortionSet);
    37         void setDistortionInputFiles( std::string vertexDistortionFile, std::string texCoordDistortionFile, std::string blendmapFile, std::string frustumFile, DistortionSetupStrategy::distortionType type);
     37        void setDistortionInputFiles(std::string distortionFile, std::string blendmapFile, std::string frustumFile);
    3838private:
    3939        //Functions related to CSV-File-Reading
    4040        int readFrustumFromCSVFile(std::string filePath, int numValues, float* frustumValues);
    4141        int readMeshDimensionsFromCSVFile(std::string filePath, int* meshRows, int* meshColumns);
    42         int readMeshPointsFromCSVFile(std::string filePath, osg::Vec2Array* tmpMesh);
     42        int readMeshPointsFromCSVFile(std::string filePath, osg::Vec4Array* tmpMesh);
    4343
    4444        bool _distortionInitialized;                            //Is Distortion already initialized?
    45         DistortionSetupStrategy::distortionType _distortionType; //might be VERTEXDISTORTION, TEXCOORDDISTORTION, COMBINEDDISTORTION or UNDEFINED...
    4645        std::string _blendmapFilename;
    4746        std::string _frustumFilename;
    48         std::string _vertexDistortionFilename;
    49         std::string _texCoordDistortionFilename;
    50 
     47        std::string _distortionFilename;
    5148};
Note: See TracChangeset for help on using the changeset viewer.