File: examples.html

package info (click to toggle)
plib-doc 1%3A1.8.5-3.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 9,732 kB
  • sloc: cpp: 23,304; sh: 3,449; makefile: 217
file content (191 lines) | stat: -rw-r--r-- 7,711 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
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
186
187
188
189
190
191
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
   <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <TITLE>PLIB: A Portable Games Library.</TITLE>
</HEAD>
<BODY text="#B5A642" link="#8FFF8F" vlink="#18A515" alink="#20336B"
 bgcolor="#005000" background="marble.png">

<TABLE>
<TR>
<TD>
<IMG SRC="plib_logo.png" ALT="PLIB Logo" width=256 height=245>
<br>
</TD>
<TD>
<center>
<H1>
     <FONT SIZE=9>S</FONT><FONT SIZE=5>TEVE'S</FONT>
     <FONT SIZE=9>P</FONT><FONT SIZE=5>ORTABLE</FONT>
     <FONT SIZE=9>G</FONT><FONT SIZE=5>AME</FONT>
     <FONT SIZE=9>L</FONT><FONT SIZE=5>IBRARY.</FONT>
</H1>
</center>
</TD>
<TD>
<ul>
And Lo, the Lion and the Sheep shall lie down together - but the Sheep won't
get much Sleep.
<br>
-- Woody Allen
</ul>
<center>
<A href="http://sf.net"> 
<IMG src="http://sf.net/sflogo.php?group_id=382&type=1" width="88" height="31" border="0" ALT="Sourceforge Logo"></A> 
</center>
</TD>
</TR>
</TABLE>

<TABLE>
<TR>
<TD valign=top align=left>
<A HREF="index.html"><IMG SRC="home.png" ALT="HOME" BORDER="0" width=150 height=50></A><br>
<A HREF="whats_inside.html"><IMG SRC="whats_inside.png" ALT="WHAT'S INSIDE" BORDER="0" width=150 height=50></A><br>
<A HREF="license.html"><IMG SRC="license.png" ALT="LICENSE" BORDER="0" width=150 height=50></A><br>
<A HREF="contacts.html"><IMG SRC="contacts.png" ALT="CONTACTS" BORDER="0" width=150 height=50></A><br>
<A HREF="requirements.html"><IMG SRC="requirements.png" ALT="REQUIREMENTS" BORDER="0" width=150 height=50></A><br>
<A HREF="gallery.html"><IMG SRC="gallery.png" ALT="GALLERY" BORDER="0" width=150 height=50></A><br>
<A HREF="download.html"><IMG SRC="download.png" ALT="DOWNLOAD & INSTALL" BORDER="0" width=150 height=50></A><br>
<A HREF="examples.html"><IMG SRC="examples.png" ALT="EXAMPLES" BORDER="0" width=150 height=50></A><br>

<A HREF="sg/index.html"><IMG SRC="SG.png" ALT="SG" BORDER="0" width=75 height=25></A>
<A HREF="ssg/index.html"><IMG SRC="SSG.png" ALT="SSG" BORDER="0" width=75 height=25></A><br>

<A HREF="ssgAux/index.html"><IMG SRC="ssgAux.png" ALT="SSGAUX" BORDER="0" width=75 height=25></A>
<A HREF="fnt/index.html"><IMG SRC="FNT.png" ALT="FNT" BORDER="0" width=75 height=25></A><br>

<A HREF="pui/index.html"><IMG SRC="PUI.png" ALT="PUI" BORDER="0" width=75 height=25></A>
<A HREF="psl/index.html"><IMG SRC="PSL.png" ALT="PSL" BORDER="0" width=75 height=25></A>

<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A>
<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A><br>

<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A>
<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A><br>

<A HREF="pw/index.html"><IMG SRC="PW.png" ALT="PW" BORDER="0" width=75 height=25></A>
<A HREF="puAux/index.html"><IMG SRC="puAux.png" ALT="PUAUX" BORDER="0" width=75 height=25></A><br>


</TD>
<TD>

<H1>PLIB: Example Programs and Demonstrations.</H1>

PLIB has three sources of sample programs to learn from.
<ul>
<li> EXAMPLES: There is a bundle of small programs that each show
     off one or two small aspects of PLIB and which are
     not generally all that useful by themselves.
<li> DEMOS: These are fully worked out demonstration programs
     that use a wide range of PLIB features to create complete
     and useful programs that are still small enough to understand
     quite easily.
<li> APPLICATIONS: Because many PLIB applications are OpenSourced,
     there are a large number of complex programs that you can
     look at to see how large games, simulations and interactive
     tools can be built using this technology.
</ul>

<H2> EXAMPLES </H2>

The PLIB example programs are distributed in <A HREF="download.html#EXAMPLES">
a separate tarball</A> from the main PLIB distribution - and generally, it
is updated less often - but following the same version numbers as the
main PLIB library.
<p>
When you install that package, you'll see that the 'src' directory is
split into sections for each PLIB component library - with one or two
different examples for each library.
<p>
All of the examples are licensed under GPL as bundle and are maintained
under the PLIB CVS archive.
<ul>
<li>FNT:<ul>
        <li> fnt_test - a basic TXF font browser.
        <li> slideshow - a way to present a simple slide-show driven
                      from an ASCII text file. Who needs PowerPoint
                      when you have 'vi'? :-)
        <li> data - this directory contains 20 different TXF fonts.
        </ul>
<li>JS:<ul>
       <li> js_demo - a program that shows the current output from
                      whatever joysticks it can detect. Useful for
                      testing out which buttons set which bits and
                      which axes are which.
       </ul>
<li>NET:<ul>
        <li> client-server - 
        <li> http_get -
        <li> net_echo -
       </ul>
<li>PUI:<ul>
       <li> simple - the "Hello World" of PUI programs.
       <li> complex - a fairly pointless program that shows how
                     to control a spinning OpenGL cube, and use
                     a variety of PUI widgets.
       <li> widget_list - draws every kind of PUI widget each
                     in a separate window.  This is what we used
                     to make the screenshots for the PUI manual.
       </ul>
<li>SG:<ul>
       <li> sg_quat_test - tests the SG quaternions...unsuccessfully
                      I think!
       </ul>
<li>SL:<ul>
       <li> example - plays a number of annoying sounds.
       <li> mod_demo - plays a MOD format music file.
       </ul>
<li>SSG:<ul>
       <li> load_save - Load a 3D model - then just save it again.
       <li> majik - A test (originally written to help the Majik3D
                     project) that shows Tux walking around on some
                     auto-generated terrain.
       <li> state_test - Exercises some ssgSimpleState settings.
       <li> tux - A model of Tux the Penguin spins around on a
                    pedestal encrusted in golden Herring.
       <li> tween_test - Demonstrated the 'tween' effect.
       <li> water - Demonstrates the ssgAux library - water/fire/lensflare/particles plus basic shapes, cube, teapot.
       <li> viewer - A program to allow you to view any 3D model
                    and spin it around using the mouse.
       </ul>
<li>UTIL:<ul>
       <li> test_dir - tests some of the directory handling features.
       </ul>
</ul>
<H2> DEMONSTRATIONS </H2>

The PLIB demonstration programs are distributed in <A HREF="download.html#DEMOS">
their own separate tarballs</A> - each has it's own version number and it's
own license conditions (although all of them must fall within the SourceForge
definition for OpenSourced software in order to reside on the SourceForge
server).  All of the demonstrations are maintained under the PLIB CVS
archive.

<ul>
<li> ExPoser - A program to allow you to animate characters for your
               games using 'Skin and Bones' animation techniques.
               ExPoser needs PLIB 1.5.1 or later.
<li> TTT3D - A complete 3D TicTacToe game played on a 4x4x4 board.
               It's theoretically possible to beat it - <b>theoretically</b>.
               TTT3D needs PLIB 1.4.0 or later.
</ul>

<H2> APPLICATIONS </H2>

PLIB applications do not reside on the PLIB web site - but you can find
links to many of them in <A HREF="gallery.html">our image gallery</A>.

</TD>
</TR>
</TABLE>
<hr>
<ADDRESS>
<A HREF="http://www.sjbaker.org">
Steve J. Baker.</A>
&lt;<A HREF="mailto:sjbaker1@airmail.net">sjbaker1@airmail.net</A>&gt;
</ADDRESS>
</BODY>
</HTML>