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

SCM Repository

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

Diff of /trunk/test/illust-vr.diderot

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

revision 1123, Thu May 5 10:51:06 2011 UTC revision 1125, Thu May 5 11:13:07 2011 UTC
# Line 93  Line 93 
93                   real k2 = (trace(Gten) - disc)/2.0;                   real k2 = (trace(Gten) - disc)/2.0;
94                   gray = gray*rival([min(0.55, |Gten|)/0.55, atan2(k2,k1)]);                   gray = gray*rival([min(0.55, |Gten|)/0.55, atan2(k2,k1)]);
95                }                }
               // HEY (BUG): following line causes:  
               //  IL/ssa-fn.sml:489.26-489.70: Fail: setPred on NULL node NULL0091  
               //vec3 matRGB = depth(lerp(0.0, 1.0, camVspNear, rayN, camVspFar)) if useDepth else [1.0,1.0,1.0];  
96                vec3 matRGB = [1.0,1.0,1.0];                vec3 matRGB = [1.0,1.0,1.0];
97                if (useDepth) {                if (useDepth) {
98                   matRGB = depth(lerp(0.0, 1.0, camVspNear, rayN, camVspFar));                   matRGB = depth(lerp(0.0, 1.0, camVspNear, rayN, camVspFar));

Legend:
Removed from v.1123  
changed lines
  Added in v.1125

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