Changeset 370 for experimental/distortionNG/main.cpp
- Timestamp:
- Jun 1, 2012, 6:11:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/main.cpp
r369 r370 58 58 // ---- test plugin read / write 59 59 60 //osgDB::writeObjectFile( *_distortionSet, " testcont.dist" );60 //osgDB::writeObjectFile( *_distortionSet, "distortionset.dist" ); 61 61 _distortionSet = NULL; 62 _distortionSet = dynamic_cast<osgViewer::DistortionSet*>( osgDB::readObjectFile( " testcont.dist" ) );62 _distortionSet = dynamic_cast<osgViewer::DistortionSet*>( osgDB::readObjectFile( "distortionset.dist" ) ); 63 63 64 64 … … 164 164 * Ensures the Coordinates are normalized before saving the container. 165 165 * Load: 166 * * use serializerto load container166 * [done] * use ReaderWriterOSG2 to load container 167 167 * * invoke osgViewer::setUpViewForManualDistortion(distSet, screenNum, projectorMatrix) to set up distortion 168 168 * Save: 169 169 * * check if container is normalized. if not, copy and normalize container 170 * * use serializerto save container170 * [done] * use ReaderWriterOSG2 to save container 171 171 * 172 172 *
Note: See TracChangeset
for help on using the changeset viewer.