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 1302, Fri Jun 10 00:00:05 2011 UTC revision 1303, Fri Jun 10 21:39:54 2011 UTC
# Line 59  Line 59 
59            // uncaught exception Fail [Fail: bogus field binding F027D = RHS(_t0277)]            // uncaught exception Fail [Fail: bogus field binding F027D = RHS(_t0277)]
60            //  raised at high-il/high-opt.sml:74.18-76.11            //  raised at high-il/high-opt.sml:74.18-76.11
61            field#1(3)[] F = Fc0 if (myui + myvi < imgResU) else Fc1;            field#1(3)[] F = Fc0 if (myui + myvi < imgResU) else Fc1;
62            real val = F@rayPos;            real val = F(rayPos);
63            vec3 norm = normalize(-∇F@rayPos);            vec3 norm = normalize(-∇F(rayPos));
64            if (val > valOpacMin) {  // we have some opacity            if (val > valOpacMin) {  // we have some opacity
65                real opac = min(1.0, lerp(0.0, 1.0, valOpacMin, val, valOpacMax));                real opac = min(1.0, lerp(0.0, 1.0, valOpacMin, val, valOpacMax));
66                real ld = lightDir • norm;                real ld = lightDir • norm;

Legend:
Removed from v.1302  
changed lines
  Added in v.1303

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