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

SCM Repository

[diderot] Diff of /trunk/test/vr-curv-quad.diderot
ViewVC logotype

Diff of /trunk/test/vr-curv-quad.diderot

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

revision 1640, Wed Nov 16 02:19:51 2011 UTC revision 2002, Thu Oct 4 19:14:45 2012 UTC
# Line 87  Line 87 
87         }         }
88         if (rayTransp < 0.01) {  // early ray termination         if (rayTransp < 0.01) {  // early ray termination
89            rayTransp = 0.0;            rayTransp = 0.0;
90              outRGBA = [rayRGB[0], rayRGB[1], rayRGB[2], 1.0 - rayTransp];
91            stabilize;            stabilize;
92         }         }
93         if (rayN > camVspFar) {         if (rayN > camVspFar) {
94              outRGBA = [rayRGB[0], rayRGB[1], rayRGB[2], 1.0 - rayTransp];
95            stabilize;            stabilize;
96         }         }
97         rayN = rayN + rayStep;         rayN = rayN + rayStep;
98      }      }
99    
     stabilize {  
        outRGBA = [rayRGB[0], rayRGB[1], rayRGB[2], 1.0 - rayTransp];  
     }  
100    
101      /* render: output maxval */      /* render: output maxval */
102  }  }

Legend:
Removed from v.1640  
changed lines
  Added in v.2002

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