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

SCM Repository

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

Diff of /branches/pure-cfg/test/vr-curv-quad.diderot

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

revision 1527, Fri Oct 14 13:55:27 2011 UTC revision 1528, Fri Oct 14 15:47:35 2011 UTC
# Line 84  Line 84 
84         }         }
85         if (rayTransp < 0.01) {  // early ray termination         if (rayTransp < 0.01) {  // early ray termination
86            rayTransp = 0.0;            rayTransp = 0.0;
           outRGBA = [rayRGB[0], rayRGB[1], rayRGB[2], 1.0 - rayTransp];  
87            stabilize;            stabilize;
88         }         }
89         if (rayN > camVspFar) {         if (rayN > camVspFar) {
           outRGBA = [rayRGB[0], rayRGB[1], rayRGB[2], 1.0 - rayTransp];  
90            stabilize;            stabilize;
91         }         }
92         rayN = rayN + rayStep;         rayN = rayN + rayStep;
93      }      }
94    
95        stabilize {
96           outRGBA = [rayRGB[0], rayRGB[1], rayRGB[2], 1.0 - rayTransp];
97        }
98    
99      /* render: output maxval */      /* render: output maxval */
100  }  }
101    

Legend:
Removed from v.1527  
changed lines
  Added in v.1528

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