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

SCM Repository

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

Diff of /branches/pure-cfg/test/vr-lite-cam.diderot

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

revision 790, Fri Apr 8 09:45:11 2011 UTC revision 827, Sat Apr 16 00:40:34 2011 UTC
# Line 89  Line 89 
89                real hd = norm • normalize(lightDir + normalize(camEye - rayPos));                real hd = norm • normalize(lightDir + normalize(camEye - rayPos));
90                real mat = (  phongKa                real mat = (  phongKa
91                            + phongKd*(ld if ld > 0.0 else 0.0)                            + phongKd*(ld if ld > 0.0 else 0.0)
92                            + phongKs*(pow(hd, phongSp) if hd > 0.0 else 0.0));                            + phongKs*(hd^phongSp if hd > 0.0 else 0.0));
93                gray = gray + transp*opac*mat;                gray = gray + transp*opac*mat;
94                transp = transp*(1.0 - opac);                transp = transp*(1.0 - opac);
95            }            }

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

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