Scene graph viewer

Index | Introduction | Contents | Install | Dependencies | Demos | Data | Viewer | Stereo | Plan | Reference Guides

## osgProducer::Viewer / Scene Graph Viewer (osgviewer) keyboard bindings:

Key | Binding
'1' | Select the trackball camera manipulator. Left mouse button - rotate, Middle (or Left & Right) mouse button - pan, Right mouse button - zoom.
'2' | Select the flight camera manipulator. Left mouse button - speed up, Middle (or Left & Right) mouse button - stop, Right mouse button - slow down, reverse. Move mouse left to roll left, right to roll right. Move mouse back (down) to pitch nose up, forward to pitch down. In mode Q, the default, selected by pressing 'q' The flight path is yawed automatically into the turn to produce a similar effect as flying an aircaft. In mode A, selected by pressing 'a' The flight path is not yawed automatically into the turn, producing a similar effect as space/marine flight.
'3' | Select the drive camera manipulator. In mode Q, the default, selected by pressing 'q' Move mouse left to turn left, right to turn right. Move mouse back (down) to reverse, forward to drive forward. In mode A, selected by pressing 'a' Move mouse left to turn left, right to turn right. Left mouse button - speed up, Middle (or Left & Right) mouse button - stop, Right mouse button - slow down, reverse.
'+' | Half the frame delay which speeds up the frame rate on Linux and Windows.
'-' | Double the frame delay and therefore reduce the frame rate on Linux and Windows.
'/' | Divide the Level-Of-Detail (LOD) bias by 1.5, to encourage the selection of more complex LOD children.
'*' | Multiple the Level-of-Detail (LOD) bias by 1.5, to encourage the selection of less complex LOD children.

'c' | Toggle Small Feature Culling on or off.
'C' | Toggle View Frustum Culling on or off.
'd' | Toggle use of OpenGL's display lists.
'b' | Toggle OpenGL's backface culling.
't' | Toggle OpenGL texturing on or off.
'T' | Toggle OpenGL two-sided lighting on or off.
'l' | Toggle OpenGL lighting on or off.
'L' | Toggle SceneView lighting mode between HEADLIGHT, SKY_LIGHT and NO_SCENEVIEW_LIGHT.
's' | Toggle OpenGL shade model between flat and smooth shading.
'w' | Toggle OpenGL polygon mode between solid, wireframe and points modes.
'i' | Calculate and report the intersections with the scene under thecurrent mouse x and mouse y position.
'r' | Calculate and report the intersections with the scene under the currentmouse x and mouse y position and delete the nearest interesected geoset.
'p' | Print frame rate statistics on each frame.
'o' | Output the loaded scene to 'saved_model.osg'.
'O' | Snap a screen shot image and write it out 'screenshot.bmp'.
'?'/'h' | Print out osgviewer's keyboard bindings.
'f' | Toggle between fullscreen and the previous window size. Note Producer fullscreen works properly on Windows and Irix, but on Linux it just maximizes the window and leaves the window's borders.
Space | Reset scene to the default view.
Esc | Exit osgviewer.