Changeset 393 for experimental/distortionNG/main.cpp
- Timestamp:
- Jun 30, 2012, 7:44:12 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/main.cpp
r392 r393 99 99 "./resources/ProjectSyntropy/blending_1.bmp", 100 100 "./resources/ProjectSyntropy/Vertices/frustum_1.csv", 101 DistortionSetupStrategy:: VERTEXDISTORTION );101 DistortionSetupStrategy::TEXCOORDDISTORTION ); 102 102 distortionManip->setDistortionSetupStrategy( psStrategy ); 103 103 viewer.addEventHandler(distortionManip); … … 129 129 // load the nodes from the commandline arguments. 130 130 osg::Node* rootnode = osgDB::readNodeFiles(arguments); 131 osgDB::Registry::instance()->getDataFilePathList().push_front("H:/AllInOnDB"); 131 132 132 133 if (!rootnode) 133 134 { 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"); 136 136 if(!rootnode) 137 137 {
Note: See TracChangeset
for help on using the changeset viewer.