Scroll to navigation

OSGVIEWER(1) User Commands OSGVIEWER(1)

NAME

osgviewer - 3D viewer for multiple file formats.

SYNOPSIS

osgviewer [options] filename ...

OPTIONS

DO_NOT_COMPUTE_NEAR_FAR | COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES | COMPUTE_NEAR_FAR_USING_PRIMITIVES
Select CullDrawThreadPerContext threading model for viewer.
Select CullThreadPerCameraDrawThreadPerContext threading model for viewer.
Select DrawThreadPerContext threading model for viewer.
Set the ratio between near and far planes - must greater than 0.0 but less than 1.0.
Select SingleThreaded threading model for viewer.
Request a rgb accumulator buffer visual
Request a rgb accumulator buffer visual
Set the position (x,y) and size (w,h) of a borderless viewer window.
Request use of compile contexts and threads
Set the background color of the viewer in the form "r,g,b[,a]".
Load an image/DEM and render it on a HeightField
add named device to the viewer
MONITOR | POWERWALL | REALITY_CENTER | HEAD_MOUNTED_DISPLAY
Enable caching of objects, images, etc.
creating graphics contexts.
Set the hint of which GL context profile mask to use when creating graphics contexts.
Set the hint of which GL version to use when creating graphics contexts.
Display all command line, env vars and keyboard & mouse bindings.
Display environmental variables available
Display keyboard & mouse bindings available
Load an image and render it on a quad
OFF | DEFAULT | [~]COLOR | [~]DEPTH | [~]STENCIL. Substitute missing buffer attachments for render FBO
OFF | DEFAULT | [~]COLOR | [~]DEPTH | [~]STENCIL. Substitute missing buffer attachments for resolve FBO
Specify a keystone file to be used by the viewer for keystone correction.
Set the keystone hint to false.
Set the keystone hint to true to tell the viewer to do keystone correction.
Provide authentication information for http file access.
Set the menubar behavior (AUTO_HIDE | FORCE_HIDE | FORCE_SHOW)
Request a RGBA color buffer visual
Set the run methods frame rate management to rendering frames continuously.
Set the run methods maximum permissible frame rate, 0.0 is default and switching off frame rate capping.
Set the run methods frame rate management to only rendering frames when required.
Request a multisample visual
Set the screen to use when multiple screens are present.
OFF | ON - set the serialization of draw dispatch
Speed factor for animation playing (1 == normal speed).
print out load and compile timing stats
Request a stencil buffer visual
Use default stereo mode which is ANAGLYPHIC if not overridden by environmental variable
ANAGLYPHIC | QUAD_BUFFER | HORIZONTAL_SPLIT | VERTICAL_SPLIT | LEFT_EYE | RIGHT_EYE | HORIZONTAL_INTERLACE | VERTICAL_INTERLACE | CHECKERBOARD | ON | OFF
DEFAULT | EXCHANGE | COPY | UNDEFINED. Select preferred swap method.
Enable sync of swap buffers
Set the position (x,y) and size (w,h) of the viewer window.
Provide an option string to reader/writers used to load databases
Load the plugin associated with handling files with specified extension
Display command line parameters
Load the plugin
Play specified camera path animation file, previously saved with 'z' key.
September 2019 OpenSceneGraph