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

SCM Repository

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

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

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

revision 151, Fri Jul 9 08:48:57 2010 UTC revision 163, Tue Jul 20 18:55:32 2010 UTC
# Line 25  Line 25 
25      vec3 pos = orig + real(row)*rVec + real(col)*cVec;      vec3 pos = orig + real(row)*rVec + real(col)*cVec;
26      vec3 dir = (pos - eye)/|pos - eye|;      vec3 dir = (pos - eye)/|pos - eye|;
27      real t = 0.0;      real t = 0.0;
28      real maxval = -inf;      output real maxval = -inf;
29    
30      update      update
31      {      {
32          vec3 pt = pos + t*dir;          pos = pos + stepSz*dir;
33          real val = F@pt;          real val = F@pos;
34          maxval = max(val, maxval);          maxval = max(val, maxval);
35          if (t > 20)          if (t > 20.0)
36              stabilize;              stabilize;
37          t = t + stepSz;          t = t + stepSz;
38      }      }

Legend:
Removed from v.151  
changed lines
  Added in v.163

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