Changeset 371 for experimental/distortionNG/main.cpp
- Timestamp:
- Jun 1, 2012, 9:23:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/main.cpp
r370 r371 57 57 58 58 // ---- test plugin read / write 59 60 59 //osgDB::writeObjectFile( *_distortionSet, "distortionset.dist" ); 61 60 _distortionSet = NULL; 62 61 _distortionSet = dynamic_cast<osgViewer::DistortionSet*>( osgDB::readObjectFile( "distortionset.dist" ) ); 63 64 65 62 // ------------ Test ende ----------- 66 63 … … 198 195 * Grundfunktionen: 199 196 * [done] - Key to Show Distortion Mesh / Intensity Map / none 200 * 201 * [.] - Key to toggle MANUAL mode between blending und distortion setup197 * [done] - Key to Save distortion Container - via osgDB::writeObjectFile(const osg::Object& object, const std::string& filename, const Options* options). osgDB & registry determines and loads the approriate plugin bythe file ending (.dist). 198 * [.] - Key to toggle MANUAL mode between blending und distortion setup 202 199 * [done] - Key to toggle distortion setup: 203 200 * DISABLED distortion/blending modifications are forbidden (ggfs. beim Verlassen von DISABLED ggf. auf singleThreaded wechseln und beim aktivieren von DISABLED wieder auf das alte threadingmodel. Alternativ die data variance des meshes/Blendmap beeinflussen) … … 221 218 * 222 219 * Plugin fertigstellen 223 * save funktion des manipulators via osgDB::writeObjectFile fertig stellen224 220 * extViewer::setUpViewForManualDistortion(std::string distFile) 225 221 * Load Funktion vom osgViewer (ersatzweise Anfangs in der main.cpp) fertigstellen : -dist <distFile> weiterreichen and extViewer::setUpViewForManualDistortion(std::string distFile)
Note: See TracChangeset
for help on using the changeset viewer.