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

SCM Repository

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

Diff of /branches/pure-cfg/test/vr-curv-quad.diderot

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

revision 1062, Tue May 3 17:52:11 2011 UTC revision 1065, Tue May 3 18:05:22 2011 UTC
# Line 67  Line 67 
67                // finished curvature computation; begin finding sample RGBA                // finished curvature computation; begin finding sample RGBA
68                k1 = max(-1.0, min(1.0, 4.2*k1));                k1 = max(-1.0, min(1.0, 4.2*k1));
69                k2 = max(-1.0, min(1.0, 4.2*k2));                k2 = max(-1.0, min(1.0, 4.2*k2));
70                vec3 matRGB = RGB([k1,k2]) if inside([k1,k2],RGB)                vec3 matRGB = RGB([k1,k2]);
                             else [1.0,0.0,1.0];  
71                real alpha = min(1.0, lerp(0.0, 1.0,                real alpha = min(1.0, lerp(0.0, 1.0,
72                                           valOpacMin, val, valOpacMax));                                           valOpacMin, val, valOpacMax));
73                real ld = max(0.0, norm • lightDir);                real ld = max(0.0, norm • lightDir);

Legend:
Removed from v.1062  
changed lines
  Added in v.1065

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