Changeset 361 for experimental/distortionNG/main.cpp
- Timestamp:
- Apr 22, 2012, 4:51:35 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/main.cpp
r360 r361 56 56 viewer.setUpViewForManualDistortion(_distortionSet, 0); 57 57 58 //viewer.setUpIntensityMapBlending("intensitymap.png");59 58 60 59 // set up the camera manipulators. … … 88 87 // add the state manipulator 89 88 viewer.addEventHandler( new osgGA::StateSetManipulator(viewer.getCamera()->getOrCreateStateSet()) ); 90 89 //viewer.addEventHandler( new osgGA::StateSetManipulator); 90 91 91 // add the stats handler 92 92 viewer.addEventHandler(new osgViewer::StatsHandler); … … 118 118 if(!rootnode) 119 119 { 120 osg::notify(osg::WARN)<<"Warning: no valid data loaded, please specify a database on the command line."<<std::endl;120 OSG_WARN<<"Warning: no valid data loaded, please specify a database on the command line."<<std::endl; 121 121 return 1; 122 122 } 123 123 } 124 viewer.setSceneData( rootnode ); 125 124 126 125 // run the viewers main loop 127 126 return viewer.run(); … … 150 149 * modul Funktionen / Description 151 150 * 152 * [postponed] plugin .dist load / Save distContainers loads and saves via serializers the distortion container from/to file. Can potentially be replaced by a simple extension alias to osgt|b|x153 * 151 * [postponed] plugin .dist load / Save distContainers loads and saves via serializers the distortion container from/to file. 152 * 154 153 * 155 154 * [done] Distortion Container Beinhaltet die folgenden Distortion Details: … … 174 173 * distortionManipulator abgeleitet von osgGA::GUIEventHandler 175 174 * Grundfunktionen: 176 * [done |.|.]- Key to Show Distortion Mesh / Intensity Map / none175 * [done] - Key to Show Distortion Mesh / Intensity Map / none 177 176 * - Key to Save distortion Container - via plugin 178 177 * [.] - Key to toggle MANUAL mode between blending und distortion setup … … 199 198 * speichern des containers in ein .dist file 200 199 * Laden des Containers. 201 * osgviewer setup fit machen: simple distortion ( nur rows, colums und optional blendmap ist angegeben202 * shaderwechsel funktioniert, so dass die reine blendmap angezeigt werden kann.203 200 * reset distortion funktioniert. 204 201 * statesetmanipulator muss auf die scene, nicht auf mesh losgehen.
Note: See TracChangeset
for help on using the changeset viewer.