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

SCM Repository

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

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

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

revision 312, Tue Aug 17 19:28:52 2010 UTC revision 313, Tue Aug 17 20:38:44 2010 UTC
# Line 47  Line 47 
47          }          }
48          if (transp < 0.01) {  // early ray termination          if (transp < 0.01) {  // early ray termination
49              transp = 0.0;              transp = 0.0;
50              rgba[0] = gray; rgba[1] = gray; rgba[2] = gray;              rgba = [gray, gray, gray, 1.0-transp];
             rgba[3] = 1.0-transp;  
51              stabilize;              stabilize;
52          }          }
53          if (t > 40.0) {          if (t > 40.0) {
54              // do we have a stabilize() code block?              // do we have a stabilize() code block?
55              rgba[0] = gray; rgba[1] = gray; rgba[2] = gray;              rgba = [gray, gray, gray, 1.0-transp];
             rgba[3] = 1.0-transp;  
56              stabilize;              stabilize;
57          }          }
58          t = t + stepSz;          t = t + stepSz;

Legend:
Removed from v.312  
changed lines
  Added in v.313

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