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

..18-Mar-2003-

COPYING.srcH A D25-Jun-20003.2 KiB6953

Makefile.amH A D18-Mar-2003882 5839

Makefile.inH A D18-Mar-200311.5 KiB413305

README.gutilH A D11-Jun-20003.1 KiB8055

copy.hH A D11-Jun-2000421 198

ex_alpha.cH A D18-Mar-20032 KiB6031

ex_angle.cH A D03-May-202221.4 KiB592368

ex_cut_round.cH A D03-May-202249.5 KiB1,405911

ex_raw.cH A D03-May-202229 KiB988650

extrude.cH A D03-May-202224.7 KiB767520

extrude.hH A D18-Mar-20035.9 KiB14288

gle.hH A D18-Mar-200312.7 KiB305223

intersect.cH A D11-Jun-20002.2 KiB7121

intersect.hH A D11-Jun-200015.7 KiB448279

port.hH A D18-Mar-20037.2 KiB297206

qmesh.cH A D11-Jun-20005.4 KiB200144

rot.hH A D11-Jun-20002 KiB9972

rot_prince.cH A D12-Jun-20004 KiB16294

rotate.cH A D12-Jun-20003 KiB9922

round_cap.cH A D03-May-20226.3 KiB212128

segment.cH A D03-May-202212.2 KiB437295

segment.hH A D18-Mar-20036 KiB143104

texgen.cH A D03-May-202212.8 KiB474329

tube_gc.hH A D18-Mar-20033.3 KiB9952

urotate.cH A D12-Jun-20005.4 KiB18663

view.cH A D18-Mar-20038.6 KiB287131

vvector.hH A D18-Nov-200136.3 KiB1,346864

README.gutil

1
2Note to users:  turning backfacing culling on may improve performance;
3will make no visual difference when join style is CAP.
4
5-------------------------------------------------------------------
6
7Work left to be done:
8---------------------
9
101) cylnder/cone tesselation should be adaptive ...
112) round-join tessleation should be adaptive.
12
134) Need to interpolate normal vectors for fillet triangles.  Not doing
14   this results in visual artifacts in certain cases.
15
165) Need to interpolate colors for fillet triangles (not doing this
17   leaves potential for visual artifacts, although I haven't yet seen
18   any.)
19
206) allow user to install callbacks for V3F, etc (similar to callbacks in
21   gluTess).
22
237) given i, j point, return actual x,y,z, coords.
24
2510) Some end-caps are concave ... OpenGL GLU utilioty does a sloppy job
26    of concave polygons ... so some of the figures look bad. What to do
27    about this?
28
2911) The ex_raw.c module would probably execute ()some tens of cycles)
30    faster if it had a ex_angle type interface for the normal vector gorp.
31
3213) Testing problem -- I'm worried that contours with only two points will
33    croak the "cut_join" style code.  Be sure to test this.
34
3517) polycone raw endcaps are flashing colors -- some kind of bug.
36
3718) Write the @#$%^&*( documentation.
38
39-------------------------------------------------------------------
40
41FIXED:
42------
43
443) round join style not doing backfacing properly at this moment.
45   FIXED 3 June 1993
46
479) extrusions with more than 64 vertices in the contour may overflow the
48   hardware ... our bgn...end constructs may have to check for such cases
49   ... (for h/w with the 256 vertex limit only).
50
51   A: Punt. Most hardware today doesn't have this limit anymore.
52
5312) Another significant optimization that can be performed is to convert
54   many of the routines to work along z-axis only.  One reason this was
55   not done right off the bat was for readability and maintainability.
56   However, once the code becomes stable, this may be a good idea.
57   (What I mean here is that many routines, such as "intersect()" and
58   "CUTTING_PLANE()" perform operations on x and y coordinates.  These are
59   needed for a GENERAL "intersect()" routine; however, the way that they
60   are used below does not require that generality (since all of the
61   drawing occurs parallel to the z-axis).  With a little bit of careful
62   thought, the x and y computations could be ripped out).
63
64   A: But this will not work if there are twists in the contour, since
65      now, extrusions do NOT run parallel to z-axis, and the x,y
66      coordinates are non-trivial.
67
6814) Q: convert extrude.c to work in a bgn/end style of collecting up data?
69       (how to handle 2x3 affine matricies in the bgn/end style?)
70    A: Don't do it.  It would make it hard to deal with the per-vertex
71       affine matrices.  A much better idea is to implement a C++ object
72       which has a begin-end interface for each poly extrusion object.
73
7415) convert to OpenGL
75    Done. However, see note 10 above.
76
7716) add texture demos that demo the texutre hack.
78
79-------------------------------------------------------------------
80