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 900, Wed Apr 20 18:23:24 2011 UTC
# Line 2  Line 2
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  vector fields: convolution on vector images
6  kappa1,kappa2), or for a 1D transfer function, will need      (image orientation not quite working)
something akin to convolution on vector images
7
8  IL support for higher-order tensor values (matrices, etc).  IL support for higher-order tensor values (matrices, etc).
9      tensor construction [DONE]      tensor construction [DONE]
10      tensor indexing [DONE]      tensor indexing [DONE]
11      tensor slicing      tensor slicing
12      verify that hessians work correctly      verify that hessians work correctly [DONE]
13
14  Outer products [DONE]  Outer products [DONE]
15
16  Add M dot v, v dot M, and M dot N [DONE]  Add M dot v, v dot M, and M dot N [DONE]
17
18  Identity matrix [DONE up to code generation]  Identity matrix [DONE]
19
20  Zero tensor [DONE up to code generation]  Zero tensor [DONE]
21
22  trace [DONE]  trace [DONE]
23
24  extend norm (|exp|) to tensor[3,3]  extend norm (|exp|) to tensor[3,3] [DONE]
25
26  extend implementation of scaling to work on higher-order tensors (it currently  Matrix addition, subtraction, and scaling  [DONE]
just works on vectors)
27
28  Use ∇⊗ etc. syntax  Use ∇⊗ etc. syntax
29      syntax [DONE]      syntax [DONE]
# Line 44  Line 42
42
43  Infix "^" operator for pow() [DONE]  Infix "^" operator for pow() [DONE]
44
45    Code generation support for 1D image data, such as RGBA transfer functions [DONE]
46
47  ==============================  ==============================
48  other SHORT TERM =============  (including needed for LIC)  other SHORT TERM =============  (including needed for LIC)
49  ==============================  ==============================
50
51  determinant ("det") for tensor[3,3]  determinant ("det") for tensor[3,3]
52
53  Decide if we want to allow redefinitions of variables  extend norm (|exp|) to all tensor types [DONE for vectors and matrices]
(as in vr-lite-cam.diderot)

extend norm (|exp|) to all tensor types

extend normalize to all tensor types

vector fields: convolution on vector images
54
55  expand trace in mid to low translation  expand trace in mid to low translation
56
# Line 68  Line 61
61      rgba = real{4}      rgba = real{4}
62
63  ==============================  ==============================
64  MEDIUM TERM ================== (needed for streamlines & tractography)  MEDIUM TERM ================== (including needed for streamlines & tractography)
65  ==============================  ==============================
66
67  ability to emit/track/record variables into dynamically re-sized  ability to emit/track/record variables into dynamically re-sized
# Line 78  Line 71
71
72  tensor fields: convolution on general tensor images  tensor fields: convolution on general tensor images
73
74    Use of Teem's "hest" command-line parser for getting
75    any input variables that are not defined in the source file
76
77    Save Diderot output to nrrd, instead of "mip.txt"
78      For grid of strands, save to similarly-shaped array
79      For list of strands, save to long 1-D (or 2-D for non-scalar output) list
80      For ragged things (like tractography output), will need to save both
81        complete list of values, as well as list of start indices and lengths
82        to index into complete list
83
84  ==============================  ==============================
85  other MEDIUM TERM ============ (needed for particles)  other MEDIUM TERM ============ (needed for particles)
86  ==============================  ==============================
# Line 93  Line 96
96
97  proper handling of stabilize method  proper handling of stabilize method
98
99  Add support for code like  test/vr-kcomp2.diderot: Add support for code like
100
101          (F1 if x else F2)@pos          (F1 if x else F2)@pos
102
# Line 141  Line 144
144  BUGS =================  BUGS =================
145  ======================  ======================
146
147    test/abexit.diderot
148            // HEY (BUG): this program can't run; this is the info from gdb (below)
149            // NOTE: if you remove the "inside" test; then it does run w/out problems
150            //   (gdb) run
151            //   Starting program: /Users/gk/diderot/diderot/pure-cfg/test/abexit
152            //   warning: posix_spawn failed, trying execvp, error: 86
153            //   Reading symbols for shared libraries ++. done
154            //   initializing globals ...
155            //
156            //   Program exited with code 01.
157            //   (gdb)
158
159  test/mip-cam.diderot:  test/mip-cam.diderot:
160      // generated C code looks like "(float)p_ui_0--0.5e0f"      // generated C code looks like "(float)p_ui_0--0.5e0f"
161      //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.900