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

SCM Repository

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

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

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

revision 795, Sat Apr 9 14:42:49 2011 UTC revision 827, Sat Apr 16 00:40:34 2011 UTC
# Line 71  Line 71 
71                real hd = norm • normalize(lightDir + normalize(camEye - rayPos));                real hd = norm • normalize(lightDir + normalize(camEye - rayPos));
72                real mat = (  phongKa                real mat = (  phongKa
73                            + phongKd*(ld if ld > 0.0 else 0.0)                            + phongKd*(ld if ld > 0.0 else 0.0)
74                            + phongKs*(pow(hd, phongSp) if hd > 0.0 else 0.0));                            + phongKs*(hd^phongSp if hd > 0.0 else 0.0));
75                gray = gray + transp*opac*mat;                gray = gray + transp*opac*mat;
76                transp = transp*(1.0 - opac);                transp = transp*(1.0 - opac);
77            }            }

Legend:
Removed from v.795  
changed lines
  Added in v.827

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