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-cam.diderot
ViewVC logotype

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

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

revision 779, Thu Apr 7 22:38:07 2011 UTC revision 780, Thu Apr 7 22:38:42 2011 UTC
# Line 105  Line 105 
105            // ##########  END  per-sample code            // ##########  END  per-sample code
106         }         }
107         if (transp < 0.01) {  // early ray termination         if (transp < 0.01) {  // early ray termination
108            rgba = [gray, gray, gray, 1.0];             transp = 0.0;
109               rgba = [gray, gray, gray, 1.0-transp]; /* FIXME */
110            stabilize;            stabilize;
111         }         }
112         if (rayN > camVspFar) {         if (t > 40.0) {
113            rgba = [gray, gray, gray, 1.0-transp];             rgba = [gray, gray, gray, 1.0-transp]; /* FIXME */
114            stabilize;            stabilize;
115         }         }
116         rayN = rayN + rayStep;         t = t + stepSz;
117        }
118    
119        stabilize {
120    //     rgba = [gray, gray, gray, 1.0-transp];
121      }      }
122    
     /* render: output maxval */  
123  }  }
124    
125  initially [ RayCast(ui, vi) | vi in 0..(imgResV-1), ui in 0..(imgResU-1) ];  initially [ RayCast(ui, vi) | vi in 0..(imgResV-1), ui in 0..(imgResU-1) ];

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

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