33911478d6b043d5999f2d09b72479af84120eb2
[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] [\-visual \fIvisual\fP] [\-squares \fInum\fP] [\-resolution \fInum\fP] [\-draw \fInum\fP] [\-flat \fInum\fP] [\-speed \fInum\fP] [\-rotationx \fInum\fP] [\-rotationy \fInum\fP] [\-rotationz \fInum\fP]  [\-waves \fInum\fP] [\-waveChange \fInum\fP] [\-waveHeight \fInum\fP] [\-waveFreq \fInum\fP] [\-zoom \fInum\fP]
7 .SH DESCRIPTION
8 The \fIgflux\fP program draws a colourfull animated rippling square rotating in 3D space.
9 .SH OPTIONS
10 .I gflux
11 accepts the following options:
12 .TP 8
13 .B \-window
14 Draw on a newly-created window.  This is the default.
15 .TP 8
16 .B \-root
17 Draw on the root window.
18 .TP 8
19 .B \-install
20 Install a private colormap for the window.
21 .TP 8
22 .B \-visual \fIvisual\fP\fP
23 Specify which visual to use.  Legal values are the name of a visual class,
24 or the id number (decimal or hex) of a specific visual.
25 .TP 8
26 .B \-squares \fInum\fP\fP
27 Specifies the size of the grid in squares. default 19
28 .TP 8
29 .B \-resolution \fInum\fP\fP
30 Specifies the wireframe detail of the squares. default 4
31 .TP 8
32 .B \-draw \fInum\fP\fP
33 Specifies the draw method. 0 = wireframe (default), 1 = solid, 2 = light, 3 = checker texture mapped, 4 = PNM image is read from stdin and mapped to the surface
34 .TP 8
35 .B \-flat \fInum\fP\fP
36 0 for smooth shading 1 for flat. default 0
37 .TP 8
38 .B \-speed \fInum\fP\fP
39 Specifies speed of ripples flowing over the surface. default 0.05
40 .TP 8
41 .B \-rotationx \fInum\fP \-rotationy \fInum\fP \-rotationz \fInum\fP\fP
42 Specifies the speed of rotation of the surface in these axis 
43 .TP 8
44 .B \-waves \fInum\fP\fP
45 Specifies the number of ripple centres at any one time.  Values should be greater than 1.  default 3
46 .TP 8
47 .B \-waveChange \fInum\fP\fP
48 Specifies the duration of a ripple centre.  after this they fade away to be reborn elsewhere with a different frequency. default 50
49 .TP 8
50 .B \-waveHeight \fInum\fP\fP
51 Specifies the height of ripples on the surface. default 1.0
52 .TP 8
53 .B \-waveFreq \fInum\fP\fP
54 Specifies the maximum frequency of ripples. default 3.0
55 .TP 8
56 .B \-zoom \fInum\fP\fP
57 Specifies the size of the viewport. Smaller values fill the screen with rippling surface. default 1.0
58 .SH ENVIRONMENT
59 .PP
60 .TP 8
61 .B DISPLAY
62 to get the default host and display number.
63 .TP 8
64 .B XENVIRONMENT
65 to get the name of a resource file that overrides the global resources
66 stored in the RESOURCE_MANAGER property.
67 .SH BUGS
68 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.
69 .SH SEE ALSO
70 .BR X (1),
71 .BR xscreensaver (1)
72 .SH COPYRIGHT
73 Copyright \(co 2000 by Josiah Pease.  Permission to use, copy, modify,
74 distribute, and sell this software and its documentation for any purpose is
75 hereby granted without fee, provided that the above copyright notice appear
76 in all copies and that both that copyright notice and this permission notice
77 appear in supporting documentation.  No representations are made about the
78 suitability of this software for any purpose.  It is provided "as is" without
79 express or implied warranty.
80 .SH AUTHOR
81 Josiah Pease <gflux@jpease.force9.co.uk>, 10-Jun-2000.
82