Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/pure-cfg/TODO
ViewVC logotype

View of /branches/pure-cfg/TODO

Parent Directory Parent Directory | Revision Log Revision Log


Revision 782 - (download) (annotate)
Thu Apr 7 23:27:39 2011 UTC (8 years, 5 months ago) by glk
File size: 3317 byte(s)
the road ahead
======================
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;

========================
SHORT TERM =============  (for curvature-based VR)
========================

Outer products
    syntax [DONE]
    typechecking
    IL and codegen

Add M dot v, v dot M, and M dot N

Identity matrix [DONE up to code generation]

determinant ("det") for tensor[3,3]

trace [DONE]

expand trace in mid to low translation

extend norm (|exp|) to all tensor types

extend normalize to all tensor types

Use ∇⊗ etc syntax
    syntax [DONE]
    typechecking
    IL and codegen

Add sequence types
    syntax
	types: ty '{' INT '}'
	value construction: '{' e1 ',' … ',' en '}'
	indexing: e '{' e '}'

IL support for higher-order tensor values (matrices, etc).
    tensor construction
    tensor indexing and slicing
    verify that hessians work correctly

Add type aliases for color types
    rgb = real{3}
    rgba = real{4}

stabilize {} code block

Decide if we want to allow redefinitions of variables
  (as in vr-lite-cam.diderot)

DONE:
  Infix dot product and cross product
  lerp on scalars and vectors

==============================
other SHORT TERM =============  (needed for LIC)
==============================

vector fields: convolution on vector images

==============================
MEDIUM TERM ================== (needed for streamlines & tractography)
==============================

ability to emit/track/record variables into dynamically re-sized
runtime buffer

evals & evecs for symmetric tensor[3,3]

tensor fields: convolution on general tensor images

==============================
other MEDIUM TERM ============ (needed for particles)
==============================

run-time birth and death of strands

"initially" supports lists

"initially" supports lists of positions output from 
different initalization Diderot program

spatial data structure that permits strands' queries of neighbors

==============================
LONG TERM ==================== 
==============================

co- vs contra- index distinction

some indication of tensor symmetry
(have to identify the group of index permutations that are symmetries)

dot works on all tensors

outer works on all tensors

Einstein summation notation

"tensor comprehension" (like list comprehension)

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