3 <title>Sweep face splitting - Sketch
</title>
4 <meta http-equiv=
"Content-Type" content=
"text/html">
5 <meta name=
"description" content=
"Sketch">
6 <meta name=
"generator" content=
"makeinfo 4.7">
7 <link title=
"Top" rel=
"start" href=
"index.html#Top">
8 <link rel=
"up" href=
"Sweeps.html#Sweeps" title=
"Sweeps">
9 <link rel=
"prev" href=
"Swept-blocks.html#Swept-blocks" title=
"Swept blocks">
10 <link href=
"http://www.gnu.org/software/texinfo/" rel=
"generator-home" title=
"Texinfo Homepage">
12 Copyright (C) 2005, 2006, 2007, 2008 Eugene K. Ressler.
14 This manual is for `sketch', version 0.2 (build 161),
15 Tuesday, September 08, 2009, a program that converts descriptions of simple
16 three-dimensional scenes into static drawings. This version generates
17 `PSTricks' or `PGF/TikZ' code suitable for use with the
18 TeX document processing system.
20 `Sketch' is free software; you can redistribute it and/or modify
21 it under the terms of the GNU General Public License as published by
22 the Free Software Foundation; either version 3, or (at your option)
25 Sketch is distributed in the hope that it will be useful,
26 but WITHOUT ANY WARRANTY; without even the implied warranty of
27 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 GNU General Public License for more details.
30 You should have received a copy of the GNU General Public License
31 along with `sketch'; see the file COPYING.txt. If not, see
32 http://www.gnu.org/copyleft.-->
33 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
34 <style type=
"text/css"><!--
35 pre
.display
{ font-family:inherit
}
36 pre
.format
{ font-family:inherit
}
37 pre
.smalldisplay
{ font-family:inherit
; font-size:smaller
}
38 pre
.smallformat
{ font-family:inherit
; font-size:smaller
}
39 pre
.smallexample
{ font-size:smaller
}
40 pre
.smalllisp
{ font-size:smaller
}
41 span
.sc
{ font-variant:small-caps
}
42 span
.roman
{ font-family: serif
; font-weight: normal
; }
48 <a name=
"Sweep-face-splitting"></a>Previous:
<a rel=
"previous" accesskey=
"p" href=
"Swept-blocks.html#Swept-blocks">Swept blocks
</a>,
49 Up:
<a rel=
"up" accesskey=
"u" href=
"Sweeps.html#Sweeps">Sweeps
</a>
53 <!-- node-name, next, previous, up -->
54 <h5 class=
"subsubsection">3.2.6.5 Sweep face splitting
</h5>
56 <p>Before sending each four-sided body polygon of a
<code>sweep
</code>
57 to the output,
<code>sketch
</code> tests to see if it is roughly planar.
58 <a name=
"index-polygon_002c-planar-323"></a><a name=
"index-planarity-of-polygons-324"></a>Since planarity is necessary for proper functioning of the hidden
59 surface algorithm,
“warped
” polygons are automatically split into
62 <p>Hole-filling polygons produced by closure-tagged
63 <a name=
"index-_003c_003e_0040r_007b_002c-closure-tag_007d-325"></a><a name=
"index-closure-tag_002c-_0040code_007b_003c_003e_007d-326"></a>line sweeps are not
64 split. Nor are original polygons in polygon sweeps. It is the user's
65 responsibility to ensure these are planar.