source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/vrippack-0.31/src/march/EdgeTable @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 2.1 KB
Line 
1This file contains the triangle information for the marching cubes
2algorithm.  Note that the index is given in hex and that only 15
3entries are needed to span all 256 entries of the edge table.
4
5This listing also contains modifications for one of the ambiguous cases,
6Index = 05.
7
8
9                    p7_____e6_____p6
10                    /|            /|
11                   / |           / |
12                e10  |         e11 |
13                 /  e7         /   e5
14                /    |        /    |
15              p3______e2_____p2    |
16               |     |       |     |
17               |     |       |     |
18               |    p4____e4_|____p5
19               |    /        |    /
20              e3   /        e1   /
21               |  e8         |  e9
22               | /           | /
23               |/            |/
24              p0______e0_____p1
25         
26
27
28Index   Ntriangles     TriangleList
29-------------------------------------
3000          0
3101          1          t0 = 0 3 8
3203          2          t0 = 1 3 8
33                       t1 = 1 8 9
3405          4          t0 = 0 3 8
35                       t1 = 1 2 11
36                       t2 = 0 2 3
37                       t3 = 0 1 2
3841          2          t0 = 0 3 8
39                       t1 = 5 6 11
4032          3          t0 = 0 1 8
41                       t1 = 1 7 8
42                       t2 = 1 5 7
4343          3          t0 = 1 3 8
44                       t1 = 1 8 9
45                       t2 = 5 6 11
464A          3          t0 = 2 3 10
47                       t1 = 0 1 9
48                       t2 = 5 6 11
4933          2          t0 = 3 5 7
50                       t1 = 3 5 1
51B1          4          t0 = 3 6 10
52                       t1 = 0 3 6
53                       t2 = 0 5 6
54                       t3 = 0 5 9
5569          4          t0 = 2 8 10
56                       t1 = 2 8 0
57                       t2 = 4 11 6
58                       t3 = 4 11 9
5971          4          t0 = 0 3 7
60                       t1 = 0 7 11
61                       t2 = 6 7 11
62                       t3 = 0 9 11
633A          4          t0 = 2 3 10
64                       t1 = 0 1 8
65                       t2 = 1 7 8
66                       t3 = 1 5 7
67A5          4          t0 = 0 3 8
68                       t1 = 4 5 9
69                       t2 = 6 7 10
70                       t3 = 1 2 11
71B2          4          t0 = 0 8 10
72                       t1 = 0 5 10
73                       t2 = 5 6 10
74                       t3 = 0 1 5
75------------------------------------
Note: See TracBrowser for help on using the repository browser.