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

SCM Repository

[diderot] Diff of /branches/pure-cfg/test/vr-kcomp.diderot
ViewVC logotype

Diff of /branches/pure-cfg/test/vr-kcomp.diderot

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

revision 1020, Sun May 1 15:25:17 2011 UTC revision 1021, Sun May 1 15:26:58 2011 UTC
# Line 44  Line 44 
44      // ########## BEGIN per-ray initialization      // ########## BEGIN per-ray initialization
45      real transp = 1.0;      real transp = 1.0;
46      real gray = 0.0;      real gray = 0.0;
     int myui = ui;  
     int myvi = vi;  
47      output vec4 rgba = [0.0, 0.0, 0.0, 0.0];      output vec4 rgba = [0.0, 0.0, 0.0, 0.0];
48      // ##########  END  per-ray initialization      // ##########  END  per-ray initialization
49    
# Line 58  Line 56 
56            vec3 norm = [0.0,0.0,0.0];            vec3 norm = [0.0,0.0,0.0];
57            // HEY (scoping BUG): the strand parameters (e.g. ui, vi) can't            // HEY (scoping BUG): the strand parameters (e.g. ui, vi) can't
58            // appear in conditional below "if (ui + vi < imgResU)"            // appear in conditional below "if (ui + vi < imgResU)"
59            if (myui + myvi < imgResU) {            if (ui + vi < imgResU) {
60               val = Fc0@rayPos;               val = Fc0@rayPos;
61               norm = normalize(-∇Fc0@rayPos);               norm = normalize(-∇Fc0@rayPos);
62            } else {            } else {

Legend:
Removed from v.1020  
changed lines
  Added in v.1021

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