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

SCM Repository

[diderot] Diff of /branches/lamont/test/vr-lite.diderot
ViewVC logotype

Diff of /branches/lamont/test/vr-lite.diderot

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

revision 309, Tue Aug 17 18:35:35 2010 UTC revision 312, Tue Aug 17 19:28:52 2010 UTC
# Line 41  Line 41 
41                  } else {                  } else {
42                     opac = (val - valOpacMin)/(valOpacMax - valOpacMin);                     opac = (val - valOpacMin)/(valOpacMax - valOpacMin);
43                  }                  }
44                  gray = gray + transp*opac*max(0, dot(-dir,norm));                  gray = gray + transp*opac*max(0.0, dot(-dir,norm));
45                  transp = transp*(1.0 - opac);                  transp = transp*(1.0 - opac);
46              }              }
47          }          }

Legend:
Removed from v.309  
changed lines
  Added in v.312

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