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 763, Thu Apr 7 19:57:56 2011 UTC revision 797, Mon Apr 11 19:01:06 2011 UTC
# Line 1  Line 1 
1    ========================
2    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
11        tensor indexing and slicing
12        verify that hessians work correctly
13    
14  Outer products  Outer products
15      syntax [DONE]      syntax [DONE]
16      typechecking      typechecking
# Line 9  Line 22 
22    
23  trace [DONE]  trace [DONE]
24    
25  expand trace in mid to low translation  extend norm (|exp|) to tensor[3,3]
   
 extend norm (|exp|) to all tensor types  
26    
27  Infix dot product and cross product [DONE]  Use ∇⊗ etc. syntax
   
 lerp on scalars and vectors [DONE]  
   
 Use ∇⊗ etc syntax  
28      syntax [DONE]      syntax [DONE]
29      typechecking      typechecking
30      IL and codegen      IL and codegen
# Line 28  Line 35 
35          value construction: '{' e1 ',' … ',' en '}'          value construction: '{' e1 ',' … ',' en '}'
36          indexing: e '{' e '}'          indexing: e '{' e '}'
37    
38  IL support for higher-order tensor values (matrices, etc).  Infix dot product and cross product [DONE]
39      tensor construction  
40      tensor indexing and slicing  lerp on scalars and vectors [DONE]
41    
42    ==============================
43    other SHORT TERM =============  (including needed for LIC)
44    ==============================
45    
46    determinant ("det") for tensor[3,3]
47    
48    Decide if we want to allow redefinitions of variables
49      (as in vr-lite-cam.diderot)
50    
51    extend norm (|exp|) to all tensor types
52    
53    extend normalize to all tensor types
54    
55    vector fields: convolution on vector images
56    
57    expand trace in mid to low translation
58    
59    value-numbering optimization
60    
61  Add type aliases for color types  Add type aliases for color types
62      rgb = real{3}      rgb = real{3}
63      rgba = real{4}      rgba = real{4}
64    
65    ==============================
66    MEDIUM TERM ================== (needed for streamlines & tractography)
67    ==============================
68    
69    ability to emit/track/record variables into dynamically re-sized
70    runtime buffer
71    
72    evals & evecs for symmetric tensor[3,3]
73    
74    tensor fields: convolution on general tensor images
75    
76    ==============================
77    other MEDIUM TERM ============ (needed for particles)
78    ==============================
79    
80    run-time birth and death of strands
81    
82    "initially" supports lists
83    
84    "initially" supports lists of positions output from
85    different initalization Diderot program
86    
87    spatial data structure that permits strands' queries of neighbors
88    
89    proper handling of stabilize method
90    
91    Add support for code like
92    
93            (F1 if x else F2)@pos
94    
95    This will require duplication of the continuation of the conditional (but we should only
96    duplicate over the live-range of the result of the conditional.
97    
98    ==============================
99    other MEDIUM TERM ============
100    ==============================
101    
102    support fog Python interop and GUI
103    
104    ==============================
105    LONG TERM ====================
106    ==============================
107    
108    Better handling of variables that determines the scope of a variable based on its actual use,
109    instead of where the user defined it.  So, for example, we should lift strand-invariant variables
110    to global scope.  Also prune out useless variables, which should include field variables after the
111    translation to mid-il.
112    
113    co- vs contra- index distinction
114    
115    add ":" for tensor dot product (contracts out two indices
116    instead of one like •), valid for all pairs of tensors with
117    at least two indices
118    
119    some indication of tensor symmetry
120    (have to identify the group of index permutations that are symmetries)
121    
122    dot works on all tensors
123    
124    outer works on all tensors
125    
126    Einstein summation notation
127    
128    "tensor comprehension" (like list comprehension)
129    
130    ======================
131    BUGS =================
132    ======================
133    
134    test/mip-cam.diderot:
135        // generated C code looks like "(float)p_ui_0--0.5e0f"
136        //real rayU = 2.0*camUmax*(real(ui) - -0.5)/real(imgResU) - camUmax;
137    
138    test/vr-kcomp.diderot:
139        // HEY (scoping BUG): the strand parameters (e.g. ui, vi) ...
140    
141    test/zslice2.diderot:
142    // but is this not valid syntax for creating field in one shot?
143    //field#2(3)[] F = (load("../data/zimg112.nrrd")) ⊛ bspln3;
144    // It is valid syntax, but there is a bug in the conversion from HighIL to MidIL
145    
146    test/zslice2.diderot:
147    // HEY (bug) bspln5 leads to problems ...
148    //  uncaught exception Size [size]
149    //    raised at c-target/c-target.sml:47.15-47.19
150    //field#4(3)[] F = img ⊛ bspln5;
151    
152    

Legend:
Removed from v.763  
changed lines
  Added in v.797

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