/[gzz]/gzz/gfx/liblines/liblines-plan.txt
ViewVC logotype

Diff of /gzz/gfx/liblines/liblines-plan.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mudyc, Mon Dec 16 15:28:37 2002 UTC revision 1.3 by mudyc, Wed Dec 18 16:16:51 2002 UTC
# Line 5  Line 5 
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    
# Line 42  Ok, let's start with ascii graphic about Line 49  Ok, let's start with ascii graphic about
49    
50                                                                                                        
51    
52  A one possible solution:  A one possible solution - Bevel:
53   -add one quad   -add one quad
54        
55                       /---------------------                             /---------------------      
# Line 65  A one possible solution: Line 72  A one possible solution:
72    
73                                                                        
74    
75  Another solution:  Another solution - Miter:
76  -interpolation/extrapolation with vertex length.  -interpolation/extrapolation with vertex length.
77    
78                                                                                                        
# Line 90  Another solution: Line 97  Another solution:
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                                                                                                        
# Line 130  Yet another one: Line 137  Yet another one:
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.
# Line 139  Bewels must know how many textures might Line 192  Bewels must know how many textures might
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    
# Line 162  For example normal button texture? Line 215  For example normal button texture?
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

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26