Home My Page Projects Code Snippets Project Openings diderot

# SCM Repository

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

# Diff of /branches/pure-cfg/TODO

revision 824, Thu Apr 14 15:54:24 2011 UTC revision 927, Fri Apr 22 11:40:49 2011 UTC
# Line 2  Line 2
2  SHORT TERM =============  (for curvature-based VR)  SHORT TERM =============  (for curvature-based VR)
3  ========================  ========================
4
For RGB color output of 2D transfer function (indexed by
kappa1,kappa2), or for a 1D transfer function, will need
something akin to convolution on vector images

5  IL support for higher-order tensor values (matrices, etc).  IL support for higher-order tensor values (matrices, etc).
6      tensor construction [DONE]      tensor construction [DONE]
7      tensor indexing [DONE]      tensor indexing [DONE]
8      tensor slicing      tensor slicing
9      verify that hessians work correctly      verify that hessians work correctly [DONE]
10
11  Outer products [DONE]  Outer products [DONE]
12
13  Add M dot v, v dot M, and M dot N [DONE]  Add M dot v, v dot M, and M dot N [DONE]
14
15  Identity matrix [DONE up to code generation]  Identity matrix [DONE]
16
17  Zero tensor [DONE up to code generation]  Zero tensor [DONE]
18
19  trace [DONE]  trace [DONE]
20
21  extend norm (|exp|) to tensor[3,3]  extend norm (|exp|) to tensor[3,3] [DONE]
22
23  extend implementation of scaling to work on higher-order tensors (it currently  Matrix addition, subtraction, and scaling  [DONE]
just works on vectors)
24
25  Use ∇⊗ etc. syntax  Use ∇⊗ etc. syntax
26      syntax [DONE]      syntax [DONE]
# Line 44  Line 39
39
40  Infix "^" operator for pow() [DONE]  Infix "^" operator for pow() [DONE]
41
42    Code generation support for 1D image data, such as RGBA transfer functions [DONE]
43
44  ==============================  ==============================
45  other SHORT TERM =============  (including needed for LIC)  other SHORT TERM =============  (including needed for LIC)
46  ==============================  ==============================
47
48  determinant ("det") for tensor[3,3]  test/uninit.diderot:
49    documents need for better compiler error messages when out variables
50  Decide if we want to allow redefinitions of variables  are not initialized; the current messages are very cryptic
(as in vr-lite-cam.diderot)

extend norm (|exp|) to all tensor types
51
52  extend normalize to all tensor types  determinant ("det") for tensor[3,3]
53
54  vector fields: convolution on vector images  extend norm (|exp|) to all tensor types [DONE for vectors and matrices]
55
56  expand trace in mid to low translation  expand trace in mid to low translation
57
# Line 68  Line 62
62      rgba = real{4}      rgba = real{4}
63
64  ==============================  ==============================
65  MEDIUM TERM ================== (needed for streamlines & tractography)  MEDIUM TERM ================== (including needed for streamlines & tractography)
66  ==============================  ==============================
67
68  ability to emit/track/record variables into dynamically re-sized  ability to emit/track/record variables into dynamically re-sized
# Line 78  Line 72
72
73  tensor fields: convolution on general tensor images  tensor fields: convolution on general tensor images
74
75    Use of Teem's "hest" command-line parser for getting
76    any input variables that are not defined in the source file
77
78    Save Diderot output to nrrd, instead of "mip.txt"
79      For grid of strands, save to similarly-shaped array
80      For list of strands, save to long 1-D (or 2-D for non-scalar output) list
81      For ragged things (like tractography output), will need to save both
82        complete list of values, as well as list of start indices and lengths
83        to index into complete list
84
85  ==============================  ==============================
86  other MEDIUM TERM ============ (needed for particles)  other MEDIUM TERM ============ (needed for particles)
87  ==============================  ==============================
# Line 93  Line 97
97
98  proper handling of stabilize method  proper handling of stabilize method
99
100  Add support for code like  test/vr-kcomp2.diderot: Add support for code like
101
102          (F1 if x else F2)@pos          (F1 if x else F2)@pos
103
# Line 104  Line 108
108  other MEDIUM TERM ============  other MEDIUM TERM ============
109  ==============================  ==============================
110
111  want: warnings when D (and likely I) is declared as a  want: warnings when "D" (reserved for differentiation) is declared as
112  variable name (now get confusing error messages now)  a variable name (get confusing error messages now)
113
114  support for Python interop and GUI  support for Python interop and GUI
115
# Line 113  Line 117
117  LONG TERM ====================  LONG TERM ====================
118  ==============================  ==============================
119
120  Better handling of variables that determines the scope of a variable based on its actual use,  Better handling of variables that determines the scope of a variable
121  instead of where the user defined it.  So, for example, we should lift strand-invariant variables  based on its actual use, instead of where the user defined it.  So,
122  to global scope.  Also prune out useless variables, which should include field variables after the  for example, we should lift strand-invariant variables to global
123  translation to mid-il.  scope.  Also prune out useless variables, which should include field
124    variables after the translation to mid-il.
125
126  co- vs contra- index distinction  co- vs contra- index distinction
127
# Line 141  Line 146
146  BUGS =================  BUGS =================
147  ======================  ======================
148
149    test/abexit.diderot
150            // HEY (BUG): this program can't run; this is the info from gdb (below)
151            // NOTE: if you remove the "inside" test; then it does run w/out problems
152            //   (gdb) run
153            //   Starting program: /Users/gk/diderot/diderot/pure-cfg/test/abexit
154            //   warning: posix_spawn failed, trying execvp, error: 86
155            //   Reading symbols for shared libraries ++. done
156            //   initializing globals ...
157            //
158            //   Program exited with code 01.
159            //   (gdb)
160
161  test/mip-cam.diderot:  test/mip-cam.diderot:
162      // generated C code looks like "(float)p_ui_0--0.5e0f"      // generated C code looks like "(float)p_ui_0--0.5e0f"
163      //real rayU = 2.0*camUmax*(real(ui) - -0.5)/real(imgResU) - camUmax;      //real rayU = 2.0*camUmax*(real(ui) - -0.5)/real(imgResU) - camUmax;

Legend:
 Removed from v.824 changed lines Added in v.927