ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/xscreensaver-3.33-4.rhel21...
[xscreensaver] / hacks / glx / gflux.man
1 .TH XScreenSaver 1 "July 2000"
2 .SH NAME
3 gflux \- rippling surface graphics hack
4 .SH SYNOPSIS
5 .B gflux
6 [\-display \fIhost:display.screen\fP] [\-window] [\-root] [\-install]
7 [\-visual \fIvisual\fP] [\-delay \fImicroseconds\fP] [\-fps]
8 [\-squares \fInum\fP] [\-resolution \fInum\fP] [\-draw \fInum\fP]
9 [\-flat \fInum\fP] [\-speed \fInum\fP]
10 [\-rotationx \fInum\fP] [\-rotationy \fInum\fP] [\-rotationz \fInum\fP]
11 [\-waves \fInum\fP] [\-waveChange \fInum\fP] [\-waveHeight \fInum\fP]
12 [\-waveFreq \fInum\fP] [\-zoom \fInum\fP]
13 .SH DESCRIPTION
14 The \fIgflux\fP program draws a colourfull animated rippling square rotating in 3D space.
15 .SH OPTIONS
16 .I gflux
17 accepts the following options:
18 .TP 8
19 .B \-window
20 Draw on a newly-created window.  This is the default.
21 .TP 8
22 .B \-root
23 Draw on the root window.
24 .TP 8
25 .B \-install
26 Install a private colormap for the window.
27 .TP 8
28 .B \-visual \fIvisual\fP\fP
29 Specify which visual to use.  Legal values are the name of a visual class,
30 or the id number (decimal or hex) of a specific visual.
31 .TP 8
32 .B \-squares \fInum\fP\fP
33 Specifies the size of the grid in squares. default 19
34 .TP 8
35 .B \-resolution \fInum\fP\fP
36 Specifies the wireframe detail of the squares. default 4
37 .TP 8
38 .B \-draw \fInum\fP\fP
39 Specifies the draw method. 0 = wireframe, 1 = solid, 2 = light (default), 3 = checker texture mapped, 4 = PNM image is read from stdin and mapped to the surface
40 .TP 8
41 .B \-flat \fInum\fP\fP
42 0 for smooth shading 1 for flat. default 0
43 .TP 8
44 .B \-speed \fInum\fP\fP
45 Specifies speed of ripples flowing over the surface. default 0.05
46 .TP 8
47 .B \-rotationx \fInum\fP \-rotationy \fInum\fP \-rotationz \fInum\fP\fP
48 Specifies the speed of rotation of the surface in these axis 
49 .TP 8
50 .B \-waves \fInum\fP\fP
51 Specifies the number of ripple centres at any one time.  Values should be greater than 1.  default 3
52 .TP 8
53 .B \-waveChange \fInum\fP\fP
54 Specifies the duration of a ripple centre.  after this they fade away to be reborn elsewhere with a different frequency. default 50
55 .TP 8
56 .B \-waveHeight \fInum\fP\fP
57 Specifies the height of ripples on the surface. default 1.0
58 .TP 8
59 .B \-waveFreq \fInum\fP\fP
60 Specifies the maximum frequency of ripples. default 3.0
61 .TP 8
62 .B \-zoom \fInum\fP\fP
63 Specifies the size of the viewport. Smaller values fill the screen with rippling surface. default 1.0
64 .TP 8
65 .B \-delay \fImicroseconds\fP
66 How long to pause between frames.  Default is 20000, or 0.02 second.
67 .TP 8
68 .B \-fps
69 Display a running tally of how many frames per second are being rendered.
70 In conjunction with \fB\-delay 0\fP, this can be a useful benchmark of 
71 your GL performance.
72 .SH ENVIRONMENT
73 .PP
74 .TP 8
75 .B DISPLAY
76 to get the default host and display number.
77 .TP 8
78 .B XENVIRONMENT
79 to get the name of a resource file that overrides the global resources
80 stored in the RESOURCE_MANAGER property.
81 .SH BUGS
82 It's not unknown for this and other OpenGL hacks to fail under hardware accelaration (UtahGLX) and take the X server with them.  Texture images must be 16x16 or 32x32 or 64x64 etc.
83 .SH SEE ALSO
84 .BR X (1),
85 .BR xscreensaver (1)
86 .SH COPYRIGHT
87 Copyright \(co 2000 by Josiah Pease.  Permission to use, copy, modify,
88 distribute, and sell this software and its documentation for any purpose is
89 hereby granted without fee, provided that the above copyright notice appear
90 in all copies and that both that copyright notice and this permission notice
91 appear in supporting documentation.  No representations are made about the
92 suitability of this software for any purpose.  It is provided "as is" without
93 express or implied warranty.
94 .SH AUTHOR
95 Josiah Pease <gflux@jpease.force9.co.uk>, 10-Jun-2000.
96