Ignore:
Timestamp:
Apr 22, 2012, 4:51:35 PM (12 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/main.cpp

    r360 r361  
    5656        viewer.setUpViewForManualDistortion(_distortionSet, 0);
    5757   
    58         //viewer.setUpIntensityMapBlending("intensitymap.png");
    5958
    6059        // set up the camera manipulators.
     
    8887    // add the state manipulator
    8988    viewer.addEventHandler( new osgGA::StateSetManipulator(viewer.getCamera()->getOrCreateStateSet()) );
    90 
     89        //viewer.addEventHandler( new osgGA::StateSetManipulator);
     90       
    9191    // add the stats handler
    9292    viewer.addEventHandler(new osgViewer::StatsHandler);
     
    118118                if(!rootnode)
    119119                {
    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;
    121121                        return 1;
    122122                }
    123123    }
    124         viewer.setSceneData( rootnode );
    125        
     124
    126125        // run the viewers main loop
    127126        return viewer.run();
     
    150149 * modul                                                                Funktionen / Description
    151150 *
    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|x
    153  *
     151 * [postponed] plugin .dist                             load / Save distContainers                                      loads and saves via serializers the distortion container from/to file.
     152 *  
    154153 *
    155154 * [done] Distortion Container                                  Beinhaltet die folgenden Distortion Details:
     
    174173 * distortionManipulator                                abgeleitet von osgGA::GUIEventHandler
    175174 *                                                                              Grundfunktionen:
    176  *                                                      [done|.|.]      - Key to Show Distortion Mesh / Intensity Map / none
     175 *                                                      [done        - Key to Show Distortion Mesh / Intensity Map / none
    177176 *                                                                              - Key to Save distortion Container  - via plugin
    178177 *                                                      [.]             - Key to toggle MANUAL mode between blending und distortion setup
     
    199198 * speichern des containers in ein .dist file
    200199 * Laden des Containers.
    201  * osgviewer setup fit machen: simple distortion ( nur rows, colums und optional blendmap ist angegeben
    202  * shaderwechsel funktioniert, so dass die reine blendmap angezeigt werden kann.
    203200 * reset distortion funktioniert.
    204201 * statesetmanipulator muss auf die scene, nicht auf mesh losgehen.
Note: See TracChangeset for help on using the changeset viewer.