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

SCM Repository

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

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

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

revision 1534, Fri Oct 14 19:01:39 2011 UTC revision 1535, Fri Oct 14 20:27:48 2011 UTC
# Line 75  Line 75 
75         }         }
76         if (transp < 0.01) {  // early ray termination         if (transp < 0.01) {  // early ray termination
77            transp = 0.0;            transp = 0.0;
           // HEY (BUG) stabilize function not working  
           // setting rgba should be done there  
           rgba = [gray, gray, gray, 1.0-transp];  
78            stabilize;            stabilize;
79         }         }
80         if (rayN > camVspFar) {         if (rayN > camVspFar) {
           // HEY (BUG) (same as above)  
           rgba = [gray, gray, gray, 1.0-transp];  
81            stabilize;            stabilize;
82         }         }
83         rayN = rayN + rayStep;         rayN = rayN + rayStep;
84      }      }
85    
86      stabilize {      stabilize {
87  //       rgba = [gray, gray, gray, 1.0-transp];         rgba = [gray, gray, gray, 1.0-transp];
88      }      }
89    
90      /* render: output maxval */      /* render: output maxval */

Legend:
Removed from v.1534  
changed lines
  Added in v.1535

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