File: rundemo

package info (click to toggle)
gle 3.1.0-7
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 3,076 kB
  • ctags: 1,029
  • sloc: ansic: 10,002; sh: 8,455; makefile: 366; python: 102
file content (127 lines) | stat: -rwxr-xr-x 3,228 bytes parent folder | download | duplicates (8)
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
#! /bin/sh
#
# rundemo script.  This script will launch each of the demo 
# programs in turn.
#
echo " "
echo "The most basic primitive is the cylinder primitive."
echo "Press left mouse button to move. Press middle mouse button"
echo "to exit."
echo " "
./cylinder
#
# ------------------------------------------------------------
echo " "
echo "The joinstyles connecting the poly-cylinder segments"
echo "can be modified. Use teh middle mouse button to select"
echo "a menu entry"
echo " "
./joinstyle
#
# ------------------------------------------------------------
echo " "
echo "By varying the radius, we can build a polycone."
echo "Note that the join style can be applied to cones as well."
echo " "
./joincone
#
# ------------------------------------------------------------
echo " "
echo "Alpha Blending (transparency) is now supported!"
echo " "
./alpha
#
# ------------------------------------------------------------
echo " "
echo "Sloppy Sax -- A more complicated polycone example"
echo " "
./horn
#
# ------------------------------------------------------------
echo " "
echo "In fact, join styles can be applied to an arbitrary"
echo "cross-section."
echo " "
./texas
#
# ------------------------------------------------------------
echo " "
echo "The way in which the join style is applied depends on the"
echo "the distance of the contour from the origin. Compare the "
echo "upper and lower figures for different join styles."
echo " "
./joinoffset
#
# ------------------------------------------------------------
echo " "
echo "In fact, joinstyles can be applied to non-closed contours as well."
echo "This demo also demonstrates the use of per-segment twisting. "
echo " "
./twistoid
#
# ------------------------------------------------------------
echo " "
echo "A different example of applying a twist."
echo " "
./beam
#
# ------------------------------------------------------------
echo " "
echo "A generalized torus ..."
echo " "
./helix
#
# ------------------------------------------------------------
echo " "
echo "A generalized torus has a number of adjustable parameters"
echo " "
./helix2
#
# ------------------------------------------------------------
echo " "
echo "A generalized torus has a number of adjustable parameters"
echo " "
./helix3
#
# ------------------------------------------------------------
echo " "
echo "A generalized torus can even exhibit torsion"
echo " "
./helix4
#
# ------------------------------------------------------------
echo " "
echo "Torsion helps shear this candlestick profile"
echo " "
./candlestick
#
# ------------------------------------------------------------
echo " "
echo "Effect of Torsion vs. Parallel translation"
echo " "
./transport
#
# ------------------------------------------------------------
echo " "
echo "Texture mapped cylinders"
echo " "
./helixtex
#
# ------------------------------------------------------------
echo " "
echo "Simple Screw Shape"
echo " "
./screw
#
# ------------------------------------------------------------
echo " "
echo "Complex Screw Shape"
echo " "
./taper
#
# ------------------------------------------------------------
echo " "
echo "Misc other"
./twistex
./twoid
echo " end of demo --- That's all folks!"