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 793, Fri Apr 8 21:52:10 2011 UTC revision 827, Sat Apr 16 00:40:34 2011 UTC
# Line 66  Line 66 
66                real hd = norm • normalize(lightDir + normalize(camEye - rayPos));                real hd = norm • normalize(lightDir + normalize(camEye - rayPos));
67                real mat = (  phongKa                real mat = (  phongKa
68                            + phongKd*(ld if ld > 0.0 else 0.0)                            + phongKd*(ld if ld > 0.0 else 0.0)
69                            + phongKs*(pow(hd, phongSp) if hd > 0.0 else 0.0));                            + phongKs*(hd^phongSp if hd > 0.0 else 0.0));
70                gray = gray + transp*opac*mat;                gray = gray + transp*opac*mat;
71                transp = transp*(1.0 - opac);                transp = transp*(1.0 - opac);
72            }            }

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

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