aboutsummaryrefslogtreecommitdiff
path: root/pipermail/nel/2001-December/000831.html
blob: 9547d5c3babd1797f8ccbd4765c28819f7eee995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Nel] Landscapes without 3DSMax
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:corvazier%40nevrax.com">
   <META NAME="robots" CONTENT="index,nofollow">
   
   <LINK REL="Previous"  HREF="000829.html">
   <LINK REL="Next"  HREF="000830.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Nel] Landscapes without 3DSMax
   </H1>
    <B>Cyril 'Hulud' Corvazier
    </B> 
    <A HREF="mailto:corvazier%40nevrax.com"
       TITLE="[Nel] Landscapes without 3DSMax">corvazier@nevrax.com
       </A><BR>
    <I>Wed, 19 Dec 2001 18:21:17 +0100</I>
    <P><UL>
        <LI> Previous message: <A HREF="000829.html">[Nel] Landscapes without 3DSMax
</A></li>
        <LI> Next message: <A HREF="000830.html">[Nel] Re: Nel digest, Vol 1 #207 - 4 msgs
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#831">[ date ]</a>
              <a href="thread.html#831">[ thread ]</a>
              <a href="subject.html#831">[ subject ]</a>
              <a href="author.html#831">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Hi Paul,

Forget all the ASCII parts of the 2 previous mail, here is the good way to
fill the CPatchInfo::CBindInfo structure :

---

We will assume all patches in this example are oriented like this

0      3
  ***
  *  *
  ***
1      2

---

The edge numbers are :

      3
    ***
 0 *  * 2
    ***
      1

 ---

 There is 3 ways to bind patches together. (1-1, 1-2, 1-4)

 ---

 One patch on another :

 **********
 *      *        *
 *  0  *   1   *
 *      *        *
 **********
 CBindInfo:
 Patch 0, edge 2 : NPatchs = 1, Next = { Patch 1 }, Edge = { 0 }
 Patch 1, edge 0 : NPatchs = 1, Next = { Patch 0 }, Edge = { 2 }

 ---

 Two patches on another (Bind 2)

 **********
 *      *   2   *
 *  0  ******
 *      *   1   *
 **********
 Bind info:
 Patch 0, edge 2 : NPatchs = 2,  Next = { Patch 1, Patch 2 }, Edge = { 0,
0 }
 Patch 1, edge 0 : NPatchs = 1,  Next = { Patch 0 }, Edge = { 2 }
 Patch 2, edge 0 : NPatchs = 1,  Next = { Patch 0 }, Edge = { 2 }

 ---

 4 patches on another (Bind 4)

 **********
 *      *   4   *
 *      ******
 *      *   3   *
 *  0  ******
 *      *   2   *
 *      ******
 *      *   1   *
 **********
 Patch 0, edge 2 : NPatchs = 4,  Next = { Patch 1, Patch 2, Patch 3, Patch
4 }, Edge = { 0, 0, 0, 0 }
 Patch 1, edge 0 : NPatchs = 1,  Next = { Patch 0 }, Edge = { 2 }
 Patch 2, edge 0 : NPatchs = 1,  Next = { Patch 0 }, Edge = { 2 }
 Patch 3, edge 0 : NPatchs = 1,  Next = { Patch 0 }, Edge = { 2 }
 Patch 4, edge 0 : NPatchs = 1,  Next = { Patch 0 }, Edge = { 2 }

 ---

Sorry but i have been confused by the two classes called CPatch::CBindInfo
and CPatchInfo::CBindInfo. :-)

Cyril Corvazier.




</pre>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI> Previous message: <A HREF="000829.html">[Nel] Landscapes without 3DSMax
</A></li>
	<LI> Next message: <A HREF="000830.html">[Nel] Re: Nel digest, Vol 1 #207 - 4 msgs
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#831">[ date ]</a>
              <a href="thread.html#831">[ thread ]</a>
              <a href="subject.html#831">[ subject ]</a>
              <a href="author.html#831">[ author ]</a>
         </LI>
       </UL>
</body></html>