5 |
* 2002-12-16T15:48 |
* 2002-12-16T15:48 |
6 |
*/ |
*/ |
7 |
|
|
8 |
|
Update: Bewels got dropped out because of complexivity. |
9 |
|
Too much other geometry things. |
10 |
|
|
11 |
|
|
12 |
|
http://mardiweb.com/web/psp7/tools/draw/draw.htm |
13 |
|
|
14 |
|
|
15 |
This is a plain plan file. |
This is a plain plan file. |
16 |
Constructed for clarify things under the topics: |
Constructed for clarify things under the topics: |
17 |
-simple line |
-simple line |
18 |
-continuous line |
-continuous line |
|
-bewels |
|
|
|
|
|
-diceing? |
|
19 |
|
|
20 |
Affects: |
Affects: |
21 |
-texture(s) |
-texture(s) |
22 |
-diceing |
-clampping |
23 |
|
|
24 |
|
Some interface planning. |
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
A one possible solution: |
A one possible solution - Bevel: |
53 |
-add one quad |
-add one quad |
54 |
|
|
55 |
/--------------------- |
/--------------------- |
72 |
|
|
73 |
|
|
74 |
|
|
75 |
Another solution: |
Another solution - Miter: |
76 |
-interpolation/extrapolation with vertex length. |
-interpolation/extrapolation with vertex length. |
77 |
|
|
78 |
|
|
97 |
when extrapolation get going and going... |
when extrapolation get going and going... |
98 |
|
|
99 |
|
|
100 |
Yet another one: |
Yet another one - Round: |
101 |
-Add slice/sector of circle texture. |
-Add slice/sector of circle texture. |
102 |
-bewls would be very pleased with this kind of corners. |
-bewes would be very pleased with this kind of corners. |
103 |
|
|
104 |
|
|
105 |
|
|
137 |
|
|
138 |
//-------------------------------------------------- |
//-------------------------------------------------- |
139 |
|
|
140 |
|
|
141 |
|
Interfaces |
142 |
|
---------- |
143 |
|
|
144 |
|
C++: |
145 |
|
|
146 |
|
constructor(float linewidth); |
147 |
|
|
148 |
|
Simple line: |
149 |
|
-almoust done |
150 |
|
|
151 |
|
-Create one instance |
152 |
|
-set texture |
153 |
|
-make some lines. |
154 |
|
-any comments? |
155 |
|
|
156 |
|
|
157 |
|
Continuous lines: |
158 |
|
-Create an instance |
159 |
|
-set texture |
160 |
|
-select a corner behaviour |
161 |
|
-add points |
162 |
|
-draw (at least in destructor) |
163 |
|
-close_chain() can be used to connect last to the first point. |
164 |
|
|
165 |
|
|
166 |
|
Java: |
167 |
|
SimpleLineVob(float linewidth, float[] a_and_b); |
168 |
|
ContinuousLineVob |
169 |
|
|
170 |
|
int point_count = 17; |
171 |
|
float points[] = new float[points_count]; |
172 |
|
|
173 |
|
// set points... |
174 |
|
for(...); |
175 |
|
|
176 |
|
|
177 |
|
|
178 |
|
|
179 |
|
|
180 |
|
|
181 |
|
|
182 |
|
//-------------------------------------------------- |
183 |
|
|
184 |
|
DROPPED OUT! |
185 |
|
|
186 |
2) How continuous lines affect to bewels? |
2) How continuous lines affect to bewels? |
187 |
|
|
188 |
Continuous lines can be used to create bewels. |
Continuous lines can be used to create bewels. |
192 |
|
|
193 |
How textures' color is made? |
How textures' color is made? |
194 |
1) By setting glColor before drawing with ALPHA texture |
1) By setting glColor before drawing with ALPHA texture |
195 |
Extremely must and nice to have :) |
Extremely nice to have :) |
196 |
|
|
197 |
2) By different textures - must for inner/outer slide. |
2) By different textures - must for inner/outer slide. |
198 |
|
|
215 |
|
|
216 |
|
|
217 |
|
|
|
Interfaces |
|
|
---------- |
|
|
|
|
|
constructor(float linewidth); |
|
|
|
|
|
Simple line: |
|
|
-almoust done |
|
|
|
|
|
-Create one instance |
|
|
-set texture |
|
|
-make some lines. |
|
|
-any comments? |
|
|
|
|
|
|
|
|
Continuous lines: |
|
|
-Create an instance |
|
|
-set texture |
|
|
-select a corner behaviour |
|
|
-add points |
|
|
-draw (at least in destructor) |
|
|
-close_chain() can be used to connect last to the first point. |
|
|
|
|
|
|
|
218 |
Bewels: |
Bewels: |
219 |
-simple alpha textured: |
-simple alpha textured: |
220 |
-inherit from continuous lines |
-inherit from continuous lines |