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

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

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

revision 669, Wed Mar 23 13:39:30 2011 UTC revision 765, Thu Apr 7 20:24:10 2011 UTC
# Line 42  Line 42 
42                  real opac =                  real opac =
43                          1.0 if (val > valOpacMax)                          1.0 if (val > valOpacMax)
44                          else (val - valOpacMin)/(valOpacMax - valOpacMin);                          else (val - valOpacMin)/(valOpacMax - valOpacMin);
45                  gray = gray + transp*opac*max(0.0, dot(-dir,norm));                  gray = gray + transp*opac*max(0.0, -dir • norm);
46                  transp = transp*(1.0 - opac);                  transp = transp*(1.0 - opac);
47              }              }
48          }          }

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

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