Show
Ignore:
Timestamp:
10/31/08 13:03:44 (5 years ago)
Author:
robert
Message:

Added very basic osgvnc example that uses the LibVNCServer client libries for implementing a vnc client
as an osg::Image with the vnc data stream going to it.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgforest/osgforest.cpp

    r8998 r9082  
    4444 
    4545#include <osgViewer/Viewer> 
     46#include <osgViewer/ViewerEventHandlers> 
     47 
    4648#include <osgGA/StateSetManipulator> 
    4749 
     
    11011103    osg::ref_ptr<ForestTechniqueManager> ttm = new ForestTechniqueManager; 
    11021104     
     1105    // add the stats handler 
     1106    viewer.addEventHandler(new osgViewer::StatsHandler); 
     1107 
    11031108    viewer.addEventHandler(new TechniqueEventHandler(ttm.get())); 
    11041109    viewer.addEventHandler(new osgGA::StateSetManipulator(viewer.getCamera()->getOrCreateStateSet()));