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 813, Tue Apr 12 18:02:15 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    For RGB color output of 2D transfer function (indexed by
6    kappa1,kappa2), or for a 1D transfer function, will need
7    something akin to convolution on vector images
8    
9    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
14    
15  Outer products  Outer products
16      syntax [DONE]      syntax [DONE]
17      typechecking      typechecking
18      IL and codegen      IL and codegen
19    
20  Add M dot v, v dot M, and M dot N  Add M dot v, v dot M, and M dot N [DONE]
21    
22  Identity matrix [DONE up to code generation]  Identity matrix [DONE up to code generation]
23    
 determinant ("det") for tensor[3,3]  
   
24  trace [DONE]  trace [DONE]
25    
26  expand trace in mid to low translation  extend norm (|exp|) to tensor[3,3]
   
 extend norm (|exp|) to all tensor types  
   
 extend normalize to all tensor types  
27    
28  Use ∇⊗ etc syntax  Use ∇⊗ etc. syntax
29      syntax [DONE]      syntax [DONE]
30      typechecking      typechecking
31      IL and codegen      IL and codegen
# Line 66  Line 36 
36          value construction: '{' e1 ',' … ',' en '}'          value construction: '{' e1 ',' … ',' en '}'
37          indexing: e '{' e '}'          indexing: e '{' e '}'
38    
39  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  
40    
41  Add type aliases for color types  lerp on scalars and vectors [DONE]
     rgb = real{3}  
     rgba = real{4}  
42    
43  stabilize {} code block  ==============================
44    other SHORT TERM =============  (including needed for LIC)
45    ==============================
46    
47    determinant ("det") for tensor[3,3]
48    
49  Decide if we want to allow redefinitions of variables  Decide if we want to allow redefinitions of variables
50    (as in vr-lite-cam.diderot)    (as in vr-lite-cam.diderot)
51    
52  DONE:  extend norm (|exp|) to all tensor types
   Infix dot product and cross product  
   lerp on scalars and vectors  
53    
54  ==============================  extend normalize to all tensor types
 other SHORT TERM =============  (needed for LIC)  
 ==============================  
55    
56  vector fields: convolution on vector images  vector fields: convolution on vector images
57    
58    expand trace in mid to low translation
59    
60    value-numbering optimization
61    
62    Add type aliases for color types
63        rgb = real{3}
64        rgba = real{4}
65    
66  ==============================  ==============================
67  MEDIUM TERM ================== (needed for streamlines & tractography)  MEDIUM TERM ================== (needed for streamlines & tractography)
68  ==============================  ==============================
# Line 114  Line 87 
87    
88  spatial data structure that permits strands' queries of neighbors  spatial data structure that permits strands' queries of neighbors
89    
90    proper handling of stabilize method
91    
92    Add support for code like
93    
94            (F1 if x else F2)@pos
95    
96    This will require duplication of the continuation of the conditional (but we should only
97    duplicate over the live-range of the result of the conditional.
98    
99    ==============================
100    other MEDIUM TERM ============
101    ==============================
102    
103    support fog Python interop and GUI
104    
105  ==============================  ==============================
106  LONG TERM ====================  LONG TERM ====================
107  ==============================  ==============================
108    
109    Better handling of variables that determines the scope of a variable based on its actual use,
110    instead of where the user defined it.  So, for example, we should lift strand-invariant variables
111    to global scope.  Also prune out useless variables, which should include field variables after the
112    translation to mid-il.
113    
114  co- vs contra- index distinction  co- vs contra- index distinction
115    
116  add ":" for tensor dot product (contracts out two indices  add ":" for tensor dot product (contracts out two indices
# Line 134  Line 127 
127  Einstein summation notation  Einstein summation notation
128    
129  "tensor comprehension" (like list comprehension)  "tensor comprehension" (like list comprehension)
130    
131    ======================
132    BUGS =================
133    ======================
134    
135    test/mip-cam.diderot:
136        // generated C code looks like "(float)p_ui_0--0.5e0f"
137        //real rayU = 2.0*camUmax*(real(ui) - -0.5)/real(imgResU) - camUmax;
138    
139    test/vr-kcomp.diderot:
140        // HEY (scoping BUG): the strand parameters (e.g. ui, vi) ...
141    
142    test/zslice2.diderot:
143    // but is this not valid syntax for creating field in one shot?
144    //field#2(3)[] F = (load("../data/zimg112.nrrd")) ⊛ bspln3;
145    // It is valid syntax, but there is a bug in the conversion from HighIL to MidIL
146    
147    test/zslice2.diderot:
148    // HEY (bug) bspln5 leads to problems ...
149    //  uncaught exception Size [size]
150    //    raised at c-target/c-target.sml:47.15-47.19
151    //field#4(3)[] F = img ⊛ bspln5;
152    
153    

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

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