30ba3609_examples__d_the_osgviewer_documentation_
[osgviewer cow.osg] osgscribe.cow.osg
An example of how to decorate your scene graph geometry for useful effects such as scribing. This demo uses two instances of your model, the first one uses the state values set in your scene graph, the second instance override the polygmode to render it as wireframe, and with a polygon offset to ensure it is seen from all angles. These two instance are grouped together and then are treated like any other scene graph.
examples
The scene graph viewer demo uses osgProducer::Viewer to bring up a basic viewer. To find out what command line arguments it takes simply run osgviewer without any arguments. To load a model simple run osgviewer filename.ext. The osgProducer::Viewer provides an extensive set of operations that can be used to display information about the loaded database such as performance stats, through to output a snapshot of the screen, which is how these thumbnails were created. For a full list of key presses and mouse interaction read the osgviewer documentation.