.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.11. .TH OSGVIEWER "1" "September 2019" "OpenSceneGraph" "User Commands" .SH NAME osgviewer \- 3D viewer for multiple file formats. .SH SYNOPSIS .B osgviewer [\fI\,options\/\fR] \fI\,filename \/\fR... .SH OPTIONS .TP \fB\-\-COMPUTE_NEAR_FAR_MODE\fR DO_NOT_COMPUTE_NEAR_FAR | COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES | COMPUTE_NEAR_FAR_USING_PRIMITIVES .TP \fB\-\-CullDrawThreadPerContext\fR Select CullDrawThreadPerContext threading model for viewer. .TP \fB\-\-CullThreadPerCameraDrawThreadPerContext\fR Select CullThreadPerCameraDrawThreadPerContext threading model for viewer. .TP \fB\-\-DrawThreadPerContext\fR Select DrawThreadPerContext threading model for viewer. .TP \fB\-\-NEAR_FAR_RATIO\fR Set the ratio between near and far planes \- must greater than 0.0 but less than 1.0. .TP \fB\-\-SingleThreaded\fR Select SingleThreaded threading model for viewer. .TP \fB\-\-accum\-rgb\fR Request a rgb accumulator buffer visual .TP \fB\-\-accum\-rgba\fR Request a rgb accumulator buffer visual .TP \fB\-\-borderless\-window\fR Set the position (x,y) and size (w,h) of a borderless viewer window. .TP \fB\-\-cc\fR Request use of compile contexts and threads .TP \fB\-\-clear\-color\fR Set the background color of the viewer in the form "r,g,b[,a]". .TP \fB\-\-dem\fR Load an image/DEM and render it on a HeightField .TP \fB\-\-device\fR add named device to the viewer .TP \fB\-\-display\fR MONITOR | POWERWALL | REALITY_CENTER | HEAD_MOUNTED_DISPLAY .TP \fB\-\-enable\-object\-cache\fR Enable caching of objects, images, etc. .TP \fB\-\-gl\-flags\fR Set the hint of which GL flags projfile mask to use when creating graphics contexts. .TP \fB\-\-gl\-profile\-mask\fR Set the hint of which GL context profile mask to use when creating graphics contexts. .TP \fB\-\-gl\-version\fR Set the hint of which GL version to use when creating graphics contexts. .TP \fB\-\-help\-all\fR Display all command line, env vars and keyboard & mouse bindings. .TP \fB\-\-help\-env\fR Display environmental variables available .TP \fB\-\-help\-keys\fR Display keyboard & mouse bindings available .TP \fB\-\-image\fR Load an image and render it on a quad .TP \fB\-\-implicit\-buffer\-attachment\-render\-mask\fR OFF | DEFAULT | [~]COLOR | [~]DEPTH | [~]STENCIL. Substitute missing buffer attachments for render FBO .TP \fB\-\-implicit\-buffer\-attachment\-resolve\-mask\fR OFF | DEFAULT | [~]COLOR | [~]DEPTH | [~]STENCIL. Substitute missing buffer attachments for resolve FBO .TP \fB\-\-keystone\fR Specify a keystone file to be used by the viewer for keystone correction. .TP \fB\-\-keystone\-off\fR Set the keystone hint to false. .TP \fB\-\-keystone\-on\fR Set the keystone hint to true to tell the viewer to do keystone correction. .TP \fB\-\-login\fR Provide authentication information for http file access. .TP \fB\-\-menubar\-behavior\fR Set the menubar behavior (AUTO_HIDE | FORCE_HIDE | FORCE_SHOW) .TP \fB\-\-rgba\fR Request a RGBA color buffer visual .TP \fB\-\-run\-continuous\fR Set the run methods frame rate management to rendering frames continuously. .TP \fB\-\-run\-max\-frame\-rate\fR Set the run methods maximum permissible frame rate, 0.0 is default and switching off frame rate capping. .TP \fB\-\-run\-on\-demand\fR Set the run methods frame rate management to only rendering frames when required. .TP \fB\-\-samples\fR Request a multisample visual .TP \fB\-\-screen\fR Set the screen to use when multiple screens are present. .TP \fB\-\-serialize\-draw\fR OFF | ON \- set the serialization of draw dispatch .TP \fB\-\-speed\fR Speed factor for animation playing (1 == normal speed). .TP \fB\-\-stats\fR print out load and compile timing stats .TP \fB\-\-stencil\fR Request a stencil buffer visual .TP \fB\-\-stereo\fR Use default stereo mode which is ANAGLYPHIC if not overridden by environmental variable .TP \fB\-\-stereo\fR ANAGLYPHIC | QUAD_BUFFER | HORIZONTAL_SPLIT | VERTICAL_SPLIT | LEFT_EYE | RIGHT_EYE | HORIZONTAL_INTERLACE | VERTICAL_INTERLACE | CHECKERBOARD | ON | OFF .TP \fB\-\-swap\-method\fR DEFAULT | EXCHANGE | COPY | UNDEFINED. Select preferred swap method. .TP \fB\-\-sync\fR Enable sync of swap buffers .TP \fB\-\-window\fR Set the position (x,y) and size (w,h) of the viewer window. .TP \fB\-O\fR Provide an option string to reader/writers used to load databases .TP \fB\-e\fR Load the plugin associated with handling files with specified extension .TP \fB\-h\fR or \fB\-\-help\fR Display command line parameters .TP \fB\-l\fR Load the plugin .TP \fB\-p\fR Play specified camera path animation file, previously saved with 'z' key.