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

SCM Repository

[diderot] Diff of /branches/vis12/test/vr-lite.diderot
ViewVC logotype

Diff of /branches/vis12/test/vr-lite.diderot

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

revision 1685, Sun Jan 22 15:23:36 2012 UTC revision 1714, Sat Mar 10 00:00:50 2012 UTC
# Line 4  Line 4 
4  // opacity function that varies linearly between two values  // opacity function that varies linearly between two values
5  //  //
6    
 input string dataFile;          // name of dataset  
7  input real stepSz = 0.1;        // size of steps  input real stepSz = 0.1;        // size of steps
8  input vec3 eye;                 // location of eye point  input vec3 eye;                 // location of eye point
9  input vec3 orig;                // location of pixel (0,0)  input vec3 orig;                // location of pixel (0,0)
# Line 17  Line 16 
16  // vfrhand-nohip.nhdr, for skin: 200, 500  // vfrhand-nohip.nhdr, for skin: 200, 500
17  // vfrhand-nohip.nhdr, for bone: 1330, 1630  // vfrhand-nohip.nhdr, for bone: 1330, 1630
18    
19  image(3)[] img = load (dataFile);  input image(3)[] img = image("../data/vfrhand-nohip.nhdr");
20    
 //field#1(3)[] F = convolve (bspln3, img);  
21  field#2(3)[] F = img ⊛ bspln3;  field#2(3)[] F = img ⊛ bspln3;
22    
23  strand RayCast (int row, int col)  strand RayCast (int row, int col)

Legend:
Removed from v.1685  
changed lines
  Added in v.1714

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