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

SCM Repository

[diderot] Diff of /branches/ein16/test/zslice1.diderot
ViewVC logotype

Diff of /branches/ein16/test/zslice1.diderot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/test/zslice1.diderot revision 1115, Thu May 5 04:42:18 2011 UTC branches/charisee_dev/test/zslice1.diderot revision 3269, Fri Oct 9 00:54:03 2015 UTC
# Line 1  Line 1 
1  // zslice1.diderot  // zslice1.diderot
2    //unu reshape -i zslice1.txt -s 200 200 | unu 2op exists - 0.1 | unu quantize -b 8 -o zslice1.png
3    
4    
5  string dataFile = "../data/zimg.nrrd";  string dataFile = "../data/zimg.nrrd";
6  int dataSize = 9;  int dataSize = 9;
# Line 6  Line 8 
8  vec3 orig = [0.0, 0.0, 4.0];  vec3 orig = [0.0, 0.0, 4.0];
9  vec3 cVec = [0.0, 1.0, 0.0];  vec3 cVec = [0.0, 1.0, 0.0];
10  vec3 rVec = [1.0, 0.0, 0.0];  vec3 rVec = [1.0, 0.0, 0.0];
11  image(3)[] img = load (dataFile);  image(3)[] img = image (dataFile);
12  field#2(3)[] F = img ⊛ bspln3;  field#2(3)[] F = img ⊛ bspln3;
13    
14  strand RayCast (int row, int col)  strand RayCast (int row, int col)

Legend:
Removed from v.1115  
changed lines
  Added in v.3269

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