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.diderot
ViewVC logotype

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

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

revision 1015, Fri Apr 29 19:57:56 2011 UTC revision 1016, Fri Apr 29 21:59:23 2011 UTC
# Line 58  Line 58 
58         vec3 pos = camEye + rayN*rayVec;         vec3 pos = camEye + rayN*rayVec;
59         if (inside (pos,F)) {         if (inside (pos,F)) {
60            real val = F(pos);            real val = F(pos);
61              if (val > valOpacMin) {  // we have some opacity
62            vec3 grad = -∇F(pos);            vec3 grad = -∇F(pos);
63            vec3 norm = normalize(grad);            vec3 norm = normalize(grad);
           if (val > valOpacMin) {  // we have some opacity  
64                // begin curvature computation                // begin curvature computation
65                tensor[3,3] H = -∇(∇F)(pos);                tensor[3,3] H = -∇(∇F)(pos);
66                tensor[3,3] P = identity[3] - norm⊗norm;                tensor[3,3] P = identity[3] - norm⊗norm;

Legend:
Removed from v.1015  
changed lines
  Added in v.1016

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