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

SCM Repository

[diderot] Diff of /benchmarks/programs/vr-lite-cam/bmark-diderot.diderot
ViewVC logotype

Diff of /benchmarks/programs/vr-lite-cam/bmark-diderot.diderot

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

revision 1602, Thu Nov 3 15:11:02 2011 UTC revision 1604, Thu Nov 3 21:01:37 2011 UTC
# Line 61  Line 61 
61                 real alpha = min(1.0, lerp(0.0, 1.0, valOpacMin, val, valOpacMax));                 real alpha = min(1.0, lerp(0.0, 1.0, valOpacMin, val, valOpacMax));
62                 real ld = max(0.0, norm • lightDir);                 real ld = max(0.0, norm • lightDir);
63                 real hd = max(0.0, norm • normalize(lightDir + toEye));                 real hd = max(0.0, norm • normalize(lightDir + toEye));
                // GLK not sure why this line is here  
                // real mat = lerp(0.2, 1.0, 1.0, rayPos[0], 8.0);  
64                 real pnt = phongKa                 real pnt = phongKa
65                            + phongKd * ld                            + phongKd * ld
66                            + phongKs * hd^phongSp;                            + phongKs * hd^phongSp;

Legend:
Removed from v.1602  
changed lines
  Added in v.1604

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