Ignore:
Timestamp:
Jun 30, 2012, 7:44:12 PM (12 years ago)
Author:
Torben Dannhauer
Message:

ProjectSyntropy? Distortion works! It a alpha version, some bugs are still not hunted down.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/main.cpp

    r392 r393  
    9999                                                                                "./resources/ProjectSyntropy/blending_1.bmp",
    100100                                                                                "./resources/ProjectSyntropy/Vertices/frustum_1.csv",
    101                                                                                 DistortionSetupStrategy::VERTEXDISTORTION );
     101                                                                                DistortionSetupStrategy::TEXCOORDDISTORTION );
    102102        distortionManip->setDistortionSetupStrategy( psStrategy );
    103103        viewer.addEventHandler(distortionManip);
     
    129129    // load the nodes from the commandline arguments.
    130130    osg::Node* rootnode = osgDB::readNodeFiles(arguments);
     131        osgDB::Registry::instance()->getDataFilePathList().push_front("H:/AllInOnDB");
    131132
    132133    if (!rootnode)
    133134    {
    134                 //osgDB::Registry::instance()->getDataFilePathList().push_front("H:/AllInOnDB");
    135                 rootnode = osgDB::readNodeFile("resources/TestSphere/sphere_500.obj");
     135                rootnode = osgDB::readNodeFile("D:/osgVisual/experimental/distortionNG/resources/TestSphere/sphere_500.obj");
    136136                if(!rootnode)
    137137                {
Note: See TracChangeset for help on using the changeset viewer.