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

SCM Repository

[diderot] Diff of /branches/vis12/test/vr-phong.diderot
ViewVC logotype

Diff of /branches/vis12/test/vr-phong.diderot

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

revision 54, Tue Apr 20 15:58:46 2010 UTC revision 55, Tue Apr 20 15:59:05 2010 UTC
# Line 36  Line 36 
36             real val = F@pos;             real val = F@pos;
37             vec3 grad = (D F)@pos;             vec3 grad = (D F)@pos;
38             vec3 norm = grad/|grad|;             vec3 norm = grad/|grad|;
39             vec3 half = lightDir - dir/|lightDir - dir|;             vec3 half = (lightDir - dir)/|lightDir - dir|;
40             vec4 matRGBA = txf@val;             vec4 matRGBA = txf@val;
41             vec3 matRGB = (matRGBA[0],matRGBA[1],matRGBA[2]);             vec3 matRGB = (matRGBA[0],matRGBA[1],matRGBA[2]);
42             real ldotn = dot(lightDir,norm);             real ldotn = dot(lightDir,norm);

Legend:
Removed from v.54  
changed lines
  Added in v.55

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