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

SCM Repository

[diderot] Diff of /branches/vis15/src/tests/glk-tests/new/illust-vr.diderot
ViewVC logotype

Diff of /branches/vis15/src/tests/glk-tests/new/illust-vr.diderot

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

revision 4496, Sat Sep 3 13:52:11 2016 UTC revision 4497, Sat Sep 3 14:12:36 2016 UTC
# Line 1  Line 1 
1    #version 2
2    
3  // illust-vr  // illust-vr
4  //  //
5  // Demonstration of "illustrative volume rendering"  // Demonstration of "illustrative volume rendering"
# Line 5  Line 7 
7  // process output with:  // process output with:
8  // unu reshape -i illust-vr.txt -s 4 640 480 | overrgb -i - -b 0.1 0.15 0.2 -g 1.2 -o - | unu quantize -b 8 -min 0 -max 255  -o illust-vr.png  // unu reshape -i illust-vr.txt -s 4 640 480 | overrgb -i - -b 0.1 0.15 0.2 -g 1.2 -o - | unu quantize -b 8 -min 0 -max 255  -o illust-vr.png
9    
10  //field#2(3)[] F = bspln3 ⊛ image("../data/vfrhand-nohip.nhdr");  //field#2(3)[] F = bspln3 ⊛ load_image("../data/vfrhand-nohip.nhdr");
11  field#2(3)[] F = bspln3 ⊛ image("../data/vfrhand-nohip-smooth.nrrd");  field#2(3)[] F = bspln3 ⊛ load_image("../data/vfrhand-nohip-smooth.nrrd");
12    
13  field#0(1)[] silho = tent ⊛ image("../data/txf/silho.nrrd");  field#0(1)[] silho = tent ⊛ load_image("../data/txf/silho.nrrd");
14  field#0(1)[] shade = tent ⊛ image("../data/txf/shade.nrrd");  field#0(1)[] shade = tent ⊛ load_image("../data/txf/shade.nrrd");
15  field#0(2)[] rival = tent ⊛ image("../data/txf/ridgvall.nrrd");  field#0(2)[] rival = tent ⊛ load_image("../data/txf/ridgvall.nrrd");
16  field#0(2)[] alpha = tent ⊛ image("../data/txf/alpha-bone.nrrd"); // image("../data/txf/alpha-skin.nrrd");  field#0(2)[] alpha = tent ⊛ load_image("../data/txf/alpha-bone.nrrd"); // image("../data/txf/alpha-skin.nrrd");
17  field#0(1)[3] depth = tent ⊛ image("../data/txf/depth.nrrd");  field#0(1)[3] depth = tent ⊛ load_image("../data/txf/depth.nrrd");
18    
19  bool useShade = true; // simple shading  bool useShade = true; // simple shading
20  bool useDepth = true; // depth-cue with warm-to-cool colormap  bool useDepth = true; // depth-cue with warm-to-cool colormap
# Line 114  Line 116 
116      }      }
117  }  }
118    
119  grid(2) { RayCast(ui, vi) | vi in 0..(imgResV-1), ui in 0..(imgResU-1) }  create_array { RayCast(ui, vi) | vi in 0..(imgResV-1), ui in 0..(imgResU-1) }

Legend:
Removed from v.4496  
changed lines
  Added in v.4497

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