File: xthreed.html

package info (click to toggle)
xpuzzles 7.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 14,208 kB
  • sloc: ansic: 94,274; makefile: 7,477; sh: 3,221
file content (185 lines) | stat: -rw-r--r-- 6,992 bytes parent folder | download
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<HTML>
<HEAD>
<TITLE>xthreed</TITLE>
</HEAD>
<BODY>
<H1>xthreed</H1>
<HR>
<PRE>

</PRE>
<H2>SYNOPSIS</H2><PRE>
       <B>/usr/games/xthreed</B>                                           [-geometry
       [{width}][x{height}][{+-}{xoff}[{+-}{yoff}]]]                 [-display
       [{host}]:[{vs}]]  [-{foreground|fg} {color}] [-{background|bg} {color}]
       [-frame  {color}]  [-white  {color}]  [-[lt|dk]gray  {color}]   [-black
       {color}]  [-another  {color}]  [-{border|bd}  {color}]  [-delay  msecs]
       [-[no]sound] [-bumpSound {filename}] [-moveSound {filename}] [-[no]sur-
       face]  [-object  {int}] [-x {int}] [-y {int}] [-z {int}] [-theta {int}]
       [-phi {int}] [psi {int}] [-version]


</PRE>
<H2>DESCRIPTION</H2><PRE>
       Press "<B>L</B>" or "<B>l</B>" keys to move shape left.

       Press "<B>R</B>" or "<B>r</B>" keys to move shape right.

       Press "<B>U</B>" or "<B>u</B>" keys to move shape up.

       Press "<B>D</B>" or "<B>d</B>" keys to move shape down.

       Press "<B>I</B>" or "<B>i</B>" keys to move shape in.

       Press "<B>O</B>" or "<B>o</B>" keys to move shape out.

       Press "<B>S</B>" or "<B>s</B>" keys to change surface.

       Press "<B>B</B>" or "<B>b</B>" keys to change object.

       Press "<B>&gt;</B>" or "<B>.</B>" keys to speed up the movement (not implmented).

       Press "<B>&lt;</B>" or "<B>,</B>" keys to slow down the movement (not implmented).

       Press "<B>@</B>" key to toggle the sound.

       Press "<B>Esc</B>" key to hide program.

       "<B>Q</B>", "<B>q</B>", or "<B>CTRL-C</B>" keys kill program.

       Use the key pad or arrow keys to rotate object.
       Key pad is defined for Threed as:
         /      Counterclockwise

         8      Up
         ^
       4&lt;5&gt;6  Left, Clockwise, Right
         v
         2      Down

       I debated releasing this, since it needs some  work.   Also  I  figured
       there was other 3D viewers out there.  One neat thing is the mouse sur-
       face detection.  This viewer is real simple, it only primitive  graphic
       routines,  so it might be useful to someone out there.  If you have any
       improvements to make, let me know.  I think the roll part is not  quite
       right, as it does not track well.

       In  the  sample  data,  Cubes  and  F16 are big, so the polyhedrons are
       scaled up to them in the data file.


</PRE>
<H2>OPTIONS</H2><PRE>
       <B>-geometry</B> <B>{+|-}</B><I>X</I><B>{+|-}</B><I>Y</I>
               This option sets the initial  position  of  the  threed  window
               (resource name "<I>geometry</I>").

       <B>-display</B> <I>host</I><B>:</B><I>dpy</I>
               This option specifies the X server to contact.

       <B>-{foreground</B> <B>|</B> <B>fg}</B> <I>color</I>
               This  option  specifies  the  foreground  of  the threed window
               (resource name "<I>foreground</I>").

       <B>-{background</B> <B>|</B> <B>bg}</B> <I>color</I>
               This option specifies  the  background  of  the  threed  window
               (resource name "<I>background</I>").

       <B>-frame</B> <I>color</I>
               This  option  specifies  the  foreground of the frame (resource
               name "<I>frameColor</I>").

       <B>-white</B> <I>color</I>
               This  option  specifies  the  color  of  the  white  paintbrush
               (resource name "<I>whiteBrush</I>").

       <B>-[lt|dk]gray</B> <I>color</I>
               This  option  specifies  the  color  of the gray the paintbrush
               (resource name "<I>[lt|dk]grayBrush</I>").

       <B>-black</B> <I>color</I>
               This option specifies the color of the black of the  paintbrush
               (resource name "<I>blackBrush</I>").

       <B>-another</B> <I>color</I>
               This  option  specifies  the  of  color  of  the  a  paintbrush
               (resource name "<I>anotherBrush</I>").

       <B>-{border|bd}</B> <I>color</I>
               This option specifies the  foreground  of  the  surface  border
               (resource name "<I>surfaceBorder</I>").

       <B>-delay</B> <I>msecs</I>
               This  option  specifies  the number of milliseconds it takes to
               move (1-50) (resource name "<I>delay</I>").

       <B>-[no]sound</B>
               This option specifies if a sliding tile should make a sound  or
               not (resource name "<I>sound</I>").

       <B>-bumpSound</B> <I>filename</I>
               This  option  specifies  the  file  for  the bump sound for the
               clicking of a new surface (resource name "<I>bumpSound</I>").

       <B>-moveSound</B> <I>filename</I>
               This option specifies the file for the  move  sound  (not  used
               yet) (resource name "<I>moveSound</I>").

       <B>-[no]surface</B>
               This  option  allows  you  to access the hidden surface removal
               mode and wire mode (resource name "<I>surface</I>").

       <B>-object</B> <B>&lt;</B><I>int</I><B>&gt;</B>
               This option allows you to set the object to be viewed (resource
               name "<I>object</I>").

       <B>-distance</B> <B>&lt;</B><I>int</I><B>&gt;</B>
               This  option allows you to set the distance of the object to be
               viewed (resource name "<I>distance</I>").

       <B>-theta</B> <B>&lt;</B><I>int</I><B>&gt;</B>
               This option allows you to set the angle of the to be viewed  in
               degrees  (resource  name  "<I>thetaDegrees</I>").  This corresponds to
               yaw.

       <B>-phi</B> <B>&lt;</B><I>int</I><B>&gt;</B>
               This option allows you to set the angle of the to be viewed  in
               degrees  (resource  name  "<I>phiDegrees</I>").   This  corresponds to
               pitch.

       <B>-psi</B> <B>&lt;</B><I>int</I><B>&gt;</B>
               This option allows you to set the angle of the to be viewed  in
               degrees  (resource  name  "<I>psiDegrees</I>").   This  corresponds to
               roll.

       <B>-version</B>
               This option tells you what version of xthreed you have.


</PRE>
<H2>SEE ALSO</H2><PRE>
       <B>X(1)</B>, <B>xcubes(6)</B>, <B>xtriangles(6)</B>,  <B>xhexagons(6)</B>,  <B>xmlink(6)</B>,  <B>xbarrel(6)</B>,
       <B>xpanex(6)</B>,  <B>xmball(6)</B>,  <B>xpyraminx(6)</B>,  <B>xoct(6)</B>,  <B>xrubik(6)</B>,  <B>xskewb(6)</B>,
       <B>xdino(6)</B>, <B>xabacus(6)</B>


</PRE>
<H2>COPYRIGHTS</H2><PRE>
       (R) Copyright 1995-2009, David A. Bagley


</PRE>
<H2>BUG REPORTS AND PROGRAM UPDATES</H2><PRE>
       Send bugs (or their reports, or fixes) to the author:
              David A. Bagley, &lt;<I>bagleyd@tux.org</I>&gt;

       The latest version is currently at:
              <I>http://www.tux.org/~bagleyd/threed.html</I>



V7.5.1                            10 Nov 2009                        <B>THREED(6)</B>
</PRE>
<HR>
</BODY>
</HTML>