2060cde90f330ccbe01325d34e0a719238326b53
[xscreensaver] / hacks / glx / glhanoi.man
1 .TH XScreenSaver 1 "" "X Version 11"
2 .SH NAME
3 glhanoi - OpenGL Towers of Hanoi
4 .SH SYNOPSIS
5 .B glhanoi
6 [\-display \fIhost:display.screen\fP]
7 [\-visual \fIvisual\fP]
8 [\-window]
9 [\-root]
10 [\-delay \fInumber\fP]
11 [\-count \fInumber\fP]
12 [\-poles \fInumber\fP]
13 [\-speed \fInumber\fP]
14 [\-wireframe]
15 [\-light]
16 [\-texture]
17 [\-fog]
18 [\-fps]
19 .SH DESCRIPTION
20 Implementation of Towers of Hanoi in OpenGL
21 .SH OPTIONS
22 .TP 8
23 .B \-visual \fIvisual\fP
24 Specify which visual to use.  Legal values are the name of a visual class,
25 or the id number (decimal or hex) of a specific visual.
26 .TP 8
27 .B \-window
28 Draw on a newly-created window.  This is the default.
29 .TP 8
30 .B \-root
31 Draw on the root window.
32 .TP 8
33 .B \-delay \fInumber\fP
34 Per-frame delay, in microseconds.  Default: 30000 (0.03 seconds.).
35 .TP 8
36 .B \-count \fInumber\fP
37 Number of disks.  Default: 7.
38 .TP 8
39 .B \-poles \fInumber\fP
40 Number of poles.  Default: random from 3 to disks+1.
41 .TP 8
42 .B \-speed \fInumber\fP
43 Speed multiplier (for smallest disks).  Default: 1.
44 .TP 8
45 .B \-trails \fInumber\fP
46 Length of disk trails, in seconds.  Default: 2.
47 .TP 8
48 .B \-wireframe | \-no-wireframe
49 Render in wireframe instead of solid.
50 .TP 8
51 .B \-fog | \-no-fog
52 Render in fog.
53 .TP 8
54 .B \-fps
55 Display the current frame rate, CPU load, and polygon count.
56 .TP 8
57 .B \-light | -no-light
58 Whether the scene is lit.
59 .TP 8
60 .B \-texture | \-no-texture
61 Render with textures instead of solid.
62 .SH ENVIRONMENT
63 .PP
64 .TP 8
65 .B DISPLAY
66 to get the default host and display number.
67 .TP 8
68 .B XENVIRONMENT
69 to get the name of a resource file that overrides the global resources
70 stored in the RESOURCE_MANAGER property.
71 .SH SEE ALSO
72 .BR X (1),
73 .BR xscreensaver (1)
74 .SH COPYRIGHT
75 Copyright \(co 2004 by Dave Atkinson.  Permission to use, copy, modify, 
76 distribute, and sell this software and its documentation for any purpose is 
77 hereby granted without fee, provided that the above copyright notice appear 
78 in all copies and that both that copyright notice and this permission notice
79 appear in supporting documentation.  No representations are made about the 
80 suitability of this software for any purpose.  It is provided "as is" without
81 express or implied warranty.
82 .SH AUTHOR
83 Dave Atkinson.