vpgs

Section: Games and Demos (6)
Updated: January 1995
Index Return to Main Contents
 

NAME

vpgs - a SIRDS viewer for the X Window System, using depth map data  

SYNTAX

vpgs [options] <p?m file>  

DESCRIPTION

Vpgs is an X11 program that displays SIRDSs using data from depth maps saved in the portable pixmap format, .pgm or .ppm.

It takes an .p?m file and optional switches as its command line arguments.  

Options

All these options can be abbreviated to the least letters needed to make the chosen option distinct. The default values are given in parentheses.

-display <display>
sets the X display name. By default it is the local host or that one defined in the environment variable DISPLAY.
-geometry <geometry>
sets the X geometry. Defaults to the depth map size.
-background <b>
sets the background plane at z=b*OY. (-1.0)
-reverse
sets vpgs to cater for crosseyed viewing, by default it caters for wide-eyed viewing.
-enlarge <ef>
specifies the enlargement of depth effect in the final image. (1.0)
-step <XxY>
gives the steps vpgs uses to traverse the depth map, see sisgen(6). (1x1)
-paper <wxh>
specifies the size of array for Postscript output.
-indicoff
turns off indicators in window (used to aid the viewing process).
-zblines <zb>
sets the number of lines that each z-buffer will use, see xpgs(6). (256)
-DENSITY <0-255>
sets the density of black dots in the SIRDS. (127)
-GREY <1,2,4,8>
sets the number of grey-scale bits used in Postscript output. (1)
-help
prints a summary of command line options and returns to shell.

Once running, it will display a few parameters in the terminal window, create a empty graphics window and start to generate the SIRDS. When finished, the program displays a "all done" message.

When the window is re-sized, the SIRDS is regenerated.  

KEYS

With the mouse pointer within the boundaries of the graphics window, vpgs will respond to a set of keypresses.

q
quits the program.
h
pops up a help window.
l
loads a .p?m file.
o
reloads old file.
s
saves the frame as a Postscript file.
w
saves the frame as a X11 bitmap.

See xss(6) about mouse controls and popup dialogue windows.  

FILES

 

BUGS

If you find any bugs, please report them to the author listed below.  

SEE ALSO

cvtopolyh(6), cvtoppm(6), mkpolyh(6), sisgen(6), vpgs(6), xpgs(6) and xss(6).  

AUTHOR, COPYRIGHTS, AND WARNINGS

Copyright 1994 and 1995, 26th January.

By Peter Chang. All rights reserved.

peterc@a3.ph.man.ac.uk

Version 2.5

See notice in the xpgs man page.


 

Index

NAME
SYNTAX
DESCRIPTION
Options
KEYS
FILES
BUGS
SEE ALSO
AUTHOR, COPYRIGHTS, AND WARNINGS

This document was created by man2html, using the manual pages.
Time: 07:29:36 GMT, July 20, 2024