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 778, Thu Apr 7 22:09:34 2011 UTC revision 779, Thu Apr 7 22:38:07 2011 UTC
# Line 77  Line 77 
77            // ##########  END  per-sample code            // ##########  END  per-sample code
78         }         }
79         if (transp < 0.01) {  // early ray termination         if (transp < 0.01) {  // early ray termination
80            rgba = [gray, gray, gray, 1.0];            transp = 0.0;
81              // HEY (BUG) stabilize function not working
82              // setting rgba should be done there
83              rgba = [gray, gray, gray, 1.0-transp];
84            stabilize;            stabilize;
85         }         }
86         if (rayN > camVspFar) {         if (rayN > camVspFar) {
87              // HEY (BUG) (same as above)
88            rgba = [gray, gray, gray, 1.0-transp];            rgba = [gray, gray, gray, 1.0-transp];
89            stabilize;            stabilize;
90         }         }
91         rayN = rayN + rayStep;         rayN = rayN + rayStep;
92      }      }
93    
94        stabilize {
95    //       rgba = [gray, gray, gray, 1.0-transp];
96        }
97    
98      /* render: output maxval */      /* render: output maxval */
99  }  }
100    

Legend:
Removed from v.778  
changed lines
  Added in v.779

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