C
Viewer: Command Line Usage
The Qt 3D Studio Viewer supports launching a specific presentation and generating image sequences using command line arguments.
Usage
Qt3DViewer [options] [presentation file]
The following command line options are supported:
Option | Description |
---|---|
-?, -h, --help | Displays help for command line usage. |
--sequence | Generates an image sequence. The presentation file argument must be specified. Specifying any of the seq-* options implies setting this option. |
--seq-start <ms> | Start time of the sequence in milliseconds. The default value is 0 . |
--seq-end <ms> | End time of the sequence in milliseconds. The default value is 1000 . |
--seq-fps <fps> | Frames per second for the sequence. The default value is 60 . |
--seq-interval <ms> | Time interval between frames in the sequence in milliseconds. The seq-fps option is ignored if this option is used. |
--seq-width <pixels> | Width of the image sequence. The default value is 1920 . |
--seq-height <pixels> | Height of the image sequence. The default value is 1080 . |
--seq-outpath <path> | Output path of the image sequence. The default value is the current directory. |
--seq-outfile <file> | Output file name base for the image sequence. The default value is derived from the presentation file name. |
--connect <port> | If this parameter is specified, the viewer is started in connection mode. The default value is 36000 . |
--fullscreen | Starts the viewer in fullscreen mode. |
--maximized | Starts the viewer in maximized mode. |
--windowgeometry <geometry> | Specifies the initial window geometry using the X11-syntax. For example: 1000x800+50+50 |
--mattecolor <color> | Specifies custom matte color using #000000 syntax. For example, white matte: #ffffff |
--showstats | Show render statistics on screen. |
--scalemode <center|fit|fill> | Specifies scaling mode. The default value is center . |
Example
Creating a one minute 4k image sequence of a presentation:
Qt3DViewer --seq-end 60000 --seq-width 3840 --seq-height 2160 MyPresentation.uip
Available under certain Qt licenses.
Find out more.