1gleSuperExtrusion(3GLE)               GLE              gleSuperExtrusion(3GLE)
2
3
4

NAME

6       gleSuperExtrusion  -  Extrude  arbitrary  2D contour along arbitrary 3D
7       path, specifying local affine transformations.
8

SYNTAX

10       void gleSuperExtrusion (int ncp,
11                       gleDouble contour[][2],
12                       gleDouble cont_normal[][2],
13                       gleDouble up[3],
14                       int npoints,
15                       gleDouble point_array[][3],
16                       float color_array[][3],
17                 gleDouble xform_array[][2][3]);
18

ARGUMENTS

20       ncp       number of contour points
21
22       contour   2D contour
23
24       cont_normal
25                 2D contour normals
26
27       up        up vector for contour
28
29       npoints   numpoints in poly-line
30
31       point_array
32                 polyline vertices
33
34       color_array
35                 colors at polyline verts
36
37       xform_array
38                 2D contour affine transforms
39

DESCRIPTION

41       Extrude arbitrary 2D contour along arbitrary 3D path, specifying  local
42       affine  transformations. As the contour is extruded, the affine will be
43       applied to the points in the contour.
44
45       The argument "contour" specifies the 2D contour to be  extruded,  while
46       the  argument  "point_array" specifies the path along which to extrude.
47       The vector "up" defines the orientation of the contour y-axis  in  real
48       3D space.
49
50       Note that neither the very first segment, nor the very last segment are
51       drawn. The first and last segments serve only to define  the  angle  of
52       the  join  at the very ends of the polyline. Thus, to draw one segment,
53       three must be specified. To draw two segments, four must be  specified,
54       etc.
55
56       The  normal  array  may  be  NULL. If it is, normal vectors will NOT be
57       automatically generated, and the object will look terrible when lit.
58
59       The color array may be NULL. If NULL, the current color is used. If not
60       NULL,  the  glColor3f()  routine  is  used to set the color; therefore,
61       specifying the glColorMaterial() subroutine before this  primitive  can
62       be used to set diffuse, specular, ambient, etc. colors.
63
64

SEE ALSO

66       gleExtrusion, gleTwistExtrusion
67

AUTHOR

69       Linas Vepstas (linas@linas.org)
70
71
72
73GLE                                   3.0              gleSuperExtrusion(3GLE)
Impressum