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 706, Tue Mar 29 20:20:38 2011 UTC revision 765, Thu Apr 7 20:24:10 2011 UTC
# Line 86  Line 86 
86            // ########## BEGIN per-sample code            // ########## BEGIN per-sample code
87            real val = F@rayPos;            real val = F@rayPos;
88            vec3 grad = ∇F@rayPos;            vec3 grad = ∇F@rayPos;
89            vec3 norm = -∇F@rayPos/|∇F@rayPos|;  //          vec3 norm = -∇F@rayPos/|∇F@rayPos|;
90              vec3 norm = normalize(-∇F@rayPos);
91            if (val > valOpacMin) {  // we have some opacity            if (val > valOpacMin) {  // we have some opacity
92                real opac =                real opac =
93                   1.0 if (val > valOpacMax)                   1.0 if (val > valOpacMax)

Legend:
Removed from v.706  
changed lines
  Added in v.765

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