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

SCM Repository

[diderot] Diff of /branches/pure-cfg/test/zslice2.diderot
ViewVC logotype

Diff of /branches/pure-cfg/test/zslice2.diderot

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

revision 777, Thu Apr 7 21:56:59 2011 UTC revision 1022, Sun May 1 15:36:23 2011 UTC
# Line 1  Line 1 
1  // zslice2  // zslice2
2    //
3    // process output with:
4    //unu reshape -i mip.txt -s 200 200 | unu 2op exists - 0.1 | unu quantize -b 8 -o zslice2.png
5    
6  int dataSize = 11;  int dataSize = 11;
7  int imgSize = 200;  int imgSize = 200;
8  vec3 orig = [0.0, 0.0, 5.0];  vec3 orig = [0.0, 0.0, 5.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];
 // HEY (bug), next line causes:  
 //  uncaught exception Fail [Fail: Error in compiling zslice2.diderot]  
 //  raised at driver/main.sml:31.39-31.76  
 // 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  
11    
12  image(3)[] img = load("../data/zimg112.nrrd");  image(3)[] img = load("../data/zimg112.nrrd");
13  // HEY (bug) bspln5 leads to problems:  // HEY (bug) bspln5 leads to problems:

Legend:
Removed from v.777  
changed lines
  Added in v.1022

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