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

SCM Repository

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

Diff of /branches/pure-cfg/test/mip-cam.diderot

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

revision 689, Fri Mar 25 00:06:54 2011 UTC revision 690, Fri Mar 25 00:23:10 2011 UTC
# Line 57  Line 57 
57      vec3 rayDir = (camDist*camN + rayU*camU + rayV*camV)/camDist;      vec3 rayDir = (camDist*camN + rayU*camU + rayV*camV)/camDist;
58    
59      real rayN = camVspNear;      real rayN = camVspNear;
60        // ########## BEGIN per-ray initialization
61      output real maxval = 0.0;      output real maxval = 0.0;
62        // ##########  END  per-ray initialization
63    
64      update      update
65      {      {
66          vec3 rayPos = camEye + rayN*rayDir;          vec3 rayPos = camEye + rayN*rayDir;
67          if (inside (rayPos,F)) {          if (inside (rayPos,F)) {
68             // ########## BEGIN per-sample code
69            maxval = max(maxval, F@rayPos);            maxval = max(maxval, F@rayPos);
70             // ##########  END  per-sample code
71          }          }
72          if (rayN > camVspFar)          if (rayN > camVspFar)
73              stabilize;              stabilize;

Legend:
Removed from v.689  
changed lines
  Added in v.690

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