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

SCM Repository

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

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

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

revision 219, Tue Aug 3 19:41:18 2010 UTC revision 249, Fri Aug 6 21:37:04 2010 UTC
# Line 30  Line 30 
30  image(3)[] img = load (dataFile);  image(3)[] img = load (dataFile);
31    
32  //field#1(3)[] F = convolve (bspln3, img);  //field#1(3)[] F = convolve (bspln3, img);
33  field#2(3)[] F = convolve (bspln3, img);  field#2(3)[] F = img ⊛ bspln3;
34    
35  actor RayCast (int row, int col)  actor RayCast (int row, int col)
36  {  {
37      vec3 pos = orig + real(row)*rVec + real(col)*cVec;      vec3 pos = orig + real(row)*rVec + real(col)*cVec;
38      vec3 dir = (pos - eye)/|pos - eye|;      vec3 dir = (pos - eye)/|pos - eye|;
39      real t = 0.0;      real t = 0.0;
40      output real maxval = -inf;      output real maxval = -∞;
41    
42      update      update
43      {      {

Legend:
Removed from v.219  
changed lines
  Added in v.249

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