30ba3609_examples__d_the_osgviewer_documentation_
[osgviewer cow.osg] osgimpostor Town.osg
OpenSceneGraph is unique among scene graph in the fact that it supports dynamically updated impostors natively, and this demo uses osgUtil::InsertImpostorVisitor to traverse the loaded scene graph inserting osg::Importor nodes in place of groups and LOD, so you can add Impostor into any of your own datasets! The scene graph then takes over full responsibility for managing required multistage rendering all dynamically at runtime, whilst keeping it neatly encapsulated making it incredible easy to use. The Impostor support demonstrates how powerful the multi-stage multi-pass rendering framework that the OpenSceneGraph has, almost all other scene graphs have to hardwire such effects into them and require significant application coding to do so.
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.