3DView2 Command Line Parameters
The following command line paramters are available for
3DView2:
Connectivity
-server <ip or host name>
- Specifies a world server to connect to
- default is 127.0.0.1 (i.e. localhost)
- Example: 3dview2 -server myserver.example.org
- Example: 3dview2 -server 192.168.0.23
-port <port number>
- Specifies the port the world server is using
- default is 10001
- Example: 3dview2 -port 80
Appearance
-alwaysontop (true|false)
- Specifies whether the application window should be always on top (i.e. always float above all other top level windows)
- has no effect in fullscreen mode
- default is false
- Example: 3dview2 -alwaysontop true
-fullscreen (true|false)
- Specifies whether the application should go fullscreen rather than open a window
- default is false (i.e. windowed mode)
- Example: 3dview2 -fullscreen true
Quality / Performance
-res <width>x<height>
- Specifies the screen resolution of the 3DView2 application in pixels.
- higher resolutions are slower and use slightly more video memory
- Default is 800x600
- Example: 3dview2 -res 1024x768
-triplebuffering (true|false)
- turns triple buffering on or off
- triple buffering uses two instead of three frame buffers; this can increase performance if vertical synchronization is on
- triple buffering makes no sense if vsync is turned off!
- triple buffering uses more video memory
- Default is false
- Example: 3dview2 -triplebuffering true
-vsync (true|false)
- turns vertical synchronization on or off
- vsync scynchronizes screen buffer flips with the screen refresh; this makes the frame rate smoother and prevents visual artifacts
- vsync limits the frame rate to whatever the display frequency is (not a problem, you cannot see 600fps on a 60Hz display anyway)
- vsync slows the application down somewhat, triple buffering can possibly compensate for that
- Default is true
- Example: 3dview2 -vsync true
-textureresolution <resolution>
- specifies the default texture resolution that the application will use
- valid values are 64, 128, 256, 512 and 1024
- all textures are square, so 64 means 64x64 pixels
- smaller textures use less video memory; your must reduce the texture resolution if your graphics card does not have enough memory
- the application will try to use all textures in the resolution you specified; if a texture is not available in that resolution, the application will try to use the next smaller version that is available; if that fails, it will use the next larger version
- Example: 3dview2 -textureresolution 256
-sound (true|false)
- turns sound on or off
- Default is true
- Example: 3dview2 -soundtrue