Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/pure-cfg/TODO
ViewVC logotype

Diff of /branches/pure-cfg/TODO

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

revision 783, Thu Apr 7 23:44:08 2011 UTC revision 853, Tue Apr 19 16:34:55 2011 UTC
# Line 1  Line 1 
 ======================  
 BUGS =================  
 ======================  
   
 test/mip-cam.diderot:  
     // generated C code looks like "(float)p_ui_0--0.5e0f"  
     //real rayU = 2.0*camUmax*(real(ui) - -0.5)/real(imgResU) - camUmax;  
   
 test/vr-kcomp.diderot:  
     // HEY (scoping BUG): the strand parameters (e.g. ui, vi) ...  
   
 test/vr-kcomp.diderot:  
           // HEY (BUG) stabilize function not working  
           // setting rgba should be done there  
           rgba = [gray, gray, gray, 1.0-transp];  
   
 test/vr-lite-cam.diderot:  
 // HEY (BUG): these:  
 //   vec3 lightVspDir = [1.0, -0.0, 0.0];  
 //   vec3 lightVspDir = [1.0, 0.0, -0.0];  
 // work okay but this:  
 //   vec3 lightVspDir = [1.0, 0.0, 0.0]; ...  
   
 test/zslice2.diderot:  
 // but is this not valid syntax for creating field in one shot?  
 //field#2(3)[] F = (load("../data/zimg112.nrrd")) ⊛ bspln3;  
 // It is valid syntax, but there is a bug in the conversion from HighIL to MidIL  
   
 test/zslice2.diderot:  
 // HEY (bug) bspln5 leads to problems ...  
 //  uncaught exception Size [size]  
 //    raised at c-target/c-target.sml:47.15-47.19  
 //field#4(3)[] F = img ⊛ bspln5;  
   
1  ========================  ========================
2  SHORT TERM =============  (for curvature-based VR)  SHORT TERM =============  (for curvature-based VR)
3  ========================  ========================
4    
5  Outer products  For RGB color output of 2D transfer function (indexed by
6      syntax [DONE]  kappa1,kappa2), or for a 1D transfer function, will need
7      typechecking  something akin to convolution on vector images
     IL and codegen  
8    
9  Add M dot v, v dot M, and M dot N  IL support for higher-order tensor values (matrices, etc).
10        tensor construction [DONE]
11        tensor indexing [DONE]
12        tensor slicing
13        verify that hessians work correctly [DONE]
14    
15  Identity matrix [DONE up to code generation]  Outer products [DONE]
16    
17  determinant ("det") for tensor[3,3]  Add M dot v, v dot M, and M dot N [DONE]
18    
19  trace [DONE]  Identity matrix [DONE]
20    
21  expand trace in mid to low translation  Zero tensor [DONE]
22    
23  extend norm (|exp|) to all tensor types  trace [DONE]
24    
25  extend normalize to all tensor types  extend norm (|exp|) to tensor[3,3] [DONE]
26    
27    Matrix addition, subtraction, and scaling  [DONE]
28    
29  Use ∇⊗ etc syntax  Use ∇⊗ etc. syntax
30      syntax [DONE]      syntax [DONE]
31      typechecking      typechecking
32      IL and codegen      IL and codegen
# Line 66  Line 37 
37          value construction: '{' e1 ',' … ',' en '}'          value construction: '{' e1 ',' … ',' en '}'
38          indexing: e '{' e '}'          indexing: e '{' e '}'
39    
40  IL support for higher-order tensor values (matrices, etc).  Infix dot product and cross product [DONE]
     tensor construction  
     tensor indexing and slicing  
     verify that hessians work correctly  
41    
42  Add type aliases for color types  lerp on scalars and vectors [DONE]
43      rgb = real{3}  
44      rgba = real{4}  Infix "^" operator for pow() [DONE]
45    
46  stabilize {} code block  Code generation support for 1D image data, such as RGBA transfer functions
47    
48    ==============================
49    other SHORT TERM =============  (including needed for LIC)
50    ==============================
51    
52    determinant ("det") for tensor[3,3]
53    
54  Decide if we want to allow redefinitions of variables  Decide if we want to allow redefinitions of variables
55    (as in vr-lite-cam.diderot)    (as in vr-lite-cam.diderot)
56    
57  DONE:  extend norm (|exp|) to all tensor types
   Infix dot product and cross product  
   lerp on scalars and vectors  
58    
59  ==============================  extend normalize to all tensor types
60  other SHORT TERM =============  (needed for LIC)  
61  ==============================  vector fields: convolution on vector images [DONE]
62    
63    expand trace in mid to low translation
64    
65  vector fields: convolution on vector images  value-numbering optimization
66    
67    Add type aliases for color types
68        rgb = real{3}
69        rgba = real{4}
70    
71  ==============================  ==============================
72  MEDIUM TERM ================== (needed for streamlines & tractography)  MEDIUM TERM ================== (needed for streamlines & tractography)
# Line 114  Line 92 
92    
93  spatial data structure that permits strands' queries of neighbors  spatial data structure that permits strands' queries of neighbors
94    
95    proper handling of stabilize method
96    
97    Add support for code like
98    
99            (F1 if x else F2)@pos
100    
101    This will require duplication of the continuation of the conditional (but we should only
102    duplicate over the live-range of the result of the conditional.
103    
104    ==============================
105    other MEDIUM TERM ============
106    ==============================
107    
108    want: warnings when D (and likely I) is declared as a
109    variable name (now get confusing error messages now)
110    
111    support for Python interop and GUI
112    
113  ==============================  ==============================
114  LONG TERM ====================  LONG TERM ====================
115  ==============================  ==============================
116    
117    Better handling of variables that determines the scope of a variable based on its actual use,
118    instead of where the user defined it.  So, for example, we should lift strand-invariant variables
119    to global scope.  Also prune out useless variables, which should include field variables after the
120    translation to mid-il.
121    
122  co- vs contra- index distinction  co- vs contra- index distinction
123    
124  add ":" for tensor dot product (contracts out two indices  add ":" for tensor dot product (contracts out two indices
# Line 134  Line 135 
135  Einstein summation notation  Einstein summation notation
136    
137  "tensor comprehension" (like list comprehension)  "tensor comprehension" (like list comprehension)
138    
139    Python/ctypes interface to run-timez
140    
141    ======================
142    BUGS =================
143    ======================
144    
145    test/mip-cam.diderot:
146        // generated C code looks like "(float)p_ui_0--0.5e0f"
147        //real rayU = 2.0*camUmax*(real(ui) - -0.5)/real(imgResU) - camUmax;
148    
149    test/vr-kcomp.diderot:
150        // HEY (scoping BUG): the strand parameters (e.g. ui, vi) ...
151    
152    test/zslice2.diderot:
153    // but is this not valid syntax for creating field in one shot?
154    //field#2(3)[] F = (load("../data/zimg112.nrrd")) ⊛ bspln3;
155    // It is valid syntax, but there is a bug in the conversion from HighIL to MidIL
156    
157    test/zslice2.diderot:
158    // HEY (bug) bspln5 leads to problems ...
159    //  uncaught exception Size [size]
160    //    raised at c-target/c-target.sml:47.15-47.19
161    //field#4(3)[] F = img ⊛ bspln5;
162    
163    

Legend:
Removed from v.783  
changed lines
  Added in v.853

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0