1glforestfire(6x) XScreenSaver manual glforestfire(6x)
2
3
4
6 glforestfire - draws a GL animation of sprinkling fire-like 3D trian‐
7 gles
8
10 glforestfire [-display host:display.screen] [-window] [-root] [-visual
11 visual] [-delay microseconds] [-count number_of_particles] [-trees num‐
12 ber_of_trees] [-size viewport_size] [-texture] [-no-texture] [-shadows]
13 [-no-shadows] [-fog] [-no-fog] [-wireframe] [-no-wireframe] [-wander]
14 [-no-wander] [-trackmouse] [-no-trackmouse] [-fps] [-no-fps]
15
17 The glforestfire program draws an animation of sprinkling fire-like 3D
18 triangles in a landscape filled with trees.
19
21 glforestfire accepts the following options:
22
23 -window Draw on a newly-created window. This is the default.
24
25 -root Draw on the root window.
26
27 -install
28 Install a private colormap for the window.
29
30 -visual visual
31 Specify which visual to use. Legal values are the name of a
32 visual class, or the id number (decimal or hex) of a specific
33 visual.
34
35 -fps Display a running tally of how many frames per second are being
36 rendered. In conjunction with -delay 0, this can be a useful
37 benchmark of your GL performance.
38
39 -trees number_of_trees
40 Specify how much trees are drawn in the landscape.
41
42 -count number_of_particles
43 Specify how much fire particles are drawn. A very special case
44 is 0 wich means that you get rain !
45
46 -size viewport_size
47 Viewport of GL scene is specified size if greater than 32 and
48 less than screensize. Default value is 0, meaning full screen‐
49 size.
50
51 -texture
52 Show a textured ground and the trees. This is the default.
53
54 -no-texture
55 Disables texturing the landscape. This implies that no trees
56 are drawn.
57
58 -shadows
59 Show a shadow for each particle on the ground. This is the
60 default.
61
62 -no-shadows
63 Disables the drawing of the shadows.
64
65 -fog Show a fog in the distance.
66
67 -no-fog Disables the fog. This is the default.
68
69 -wander Move the observer around the landscape. This is the default.
70
71 -no-wander
72 Keep the fire centered on the screen.
73
74 -trackmouse
75 Let the mouse be a joystick to change the view of the land‐
76 scape. This implies -no-wander.
77
78 -no-trackmouse
79 Disables mouse tracking. This is the default.
80
81 -wire Draw a wireframe rendition of the fire: this will consist only
82 of single-pixel lines for the triangles.
83
85 DISPLAY to get the default host and display number.
86
87 XENVIRONMENT
88 to get the name of a resource file that overrides the global
89 resources stored in the RESOURCE_MANAGER property.
90
92 X(1), xscreensaver(1)
93
95 Copyright © 2001 by Eric Lassauge. Permission to use, copy, modify,
96 distribute, and sell this software and its documentation for any pur‐
97 pose is hereby granted without fee, provided that the above copyright
98 notice appear in all copies and that both that copyright notice and
99 this permission notice appear in supporting documentation. No repre‐
100 sentations are made about the suitability of this software for any pur‐
101 pose. It is provided "as is" without express or implied warranty.
102
103 The original code for this hack was written by David Bucciarelli
104 (tech.hmw@plus.it) and could be found in the demo package of Mesa
105 (Mesa-3.2/3Dfx/demos/). This hack is the result of the merge of two of
106 the David's demos (fire and rain).
107
108
110 David Bucciarelli <tech.hmw@plus.it> Eric Lassauge <lassauge@mail.dot‐
111 com.fr>
112
113
114
115X Version 11 5.05-3 (06-Apr-2008) glforestfire(6x)