-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathglsnake.6
121 lines (121 loc) · 3.36 KB
/
glsnake.6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH GLSNAKE 6 "December 18, 2001"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
glsnake \- hardware accelerated executive stress toy
.SH SYNOPSIS
.B glsnake
.RI
.SH DESCRIPTION
.PP
.B glsnake
is an imitation of Rubiks' Snake, using OpenGL.
.PP
.B glsnake
has an interactive mode where you can create your own models, colour
highlighting of different model classes, as well as mouse support.
.SH COLOURING
.TP
.B Green
cyclic
.TP
.B Blue
acyclic
.TP
.B Grey
invalid
.br
The current model intersects itself, and cannot exist in meatspace.
.SH INTERACTIVE COMMANDS
.PP
The right mouse button can be used to drag the object to a new
orientation.
.PP
.TP
.B ESC q
Quit.
.TP
.B f
Toggle fullscreen mode.
.TP
.B t
Toggle displaying of model titles.
.TP
.B w
Toggle wireframe mode on and off.
.TP
.B a
Toggle between the the colour scheme described above in COLOURING, and a two-tone scheme used by some of Rubik's snakes.
.TP
.B e E
Change the explode distance.
.TP
.B + -
Change the speed of rotation.
.TP
.B . ,
Change to the next and previous models.
.TP
.B i
Toggle interactive mode. The two nodes around the current joint are coloured yellow.
.TP
.B Home
(interactive-mode only) Reset the snake to the `straight' model
.TP
.B Up Down
(interactive-mode only) Select a new joint
.TP
.B Left Right
(interactive-mode only) Rotate current joint.
.TP
.B d
Dump the current model to stdout, in a format that can be used in a glsnake
model file.
.SH BUGS
.PP
The snake will happily intersect itself while morphing (this is not a bug).
.PP
Rotating the object with the mouse is only defined whilst the mouse pointer is
within an ellipse circumscribing the 4 corners of the window. If you release
the mouse button whilst dragging out of this window, you may not be able to
recover the model without quitting.
.PP
.B glsnake
isn't an xscreensaver yet.
.PP
There are No Flocking Algorithms.
.SH AUTHOR
.nh
.PP
.B glsnake
was written by Jamie Wilkinson <[email protected]>, Andrew Bennetts
<[email protected]>, and Peter Aylett <[email protected]>.
.PP
Andrew and Peter wrote the original code for the Allegro graphics library. When Andrew mentioned this program to Jamie, Jamie then removed 90% of the code and replaced it with about 50 lines of OpenGL code, instead of doing 2 graphics assignments that were due.
Andrew and Peter then added more models to the code than the original had, and fixed up the object morphing code. Mark Assad made it compile under WinDOS.
.PP
.RS 4
"I think a lot of the basis of the open source movement comes from procrastinating students."
.RS 4
-- Andrew Tridgell
.RE
.RE
.PP
This manual page was written by Peter Hardy <[email protected]>,
who spent the entire time wondering exactly why he was writing it, and
Jamie Wilkinson, for the Debian GNU/Linux system (but may be used by
others).