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 943, Fri Apr 22 14:18:52 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  IL support for higher-order tensor values (matrices, etc).
6      syntax [DONE]      tensor construction [DONE]
7      typechecking      tensor indexing [DONE]
8      IL and codegen      tensor slicing
9        verify that hessians work correctly [DONE]
10    
11  Add M dot v, v dot M, and M dot N  Outer products [DONE]
12    
13  Identity matrix [DONE up to code generation]  Add M dot v, v dot M, and M dot N [DONE]
14    
15  determinant ("det") for tensor[3,3]  Identity matrix [DONE]
16    
17  trace [DONE]  Zero tensor [DONE]
18    
19  expand trace in mid to low translation  trace [DONE]
20    
21  extend norm (|exp|) to all tensor types  extend norm (|exp|) to tensor[3,3] [DONE]
22    
23  extend normalize to all tensor types  Matrix addition, subtraction, and scaling  [DONE]
24    
25  Use ∇⊗ etc syntax  Use ∇⊗ etc. syntax
26      syntax [DONE]      syntax [DONE]
27      typechecking      typechecking
28      IL and codegen      IL and codegen
# Line 66  Line 33 
33          value construction: '{' e1 ',' … ',' en '}'          value construction: '{' e1 ',' … ',' en '}'
34          indexing: e '{' e '}'          indexing: e '{' e '}'
35    
36  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  
37    
38  Add type aliases for color types  lerp on scalars and vectors [DONE]
     rgb = real{3}  
     rgba = real{4}  
39    
40  stabilize {} code block  Infix "^" operator for pow() [DONE]
41    
42  Decide if we want to allow redefinitions of variables  Code generation support for 1D image data, such as RGBA transfer functions [DONE]
   (as in vr-lite-cam.diderot)  
   
 DONE:  
   Infix dot product and cross product  
   lerp on scalars and vectors  
43    
44  ==============================  ==============================
45  other SHORT TERM =============  (needed for LIC)  other SHORT TERM =============  (including needed for LIC)
46  ==============================  ==============================
47    
48  vector fields: convolution on vector images  test/uninit.diderot:
49    documents need for better compiler error messages when output variables
50    are not initialized; the current messages are very cryptic
51    
52    determinant ("det") for tensor[3,3]
53    
54    extend norm (|exp|) to all tensor types [DONE for vectors and matrices]
55    
56    expand trace in mid to low translation
57    
58    value-numbering optimization
59    
60    Add type aliases for color types
61        rgb = real{3}
62        rgba = real{4}
63    
64  ==============================  ==============================
65  MEDIUM TERM ================== (needed for streamlines & tractography)  MEDIUM TERM ================== (including needed for streamlines & tractography)
66  ==============================  ==============================
67    
68    ability to declare a field in such a way so that probe
69    positions are *always* clamped to the support of "inside";
70    there are many cases where this is the sensible behavior
71    
72  ability to emit/track/record variables into dynamically re-sized  ability to emit/track/record variables into dynamically re-sized
73  runtime buffer  runtime buffer
74    
# Line 101  Line 76 
76    
77  tensor fields: convolution on general tensor images  tensor fields: convolution on general tensor images
78    
79    Use of Teem's "hest" command-line parser for getting
80    any input variables that are not defined in the source file
81    
82    Save Diderot output to nrrd, instead of "mip.txt"
83      For grid of strands, save to similarly-shaped array
84      For list of strands, save to long 1-D (or 2-D for non-scalar output) list
85      For ragged things (like tractography output), will need to save both
86        complete list of values, as well as list of start indices and lengths
87        to index into complete list
88    
89  ==============================  ==============================
90  other MEDIUM TERM ============ (needed for particles)  other MEDIUM TERM ============ (needed for particles)
91  ==============================  ==============================
# Line 114  Line 99 
99    
100  spatial data structure that permits strands' queries of neighbors  spatial data structure that permits strands' queries of neighbors
101    
102    proper handling of stabilize method
103    
104    test/vr-kcomp2.diderot: Add support for code like
105    
106            (F1 if x else F2)@pos
107    
108    This will require duplication of the continuation of the conditional (but we should only
109    duplicate over the live-range of the result of the conditional.
110    
111    ==============================
112    other MEDIUM TERM ============
113    ==============================
114    
115    want: warnings when "D" (reserved for differentiation) is declared as
116    a variable name (get confusing error messages now)
117    
118    support for Python interop and GUI
119    
120  ==============================  ==============================
121  LONG TERM ====================  LONG TERM ====================
122  ==============================  ==============================
123    
124    Better handling of variables that determines the scope of a variable
125    based on its actual use, instead of where the user defined it.  So,
126    for example, we should lift strand-invariant variables to global
127    scope.  Also prune out useless variables, which should include field
128    variables after the translation to mid-il.
129    
130  co- vs contra- index distinction  co- vs contra- index distinction
131    
132  add ":" for tensor dot product (contracts out two indices  add ":" for tensor dot product (contracts out two indices
# Line 134  Line 143 
143  Einstein summation notation  Einstein summation notation
144    
145  "tensor comprehension" (like list comprehension)  "tensor comprehension" (like list comprehension)
146    
147    Python/ctypes interface to run-timez
148    
149    ======================
150    BUGS =================
151    ======================
152    
153    test/norm2.diderot:
154    "normalize()" doesn't work on vec2
155    
156    test/fields.diderot:
157    documents various bugs/questions associated with field expressions
158    
159    test/mip-cam.diderot:
160        // generated C code looks like "(float)p_ui_0--0.5e0f"
161        //real rayU = 2.0*camUmax*(real(ui) - -0.5)/real(imgResU) - camUmax;
162    
163    test/vr-kcomp.diderot:
164        // HEY (scoping BUG): the strand parameters (e.g. ui, vi) ...
165    
166    test/zslice2.diderot:
167    // but is this not valid syntax for creating field in one shot?
168    //field#2(3)[] F = (load("../data/zimg112.nrrd")) ⊛ bspln3;
169    // It is valid syntax, but there is a bug in the conversion from HighIL to MidIL
170    
171    test/zslice2.diderot:
172    // HEY (bug) bspln5 leads to problems ...
173    //  uncaught exception Size [size]
174    //    raised at c-target/c-target.sml:47.15-47.19
175    //field#4(3)[] F = img ⊛ bspln5;

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

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