• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

doc/H18-Mar-2003-800612

examples/H03-May-2022-4,9843,415

man/H18-Mar-2003-1,4141,152

ms-visual-c/H18-Mar-2003-763557

src/H03-May-2022-9,4586,055

swig/H03-May-2022-3,0862,489

AUTHORSH A D18-Mar-2003290 106

COPYINGH A D21-Nov-200118.7 KiB369300

ChangeLogH A D18-Oct-2001130 63

INSTALLH A D11-Jun-20006 21

Makefile.amH A D20-Jul-2001156 116

Makefile.inH A D18-Mar-200311.5 KiB392309

NEWSH A D25-Jun-2000142 86

READMEH A D06-Nov-20023.9 KiB11893

acconfig.hH A D12-Jun-2000943 3914

aclocal.m4H A D18-Mar-2003124 KiB3,8193,416

config.guessH A D21-Nov-200137.4 KiB1,3091,132

config.h.inH A D18-Mar-20032.5 KiB10067

config.subH A D21-Nov-200127.5 KiB1,4101,271

configureH A D18-Mar-2003321 KiB10,7428,656

configure.inH A D18-Mar-20034.6 KiB151121

gle.specH A D18-Mar-20032.1 KiB8471

install-shH A D11-Jun-20004.7 KiB239152

ltmain.shH A D21-Nov-2001135.7 KiB4,9853,988

missingH A D11-Jun-20006.1 KiB191154

mkinstalldirsH A D11-Jun-2000649 3318

stamp-h.inH A D18-Mar-200310 21

README

1
2                 GLE
3                 ---
4
5GLE is a library package of C functions that draw
6extruded surfaces, including surfaces of revolution,
7sweeps, tubes, polycones, polycylinders and helicoids.
8Generically, the extruded surface is specified with a
92D polyline that is extruded along a 3D path.  A local
10coordinate system allows for additional flexibility in
11the primitives drawn.  Extrusions may be texture mapped
12in a variety of ways.  The GLE library generates 3D
13triangle coordinates, lighting normal vectors and
14texture coordinates as output. GLE uses the GL or
15OpenGL(R) API's to perform the actual rendering.
16The demos use GLUT and require GLUT to be installed.
17
18Obtaining OpenGL
19----------------
20OpenGL is available on most UNIX(R) workstations,
21as well as OS/2(R) and Windows NT.  Contact your
22workstation vendor for more information; the URL
23http://www.opengl.org/ points to a variety of
24information, including a list of OpenGL vendors.
25GLE also works with Mesa, a public-domain
26OpenGL-like API. Mesa can be found at
27http://www.mesa3d.org/
28
29Obtaining GLUT
30--------------
31The demos require that the GLUT windowing and
32utility library be installed.  GLUT can be obtained
33at http://reality.sgi.com/mjk_asd/glut3/glut3.html
34
35Compiling
36---------
37GLE uses the standard GNU automake/autoconf build process,
38and thus should be portable to essentially all computing
39platforms.  At the command line simply type 'configure'
40to set things up for your CPU & operating system.  Then run
41'make' to compile. Finally, cd to the examples directory,
42and run the script 'rundemo' to launch each of the demos
43in order (from most basic, to advanced).  Use the left
44mouse button to move, the middle mouse button to access
45the pop-down menu.
46
47If 'configure' fails, its probably because some library
48or another is missing.  Look at the file 'config.log'
49to see what actually went wrong.  In particular, pay
50attention to the short program at the end: trying to
51compile it by hand will give you a good idea on why
52it failed.
53
54configure flags:
55--enable-lenient-tess
56	If you have a tesselator that is happy with anything,
57	including degenerate points, colinear segments, etc.
58	then define this. Otherwise, don't specify this flag.
59        Setting this flag provides a minor performance improvement.
60
61	I beleive that the stock SGI tesselator is "lenient",
62	despite explicit disclaimers in the documentation.
63	(circa 1995).
64
65        Early versions of the MesaGL tesselator are not at all
66        forgiving of degenerate points.  This resulted in frequent
67        crashes and/or hangs.  (circa 1997-2000). Recent versions
68        (as of 2001) seem to work fine.  If you have an old version
69        of MesaGL, do not set  <tt>--enable-lenient-tess</tt>
70
71--disable-auto-texture
72	Disable texture mapping code.  Disabling texture
73	mapping may provide a very minor performance improvement.
74
75--enable-irisgl
76        Compile for old IrisGL/GL-3.2 API.  This used to work, but
77        hasn't been tested in a long time.
78
79--enable-debug
80	Will compile sources so printf routines will be called instead
81        of OpenGL routines.  Warning: this will generate a *lot* of
82        output!
83
84
85More information about building, as well as this package,
86can be found in the directory "public_html".
87
88
89RedHat RPM's
90------------
91RedHat RPM's can be built using the gle.spec file.
92
93
94Python, SWIG
95------------
96Python bindings for gle can be found in the /swig directory.
97Be sure to read the readme.
98
99Compiling for Windows NT
100------------------------
101To compile with Visual C++, just do the following:
102
103cd src
104cl -c -DWIN32  *.c
105lib -out:libgle.lib *.obj
106
107Alternately, there are a set of Microsoft Visual C Studio Project
108files in the directory ms-visual-c that should do the same thing.
109
110
111Running
112-------
113Some of the example programs will hang or crash when run on
114older versions of MesaGL/Linux.  This is due to bugs in the
115MesaGL tesellator.  Newer versions should work fine.
116
117--------- the end ----------
118